@@ -102,7 +102,7 @@ private void RidSpecificAssemblyImpl(TestSetup setup, string includedPath, strin
102102 [ InlineData ( "win10-x64" , WindowsAssembly , $ "{ LinuxAssembly } ;{ MacOSAssembly } ") ]
103103 [ InlineData ( "linux-x64" , LinuxAssembly , $ "{ MacOSAssembly } ;{ WindowsAssembly } ") ]
104104 [ InlineData ( "osx-x64" , MacOSAssembly , $ "{ LinuxAssembly } ;{ WindowsAssembly } ") ]
105- public void RidSpecificAssembly ( string rid , string includedPath , string excludedPath )
105+ public void RidSpecificAssembly_RidGraph ( string rid , string includedPath , string excludedPath )
106106 {
107107 RidSpecificAssemblyImpl (
108108 new TestSetup ( ) { Rid = rid , HasRuntimeFallbacks = true , ReadRidGraph = true } ,
@@ -190,7 +190,7 @@ private void RidSpecificNativeLibraryImpl(TestSetup setup, string includedPath,
190190 [ InlineData ( "win10-x64" , "win" , "linux;osx" ) ]
191191 [ InlineData ( "linux-x64" , "linux" , "osx;win" ) ]
192192 [ InlineData ( "osx-x64" , "osx" , "linux;win" ) ]
193- public void RidSpecificNativeLibrary ( string rid , string includedPath , string excludedPath )
193+ public void RidSpecificNativeLibrary_RidGraph ( string rid , string includedPath , string excludedPath )
194194 {
195195 RidSpecificNativeLibraryImpl (
196196 new TestSetup ( ) { Rid = rid , HasRuntimeFallbacks = true , ReadRidGraph = true } ,
@@ -265,7 +265,7 @@ public void RidSpecificNativeLibrary_UnknownRid(bool? readRidGraph)
265265 [ InlineData ( "win10-x64" , "win-x64/ManagedWin64.dll" ) ]
266266 [ InlineData ( "win10-x86" , "win/ManagedWin.dll" ) ]
267267 [ InlineData ( "linux-x64" , "any/ManagedAny.dll" ) ]
268- public void MostSpecificRidAssemblySelected ( string rid , string expectedPath )
268+ public void MostSpecificRidAssemblySelected_RidGraph ( string rid , string expectedPath )
269269 {
270270 RunTest (
271271 p => p
@@ -276,6 +276,7 @@ public void MostSpecificRidAssemblySelected(string rid, string expectedPath)
276276 new ResolvedPaths ( ) { IncludedAssemblyPaths = expectedPath } ) ;
277277 }
278278
279+ // The build RID from the test context should match the build RID of the host under test
279280 private static string CurrentRid = RepoDirectoriesProvider . Default . BuildRID ;
280281 private static string CurrentRidAsset = $ "{ CurrentRid } /{ CurrentRid } Asset.dll";
281282
@@ -300,7 +301,7 @@ public void MostSpecificRidAssemblySelected(string rid, string expectedPath)
300301 [ InlineData ( false , false , true ) ]
301302 [ InlineData ( false , false , false ) ]
302303 [ InlineData ( false , false , null ) ]
303- public void MostSpecificRidAssemblySelected_ComputedRid ( bool includeCurrentArch , bool hasRuntimeFallbacks , bool ? readRidGraph )
304+ public void MostSpecificRidAssemblySelected ( bool includeCurrentArch , bool hasRuntimeFallbacks , bool ? readRidGraph )
304305 {
305306 // When not using the RID graph, the host uses the target OS for which it was built to determine applicable
306307 // RIDs that apply, so it can find both the arch-specific and the OS-only assets.
@@ -339,7 +340,7 @@ public void MostSpecificRidAssemblySelected_ComputedRid(bool includeCurrentArch,
339340 [ InlineData ( "win10-x64" , "win-x64" ) ]
340341 [ InlineData ( "win10-x86" , "win" ) ]
341342 [ InlineData ( "linux-x64" , "any" ) ]
342- public void MostSpecificRidNativeLibrarySelected ( string rid , string expectedPath )
343+ public void MostSpecificRidNativeLibrarySelected_RidGraph ( string rid , string expectedPath )
343344 {
344345 RunTest (
345346 p => p
@@ -363,7 +364,7 @@ public void MostSpecificRidNativeLibrarySelected(string rid, string expectedPath
363364 [ InlineData ( false , false , true ) ]
364365 [ InlineData ( false , false , false ) ]
365366 [ InlineData ( false , false , null ) ]
366- public void MostSpecificRidNativeLibrarySelected_ComputedRid ( bool includeCurrentArch , bool hasRuntimeFallbacks , bool ? readRidGraph )
367+ public void MostSpecificRidNativeLibrarySelected ( bool includeCurrentArch , bool hasRuntimeFallbacks , bool ? readRidGraph )
367368 {
368369 // When not using the RID graph, the host uses the target OS for which it was built to determine applicable
369370 // RIDs that apply, so it can find both the arch-specific and the OS-only assets.
@@ -402,7 +403,7 @@ public void MostSpecificRidNativeLibrarySelected_ComputedRid(bool includeCurrent
402403 [ InlineData ( "win10-x64" , "win/ManagedWin.dll" , "native/win-x64" ) ]
403404 [ InlineData ( "win10-x86" , "win/ManagedWin.dll" , "native/win-x86" ) ]
404405 [ InlineData ( "linux-x64" , "any/ManagedAny.dll" , "native/linux" ) ]
405- public void MostSpecificRidAssemblySelectedPerType ( string rid , string expectedAssemblyPath , string expectedNativePath )
406+ public void MostSpecificRidAssemblySelectedPerType_RidGraph ( string rid , string expectedAssemblyPath , string expectedNativePath )
406407 {
407408 RunTest (
408409 p => p
@@ -422,7 +423,7 @@ public void MostSpecificRidAssemblySelectedPerType(string rid, string expectedAs
422423 [ InlineData ( false , true ) ]
423424 [ InlineData ( false , false ) ]
424425 [ InlineData ( false , null ) ]
425- public void MostSpecificRidAssemblySelectedPerType_ComputedRid ( bool hasRuntimeFallbacks , bool ? readRidGraph )
426+ public void MostSpecificRidAssemblySelectedPerType ( bool hasRuntimeFallbacks , bool ? readRidGraph )
426427 {
427428 // When not using the RID graph, the host uses the target OS for which it was built to determine applicable
428429 // RIDs that apply, so it can find both the arch-specific and the OS-only assets.
@@ -462,7 +463,7 @@ public void MostSpecificRidAssemblySelectedPerType_ComputedRid(bool hasRuntimeFa
462463 // For "linux" on the other hand the DependencyLib will be resolved because there are
463464 // no RID-specific assembly assets available.
464465 [ InlineData ( "linux-x64" , "DependencyLib.dll" , "native/linux" ) ]
465- public void MostSpecificRidAssemblySelectedPerTypeMultipleAssets ( string rid , string expectedAssemblyPath , string expectedNativePath )
466+ public void MostSpecificRidAssemblySelectedPerTypeMultipleAssets_RidGraph ( string rid , string expectedAssemblyPath , string expectedNativePath )
466467 {
467468 RunTest (
468469 assetsCustomizer : null ,
@@ -496,7 +497,7 @@ public void MostSpecificRidAssemblySelectedPerTypeMultipleAssets(string rid, str
496497 [ InlineData ( false , true ) ]
497498 [ InlineData ( false , false ) ]
498499 [ InlineData ( false , null ) ]
499- public void MostSpecificRidAssemblySelectedPerTypeMultipleAssets_ComputedRid ( bool hasRuntimeFallbacks , bool ? readRidGraph )
500+ public void MostSpecificRidAssemblySelectedPerTypeMultipleAssets ( bool hasRuntimeFallbacks , bool ? readRidGraph )
500501 {
501502 // When not using the RID graph, the host uses the target OS for which it was built to determine applicable
502503 // RIDs that apply, so it can find both the arch-specific and the OS-only assets.
0 commit comments