1 write to _resourceDelegate
Microsoft.Build.Tasks.UnitTests (1)
GetSDKReference_Tests.cs (1)
200
_resourceDelegate
= AssemblyResources.GetString;
70 references to _resourceDelegate
Microsoft.Build.Tasks.UnitTests (70)
GetSDKReference_Tests.cs (70)
677
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[0].ItemSpec.Replace(t.References[0].GetMetadata("SDKRootPath"), String.Empty));
678
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[1].ItemSpec.Replace(t.References[1].GetMetadata("SDKRootPath"), String.Empty));
679
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[2].ItemSpec.Replace(t.References[2].GetMetadata("SDKRootPath"), String.Empty));
680
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[3].ItemSpec.Replace(t.References[3].GetMetadata("SDKRootPath"), String.Empty));
681
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[4].ItemSpec.Replace(t.References[4].GetMetadata("SDKRootPath"), String.Empty));
682
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[5].ItemSpec.Replace(t.References[5].GetMetadata("SDKRootPath"), String.Empty));
683
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[6].ItemSpec.Replace(t.References[6].GetMetadata("SDKRootPath"), String.Empty));
684
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[7].ItemSpec.Replace(t.References[7].GetMetadata("SDKRootPath"), String.Empty));
726
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[0].ItemSpec.Replace(t.References[0].GetMetadata("SDKRootPath"), String.Empty));
727
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[1].ItemSpec.Replace(t.References[1].GetMetadata("SDKRootPath"), String.Empty));
728
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[2].ItemSpec.Replace(t.References[2].GetMetadata("SDKRootPath"), String.Empty));
729
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[3].ItemSpec.Replace(t.References[3].GetMetadata("SDKRootPath"), String.Empty));
730
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[4].ItemSpec.Replace(t.References[4].GetMetadata("SDKRootPath"), String.Empty));
767
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.CannotHaveEmptyTargetConfiguration", _sdkDirectory);
790
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.CannotHaveEmptyTargetArchitecture", _sdkDirectory);
818
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[0].ItemSpec.Replace(t.References[0].GetMetadata("SDKRootPath"), String.Empty));
819
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[1].ItemSpec.Replace(t.References[1].GetMetadata("SDKRootPath"), String.Empty));
820
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[2].ItemSpec.Replace(t.References[2].GetMetadata("SDKRootPath"), String.Empty));
821
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[3].ItemSpec.Replace(t.References[3].GetMetadata("SDKRootPath"), String.Empty));
822
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[4].ItemSpec.Replace(t.References[4].GetMetadata("SDKRootPath"), String.Empty));
823
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[5].ItemSpec.Replace(t.References[5].GetMetadata("SDKRootPath"), String.Empty));
824
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[6].ItemSpec.Replace(t.References[6].GetMetadata("SDKRootPath"), String.Empty));
825
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[7].ItemSpec.Replace(t.References[7].GetMetadata("SDKRootPath"), String.Empty));
870
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[0].ItemSpec.Replace(t.References[0].GetMetadata("SDKRootPath"), String.Empty));
871
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[1].ItemSpec.Replace(t.References[1].GetMetadata("SDKRootPath"), String.Empty));
872
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[2].ItemSpec.Replace(t.References[2].GetMetadata("SDKRootPath"), String.Empty));
873
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[3].ItemSpec.Replace(t.References[3].GetMetadata("SDKRootPath"), String.Empty));
874
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[4].ItemSpec.Replace(t.References[4].GetMetadata("SDKRootPath"), String.Empty));
875
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[5].ItemSpec.Replace(t.References[5].GetMetadata("SDKRootPath"), String.Empty));
876
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[6].ItemSpec.Replace(t.References[6].GetMetadata("SDKRootPath"), String.Empty));
877
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[7].ItemSpec.Replace(t.References[7].GetMetadata("SDKRootPath"), String.Empty));
921
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[0].ItemSpec.Replace(t.References[0].GetMetadata("SDKRootPath"), String.Empty));
922
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[1].ItemSpec.Replace(t.References[1].GetMetadata("SDKRootPath"), String.Empty));
923
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[2].ItemSpec.Replace(t.References[2].GetMetadata("SDKRootPath"), String.Empty));
924
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[3].ItemSpec.Replace(t.References[3].GetMetadata("SDKRootPath"), String.Empty));
925
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[4].ItemSpec.Replace(t.References[4].GetMetadata("SDKRootPath"), String.Empty));
926
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[5].ItemSpec.Replace(t.References[5].GetMetadata("SDKRootPath"), String.Empty));
927
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[6].ItemSpec.Replace(t.References[6].GetMetadata("SDKRootPath"), String.Empty));
928
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingReference", t.References[7].ItemSpec.Replace(t.References[7].GetMetadata("SDKRootPath"), String.Empty));
959
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[0].ItemSpec.Replace(t.RedistFiles[0].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[0].GetMetadata("TargetPath"));
960
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[1].ItemSpec.Replace(t.RedistFiles[1].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[1].GetMetadata("TargetPath"));
961
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[2].ItemSpec.Replace(t.RedistFiles[2].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[2].GetMetadata("TargetPath"));
962
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[3].ItemSpec.Replace(t.RedistFiles[3].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[3].GetMetadata("TargetPath"));
963
engine.AssertLogDoesntContainMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[4].ItemSpec.Replace(t.RedistFiles[4].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[4].GetMetadata("TargetPath"));
1020
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[0].ItemSpec.Replace(t.RedistFiles[0].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[0].GetMetadata("TargetPath"));
1021
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[1].ItemSpec.Replace(t.RedistFiles[1].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[1].GetMetadata("TargetPath"));
1022
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[2].ItemSpec.Replace(t.RedistFiles[2].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[2].GetMetadata("TargetPath"));
1023
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[3].ItemSpec.Replace(t.RedistFiles[3].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[3].GetMetadata("TargetPath"));
1024
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[4].ItemSpec.Replace(t.RedistFiles[4].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[4].GetMetadata("TargetPath"));
1052
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[0].ItemSpec.Replace(t.RedistFiles[0].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[0].GetMetadata("TargetPath"));
1053
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[1].ItemSpec.Replace(t.RedistFiles[1].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[1].GetMetadata("TargetPath"));
1054
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[2].ItemSpec.Replace(t.RedistFiles[2].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[2].GetMetadata("TargetPath"));
1055
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[3].ItemSpec.Replace(t.RedistFiles[3].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[3].GetMetadata("TargetPath"));
1056
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[4].ItemSpec.Replace(t.RedistFiles[4].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[4].GetMetadata("TargetPath"));
1084
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[0].ItemSpec.Replace(t.RedistFiles[0].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[0].GetMetadata("TargetPath"));
1085
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[1].ItemSpec.Replace(t.RedistFiles[1].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[1].GetMetadata("TargetPath"));
1086
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[2].ItemSpec.Replace(t.RedistFiles[2].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[2].GetMetadata("TargetPath"));
1087
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[3].ItemSpec.Replace(t.RedistFiles[3].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[3].GetMetadata("TargetPath"));
1088
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.AddingRedistFile", t.RedistFiles[4].ItemSpec.Replace(t.RedistFiles[4].GetMetadata("SDKRootPath"), String.Empty), t.RedistFiles[4].GetMetadata("TargetPath"));
1114
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictReferenceSameSDK", "SDKWithManifest, Version=2.0", "References\\Retail\\X86\\A.winmd", "References\\CommonConfiguration\\Neutral\\A.dll");
1115
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictReferenceSameSDK", "SDKWithManifest, Version=2.0", "References\\Retail\\X86\\A.winmd", "References\\CommonConfiguration\\Neutral\\A.winmd");
1143
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictReferenceSameSDK", "SDKWithManifest, Version=2.0", "References\\Retail\\X86\\A.winmd", "References\\CommonConfiguration\\Neutral\\A.dll");
1144
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictReferenceSameSDK", "SDKWithManifest, Version=2.0", "References\\Retail\\X86\\A.winmd", "References\\CommonConfiguration\\Neutral\\A.winmd");
1171
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictRedistSameSDK", "A.dll", "SDKWithManifest, Version=2.0", "Redist\\Retail\\X86\\A.dll", "Redist\\CommonConfiguration\\Neutral\\A.dll");
1199
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictRedistSameSDK", "A.dll", "SDKWithManifest, Version=2.0", "Redist\\Retail\\X86\\A.dll", "Redist\\CommonConfiguration\\Neutral\\A.dll");
1243
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictRedistDifferentSDK", "B.PRI", "SDKWithManifest, Version=2.0", "AnotherSDK, Version=2.0", redistWinner, redistVictim);
1244
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictReferenceDifferentSDK", "SDKWithManifest, Version=2.0", "AnotherSDK, Version=2.0", referenceWinner, referenceVictim);
1287
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictRedistDifferentSDK", "ASUBDIRECTORY\\TWODEEP\\B.DLL", "SDKWithManifest, Version=2.0", "AnotherSDK, Version=2.0", redistWinner, redistVictim);
1332
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictRedistDifferentSDK", "B.PRI", "SDKWithManifest, Version=2.0", "AnotherSDK, Version=2.0", redistWinner, redistVictim);
1333
engine.AssertLogContainsMessageFromResource(
_resourceDelegate
, "GetSDKReferenceFiles.ConflictReferenceDifferentSDK", "SDKWithManifest, Version=2.0", "AnotherSDK, Version=2.0", referenceWinner, referenceVictim);