File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
src/Components/test/E2ETestMigration/Infrastructure/ServerFixtures Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures
1313{
1414 public abstract class ServerFixture : IDisposable
1515 {
16- private static readonly Lazy < Dictionary < string , string > > _projects = new Lazy < Dictionary < string , string > > ( FindProjects ) ;
17-
1816 public Uri RootUri => _rootUriInitializer . Value ;
1917
2018 private readonly Lazy < Uri > _rootUriInitializer ;
@@ -33,15 +31,6 @@ public ServerFixture()
3331
3432 protected abstract string StartAndGetRootUri ( ) ;
3533
36- private static Dictionary < string , string > FindProjects ( )
37- {
38- return typeof ( ServerFixture ) . Assembly . GetCustomAttributes < AssemblyMetadataAttribute > ( )
39- . Where ( m => m . Key . StartsWith ( "TestAssemblyApplication[" , StringComparison . Ordinal ) )
40- . ToDictionary ( m =>
41- m . Key . Replace ( "TestAssemblyApplication" , "" ) . TrimStart ( '[' ) . TrimEnd ( ']' ) ,
42- m => m . Value ) ;
43- }
44-
4534 public static string FindSampleOrTestSitePath ( string projectName )
4635 {
4736 var comma = projectName . IndexOf ( "," , StringComparison . Ordinal ) ;
You can’t perform that action at this time.
0 commit comments