1 write to Manifest
Microsoft.Build.Utilities.UnitTests (1)
PlatformManifest_Tests.cs (1)
328
Manifest
= new PlatformManifest(_manifestDirectory);
34 references to Manifest
Microsoft.Build.Utilities.UnitTests (34)
PlatformManifest_Tests.cs (34)
93
manifest.
Manifest
.ReadError.ShouldBeTrue();
107
manifest.
Manifest
.ReadError.ShouldBeFalse();
108
manifest.
Manifest
.Name.ShouldBe("UAP");
109
manifest.
Manifest
.FriendlyName.ShouldBe("Universal Application Platform");
110
manifest.
Manifest
.PlatformVersion.ShouldBe("1.0.0.0");
112
manifest.
Manifest
.DependentPlatforms.Count.ShouldBe(0);
113
manifest.
Manifest
.ApiContracts.Count.ShouldBe(0);
128
manifest.
Manifest
.ReadError.ShouldBeFalse();
129
manifest.
Manifest
.Name.ShouldBe("UAP");
130
manifest.
Manifest
.FriendlyName.ShouldBe(string.Empty);
131
manifest.
Manifest
.PlatformVersion.ShouldBe("1.0.0.0");
133
manifest.
Manifest
.DependentPlatforms.Count.ShouldBe(0);
134
manifest.
Manifest
.ApiContracts.Count.ShouldBe(0);
151
manifest.
Manifest
.ReadError.ShouldBeFalse();
153
manifest.
Manifest
.ApiContracts.Count.ShouldBe(0);
154
manifest.
Manifest
.DependentPlatforms.Count.ShouldBe(1);
156
var platforms = new List<PlatformManifest.DependentPlatform>(manifest.
Manifest
.DependentPlatforms);
176
manifest.
Manifest
.ReadError.ShouldBeFalse();
178
manifest.
Manifest
.ApiContracts.Count.ShouldBe(0);
179
manifest.
Manifest
.DependentPlatforms.Count.ShouldBe(3);
181
var platforms = new List<PlatformManifest.DependentPlatform>(manifest.
Manifest
.DependentPlatforms);
207
manifest.
Manifest
.ReadError.ShouldBeFalse();
209
manifest.
Manifest
.DependentPlatforms.Count.ShouldBe(1);
210
PlatformManifest.DependentPlatform platform = manifest.
Manifest
.DependentPlatforms.First();
214
manifest.
Manifest
.ApiContracts.Count.ShouldBe(1);
215
ApiContract contract = manifest.
Manifest
.ApiContracts.First();
237
manifest.
Manifest
.ReadError.ShouldBeFalse();
239
manifest.
Manifest
.DependentPlatforms.Count.ShouldBe(0);
240
manifest.
Manifest
.ApiContracts.Count.ShouldBe(3);
242
var contracts = new List<ApiContract>(manifest.
Manifest
.ApiContracts);
261
manifest.
Manifest
.VersionedContent.ShouldBeFalse();
274
manifest.
Manifest
.VersionedContent.ShouldBeFalse();
287
manifest.
Manifest
.VersionedContent.ShouldBeFalse();
300
manifest.
Manifest
.VersionedContent.ShouldBeTrue();