40 references to TestData
Microsoft.AspNetCore.App.UnitTests (40)
PackageTests.cs (5)
28
if (!
TestData
.VerifyPackageAssemblyVersions() && !SkipOnCIAttribute.OnCI())
38
TestData
.GetPackageLayoutRoot();
41
TestData
.GetPackagesFolder();
62
if (!
TestData
.VerifyPackageAssemblyVersions() && !SkipOnCIAttribute.OnCI())
67
var versionStringWithoutPrereleaseTag =
TestData
.GetSharedFxVersion().Split('-', 2)[0];
SharedFxTests.cs (18)
25
_expectedTfm =
TestData
.GetDefaultNetCoreTargetFramework();
26
_expectedRid =
TestData
.GetSharedFxRuntimeIdentifier();
31
TestData
.GetSharedFxVersion());
44
_output.WriteLine(string.Join('\n',
TestData
.ListedSharedFxAssemblies.OrderBy(i => i)));
46
var missing =
TestData
.ListedSharedFxAssemblies.Except(actualAssemblies);
47
var unexpected = actualAssemblies.Except(
TestData
.ListedSharedFxAssemblies);
64
var expectedAssemblies =
TestData
.GetSharedFxDependencies()
99
Assert.Equal(
TestData
.GetMicrosoftNETCoreAppPackageVersion(), (string)runtimeConfig["runtimeOptions"]["framework"]["version"]);
109
var libraryId = $"{ridPackageId}/{
TestData
.GetSharedFxVersion()}";
164
var repoAssemblies =
TestData
.GetSharedFrameworkBinariesFromRepo()
168
var versionStringWithoutPrereleaseTag =
TestData
.GetMicrosoftNETCoreAppPackageVersion().Split('-', 2)[0];
170
var aspnetcoreVersionString =
TestData
.GetSharedFxVersion().Split('-', 2)[0];
218
var repoAssemblies =
TestData
.GetSharedFrameworkBinariesFromRepo()
254
Assert.Equal(
TestData
.GetRepositoryCommit(), lines[0]);
255
Assert.Equal(
TestData
.GetSharedFxVersion(), lines[1]);
261
var expectedAssemblies =
TestData
.GetSharedFxDependencies()
326
TestData
.GetPackagesFolder();
327
var sharedFxPath = Directory.GetFiles(packageFolder, "Microsoft.AspNetCore.App.Runtime.*-*." +
TestData
.GetSharedFxVersion() + ".nupkg").FirstOrDefault();
TargetingPackTests.cs (16)
26
_expectedRid =
TestData
.GetSharedFxRuntimeIdentifier();
27
_targetingPackTfm =
TestData
.GetDefaultNetCoreTargetFramework();
32
TestData
.GetSharedFxVersion());
41
var listedTargetingPackAssemblies =
TestData
.ListedTargetingPackAssemblies.ToHashSet();
64
var repoAssemblies =
TestData
.GetAspNetCoreTargetingPackDependencies()
68
var versionStringWithoutPrereleaseTag =
TestData
.GetMicrosoftNETCoreAppPackageVersion().Split('-', 2)[0];
70
var aspnetcoreVersionString =
TestData
.GetSharedFxVersion().Split('-', 2)[0];
140
var runtimeDependencies =
TestData
.GetRuntimeTargetingPackDependencies()
143
var aspnetcoreDependencies =
TestData
.GetAspNetCoreTargetingPackDependencies()
150
var netCoreAppPackageVersion =
TestData
.GetMicrosoftNETCoreAppPackageVersion();
159
var aspNetCoreAppPackageVersion =
TestData
.GetReferencePackSharedFxVersion();
227
var expectedAssemblies =
TestData
.GetSharedFxDependencies()
258
if (!
TestData
.VerifyAncmBinary())
292
var expectedAssemblies =
TestData
.GetTargetingPackDependencies()
367
TestData
.GetPackagesFolder();
369
packageFolder, "Microsoft.AspNetCore.App.Ref." +
TestData
.GetSharedFxVersion() + ".nupkg");
TestData.cs (1)
349
=> typeof(
TestData
).Assembly.GetCustomAttributes<TestDataAttribute>().Single(d => d.Key == key).Value;