Skip to content

Commit

Permalink
Update MsTest dependency of V1 Connectors
Browse files Browse the repository at this point in the history
  • Loading branch information
gasparnagy committed Aug 29, 2024
1 parent 64967e1 commit b1dd9c9
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Data.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;

// ReSharper disable once CheckNamespace
namespace Reqnroll.VisualStudio.ReqnrollConnector.Discovery;

internal class FakeTestContext : TestContext
Expand All @@ -14,37 +15,37 @@ internal class FakeTestContext : TestContext

public override DbConnection DataConnection => throw new NotImplementedException();

public override void AddResultFile(string fileName)
public override void AddResultFile(string? fileName)
{
throw new NotImplementedException();
}

public override void BeginTimer(string timerName)
{
throw new NotImplementedException();
}
//public override void BeginTimer(string timerName)
//{
// throw new NotImplementedException();
//}

public override void EndTimer(string timerName)
{
throw new NotImplementedException();
}
//public override void EndTimer(string timerName)
//{
// throw new NotImplementedException();
//}

public override void Write(string message)
public override void Write(string? message)
{
throw new NotImplementedException();
}

public override void Write(string format, params object[] args)
public override void Write(string? format, params object?[] args)
{
throw new NotImplementedException();
}

public override void WriteLine(string message)
public override void WriteLine(string? message)
{
throw new NotImplementedException();
}

public override void WriteLine(string format, params object[] args)
public override void WriteLine(string? format, params object?[] args)
{
throw new NotImplementedException();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageReference Include="dnlib" Version="3.3.5" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Reqnroll.CustomPlugin" Version="1.0.0" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.7" />
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Data.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;

// ReSharper disable once CheckNamespace
namespace SpecFlow.VisualStudio.SpecFlowConnector.Discovery;

internal class FakeTestContext : TestContext
Expand All @@ -19,32 +20,32 @@ public override void AddResultFile(string fileName)
throw new NotImplementedException();
}

public override void BeginTimer(string timerName)
{
throw new NotImplementedException();
}
//public override void BeginTimer(string timerName)
//{
// throw new NotImplementedException();
//}

public override void EndTimer(string timerName)
{
throw new NotImplementedException();
}
//public override void EndTimer(string timerName)
//{
// throw new NotImplementedException();
//}

public override void Write(string message)
public override void Write(string? message)
{
throw new NotImplementedException();
}

public override void Write(string format, params object[] args)
public override void Write(string format, params object?[] args)
{
throw new NotImplementedException();
}

public override void WriteLine(string message)
public override void WriteLine(string? message)
{
throw new NotImplementedException();
}

public override void WriteLine(string format, params object[] args)
public override void WriteLine(string format, params object?[] args)
{
throw new NotImplementedException();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageReference Include="dnlib" Version="3.3.5" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="SpecFlow.CustomPlugin" Version="3.9.40" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.7" />
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit b1dd9c9

Please sign in to comment.