Skip to content

Commit

Permalink
Remove ClassLibrary1 and ClassLibrary2 projects
Browse files Browse the repository at this point in the history
  • Loading branch information
stakx committed Oct 14, 2017
1 parent f71a174 commit 0a26791
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 220 deletions.
23 changes: 0 additions & 23 deletions Moq.Tests/Library/ClassLibrary1/ClassLibrary1.csproj

This file was deleted.

27 changes: 0 additions & 27 deletions Moq.Tests/Library/ClassLibrary1/Foo.cs

This file was deleted.

Binary file removed Moq.Tests/Library/ClassLibrary1/Foo.snk
Binary file not shown.
36 changes: 0 additions & 36 deletions Moq.Tests/Library/ClassLibrary1/Properties/AssemblyInfo.cs

This file was deleted.

22 changes: 0 additions & 22 deletions Moq.Tests/Library/ClassLibrary2/Bar.cs

This file was deleted.

Binary file removed Moq.Tests/Library/ClassLibrary2/Bar.snk
Binary file not shown.
23 changes: 0 additions & 23 deletions Moq.Tests/Library/ClassLibrary2/ClassLibrary2.csproj

This file was deleted.

36 changes: 0 additions & 36 deletions Moq.Tests/Library/ClassLibrary2/Properties/AssemblyInfo.cs

This file was deleted.

6 changes: 0 additions & 6 deletions Moq.Tests/MockFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -897,12 +897,6 @@ public void DistinguishesSameMethodsWithDifferentGenericArguments()
Assert.Equal(3, mock.Object.Generic<string>());
}

[Fact]
public void CanCreateMockOfInternalInterface()
{
Assert.NotNull(new Mock<ClassLibrary1.IFooInternal>().Object);
}

/// <summary>
/// Mostly testing that these casts compile, but also that there are no runtime failures.
/// </summary>
Expand Down
4 changes: 1 addition & 3 deletions Moq.Tests/Moq.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
<PackageReference Include="xunit" Version="2.3.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0" />
<ProjectReference Include="..\Source\Moq.csproj" />
<ProjectReference Include="Library\ClassLibrary1\ClassLibrary1.csproj" />
<ProjectReference Include="Library\ClassLibrary2\ClassLibrary2.csproj" />
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.0" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net46' ">
Expand All @@ -40,7 +38,7 @@
</ItemGroup>

<ItemGroup>
<Compile Remove="Library\**\*.cs;Pex\**\*.cs;Properties\**\*.cs" />
<Compile Remove="Pex\**\*.cs;Properties\**\*.cs" />
</ItemGroup>

<ItemGroup>
Expand Down
23 changes: 0 additions & 23 deletions Moq.Tests/Regressions/IssueReportsFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3185,29 +3185,6 @@ private void SetupOperationStub<T>(Func<T, string> valueFunction)

#endregion

#region #273

public class _273
{
[Fact]
public void WhenMockingAnExternalInterface_ThenItWorks()
{
Assert.NotNull(new Mock<ClassLibrary1.IFoo>().Object);
Assert.NotNull(Mock.Of<ClassLibrary1.IFoo>());
Assert.NotNull(new Mock<ClassLibrary1.Foo>().Object);
Assert.NotNull(new Mock<ClassLibrary2.IBar>().Object);
Assert.NotNull(Mock.Of<ClassLibrary2.IBar>());
Assert.NotNull(new Mock<ClassLibrary2.Bar>().Object);
Assert.NotNull(new Mock<Baz>().Object);
}

public class Baz : ClassLibrary2.Bar
{
}
}

#endregion

#region #325

public class _325
Expand Down
22 changes: 1 addition & 21 deletions Moq.sln
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Moq", "Source\Moq.csproj",
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Moq.Tests", "Moq.Tests\Moq.Tests.csproj", "{81BBC911-4916-4E10-A955-752AE47CB2B9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClassLibrary1", "Moq.Tests\Library\ClassLibrary1\ClassLibrary1.csproj", "{A417D76E-32C9-45B7-81C7-299032CE8E77}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClassLibrary2", "Moq.Tests\Library\ClassLibrary2\ClassLibrary2.csproj", "{D1099DEF-1A3F-4F94-A871-449DAAB2D890}"
EndProject
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Moq.Tests.VisualBasic", "Moq.Tests.VisualBasic\Moq.Tests.VisualBasic.vbproj", "{840A8B2E-3D4B-4521-A61A-0291562CDC8B}"
Project("{778DAE3C-4631-46EA-AA77-85C1314464D9}") = "Moq.Tests.VisualBasic", "Moq.Tests.VisualBasic\Moq.Tests.VisualBasic.vbproj", "{840A8B2E-3D4B-4521-A61A-0291562CDC8B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -48,22 +44,6 @@ Global
{81BBC911-4916-4E10-A955-752AE47CB2B9}.Release|Any CPU.Build.0 = Release|Any CPU
{81BBC911-4916-4E10-A955-752AE47CB2B9}.Release|x86.ActiveCfg = Release|Any CPU
{81BBC911-4916-4E10-A955-752AE47CB2B9}.Release|x86.Build.0 = Release|Any CPU
{A417D76E-32C9-45B7-81C7-299032CE8E77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A417D76E-32C9-45B7-81C7-299032CE8E77}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A417D76E-32C9-45B7-81C7-299032CE8E77}.Debug|x86.ActiveCfg = Debug|Any CPU
{A417D76E-32C9-45B7-81C7-299032CE8E77}.Debug|x86.Build.0 = Debug|Any CPU
{A417D76E-32C9-45B7-81C7-299032CE8E77}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A417D76E-32C9-45B7-81C7-299032CE8E77}.Release|Any CPU.Build.0 = Release|Any CPU
{A417D76E-32C9-45B7-81C7-299032CE8E77}.Release|x86.ActiveCfg = Release|Any CPU
{A417D76E-32C9-45B7-81C7-299032CE8E77}.Release|x86.Build.0 = Release|Any CPU
{D1099DEF-1A3F-4F94-A871-449DAAB2D890}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D1099DEF-1A3F-4F94-A871-449DAAB2D890}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D1099DEF-1A3F-4F94-A871-449DAAB2D890}.Debug|x86.ActiveCfg = Debug|Any CPU
{D1099DEF-1A3F-4F94-A871-449DAAB2D890}.Debug|x86.Build.0 = Debug|Any CPU
{D1099DEF-1A3F-4F94-A871-449DAAB2D890}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D1099DEF-1A3F-4F94-A871-449DAAB2D890}.Release|Any CPU.Build.0 = Release|Any CPU
{D1099DEF-1A3F-4F94-A871-449DAAB2D890}.Release|x86.ActiveCfg = Release|Any CPU
{D1099DEF-1A3F-4F94-A871-449DAAB2D890}.Release|x86.Build.0 = Release|Any CPU
{840A8B2E-3D4B-4521-A61A-0291562CDC8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{840A8B2E-3D4B-4521-A61A-0291562CDC8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{840A8B2E-3D4B-4521-A61A-0291562CDC8B}.Debug|x86.ActiveCfg = Debug|Any CPU
Expand Down

0 comments on commit 0a26791

Please sign in to comment.