12 references to NumberOfProjectReferencesWithIncludeAndConditionContaining
dotnet.Tests (12)
CommandTests\Reference\Add\GivenDotnetAddReference.cs (7)
250
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(setup.ValidRefCsprojName, ConditionFrameworkNet451).Should().Be(1);
294
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(setup.ValidRefCsprojName, ConditionFrameworkNet451).Should().Be(1);
316
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(setup.ValidRefCsprojName, ConditionFrameworkNet451).Should().Be(1);
475
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(setup.ValidRefCsprojName, ConditionFrameworkNet451).Should().Be(1);
533
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(setup.ValidRefCsprojName, ConditionFrameworkNet451).Should().Be(1);
534
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(setup.LibCsprojName, ConditionFrameworkNet451).Should().Be(1);
634
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(net45lib.CsProjName, ConditionFrameworkNet451).Should().Be(1);
CommandTests\Reference\Remove\GivenDotnetRemoveP2P.cs (5)
275
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(libref.Name, ConditionFrameworkNet451).Should().Be(0);
354
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(librefCond.Name, ConditionFrameworkNet451).Should().Be(1);
379
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(librefCond.Name, ConditionFrameworkNet451).Should().Be(0);
401
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(librefCondNet451.Name, ConditionFrameworkNet451).Should().Be(0);
404
csproj.
NumberOfProjectReferencesWithIncludeAndConditionContaining
(librefCondNetCoreApp10.Name, ConditionCurrentFramework).Should().Be(1);