Look inside one extra folder
This commit is contained in:
parent
ed92f2c9c3
commit
f947a6cc4c
1 changed files with 10 additions and 10 deletions
|
@ -1,9 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using FluentAssertions;
|
using FluentAssertions;
|
||||||
using Microsoft.DotNet.Tools.Test.Utilities;
|
using Microsoft.DotNet.Tools.Test.Utilities;
|
||||||
using Microsoft.NET.Sdk.WorkloadManifestReader;
|
using Microsoft.NET.Sdk.WorkloadManifestReader;
|
||||||
|
@ -26,7 +23,9 @@ namespace EndToEnd.Tests
|
||||||
{
|
{
|
||||||
var sdkManifestDir = Path.Combine(Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest), "sdk-manifests");
|
var sdkManifestDir = Path.Combine(Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest), "sdk-manifests");
|
||||||
var sdkversionDir = new DirectoryInfo(sdkManifestDir).EnumerateDirectories().First();
|
var sdkversionDir = new DirectoryInfo(sdkManifestDir).EnumerateDirectories().First();
|
||||||
foreach (var manifestDir in sdkversionDir.EnumerateDirectories())
|
foreach (var manifestVersionDir in sdkversionDir.EnumerateDirectories())
|
||||||
|
{
|
||||||
|
foreach (var manifestDir in manifestVersionDir.EnumerateDirectories())
|
||||||
{
|
{
|
||||||
var manifestId = manifestDir.Name;
|
var manifestId = manifestDir.Name;
|
||||||
|
|
||||||
|
@ -37,6 +36,7 @@ namespace EndToEnd.Tests
|
||||||
Action readManifest = () => WorkloadManifestReader.ReadWorkloadManifest(manifestId, fileStream, manifestFile);
|
Action readManifest = () => WorkloadManifestReader.ReadWorkloadManifest(manifestId, fileStream, manifestFile);
|
||||||
readManifest.ShouldNotThrow("manifestId:" + manifestId + " manifestFile:" + manifestFile + "is invalid");
|
readManifest.ShouldNotThrow("manifestId:" + manifestId + " manifestFile:" + manifestFile + "is invalid");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue