22 references to NumberOfItemGroupsWithConditionContaining
dotnet.Tests (22)
CommandTests\Reference\Add\GivenDotnetAddReference.cs (12)
241
int condBefore = lib.CsProj().
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451);
249
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451).Should().Be(condBefore + 1);
286
int condBefore = lib.CsProj().
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451);
293
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451).Should().Be(condBefore);
308
int condBefore = lib.CsProj().
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451);
315
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451).Should().Be(condBefore + 1);
467
int condBefore = proj.CsProj().
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451);
474
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451).Should().Be(condBefore + 1);
525
int noCondBefore = lib.CsProj().
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451);
532
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451).Should().Be(noCondBefore + 1);
627
int condBefore = lib.CsProj().
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451);
633
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451).Should().Be(condBefore + 1);
CommandTests\Reference\Remove\GivenDotnetRemoveP2P.cs (10)
266
int condBefore = lib.CsProj().
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451);
274
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451).Should().Be(condBefore - 1);
342
int condBefore = csprojBefore.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451);
353
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451).Should().Be(condBefore);
367
int condBefore = csprojBefore.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451);
378
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451).Should().Be(condBefore - 1);
391
int condNet451Before = csprojBefore.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451);
392
int condNetCoreApp10Before = csprojBefore.
NumberOfItemGroupsWithConditionContaining
(ConditionCurrentFramework);
400
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionFrameworkNet451).Should().Be(condNet451Before - 1);
403
csproj.
NumberOfItemGroupsWithConditionContaining
(ConditionCurrentFramework).Should().Be(condNetCoreApp10Before);