Skip to content

Commit

Permalink
swap inlined RhinoMocksToMoq for the nuget package
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Aug 16, 2024
1 parent 7a67c5a commit 2b32055
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 247 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<PackageOutputPath>$(MSBuildThisFileDirectory)/artifacts</PackageOutputPath>
<SignAssembly>true</SignAssembly>
<WarningsAsErrors>NU1605;CS8002</WarningsAsErrors>
<WarningsAsErrors>NU1605</WarningsAsErrors>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)/liblcm.snk</AssemblyOriginatorKeyFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public override void TestSetup()
Func<ICmTranslation> getBtDelegate = () =>
m_para.TranslationsOC.FirstOrDefault(trans => trans.TypeRA != null &&
trans.TypeRA.Guid == CmPossibilityTags.kguidTranBackTranslation);
m_para.Stub(p => p.GetBT()).Do(getBtDelegate);
Mock.Get(m_para).Setup(p => p.GetBT()).Returns(getBtDelegate);
}
#endregion

Expand Down
78 changes: 0 additions & 78 deletions tests/SIL.LCModel.Tests/RhinoMocksToMoq/Expect.cs

This file was deleted.

21 changes: 0 additions & 21 deletions tests/SIL.LCModel.Tests/RhinoMocksToMoq/LICENSE

This file was deleted.

39 changes: 0 additions & 39 deletions tests/SIL.LCModel.Tests/RhinoMocksToMoq/MockExtensions.cs

This file was deleted.

25 changes: 0 additions & 25 deletions tests/SIL.LCModel.Tests/RhinoMocksToMoq/MockRepository.cs

This file was deleted.

61 changes: 0 additions & 61 deletions tests/SIL.LCModel.Tests/RhinoMocksToMoq/MoqAdapter.cs

This file was deleted.

21 changes: 0 additions & 21 deletions tests/SIL.LCModel.Tests/RhinoMocksToMoq/MoqExtensions.cs

This file was deleted.

1 change: 1 addition & 0 deletions tests/SIL.LCModel.Tests/SIL.LCModel.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This package provides unit tests for SIL.LCModel.</Description>
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.2" />
<PackageReference Include="RhinoMocksToMoq" Version="0.2.0" />
<PackageReference Include="SIL.ReleaseTasks" Version="2.5.0" PrivateAssets="All" />
</ItemGroup>

Expand Down

0 comments on commit 2b32055

Please sign in to comment.