@@ -10,23 +10,23 @@ public class PhysicalFileSystemProviderTests
1010 {
1111 [ Theory ]
1212#if OS_LINUX
13- [ InlineData ( null , "wwwroot" , "/Users/root/" , "/Users/root/wwwroot" ) ]
14- [ InlineData ( null , "/Users/WebRoot" , "/Users/root/" , "/Users/WebRoot" ) ]
15- [ InlineData ( "providerFolder" , "../Temp" , "/Users/this/a/root" , "/Users/this/a/root/providerFolder" ) ]
16- [ InlineData ( "../Temp" , null , "/Users/this/a/root" , "/Users/this/a/Temp" ) ]
17- [ InlineData ( "/Users/WebRoot" , null , "/Users/this/a/root" , "/Users/WebRoot" ) ]
13+ [ InlineData ( null , "wwwroot" , "/Users/root/" , "/Users/root/wwwroot/ " ) ]
14+ [ InlineData ( null , "/Users/WebRoot" , "/Users/root/" , "/Users/WebRoot/ " ) ]
15+ [ InlineData ( "providerFolder" , "../Temp" , "/Users/this/a/root" , "/Users/this/a/root/providerFolder/ " ) ]
16+ [ InlineData ( "../Temp" , null , "/Users/this/a/root" , "/Users/this/a/Temp/ " ) ]
17+ [ InlineData ( "/Users/WebRoot" , null , "/Users/this/a/root" , "/Users/WebRoot/ " ) ]
1818#elif OS_OSX
19- [ InlineData ( null , "wwwroot" , "/Users/root/" , "/Users/root/wwwroot" ) ]
20- [ InlineData ( null , "/Users/WebRoot" , "/Users/root/" , "/Users/WebRoot" ) ]
21- [ InlineData ( "providerFolder" , "../Temp" , "/Users/this/a/root" , "/Users/this/a/root/providerFolder" ) ]
22- [ InlineData ( "../Temp" , null , "/Users/this/a/root" , "/Users/this/a/Temp" ) ]
23- [ InlineData ( "/Users/WebRoot" , null , "/Users/this/a/root" , "/Users/WebRoot" ) ]
19+ [ InlineData ( null , "wwwroot" , "/Users/root/" , "/Users/root/wwwroot/ " ) ]
20+ [ InlineData ( null , "/Users/WebRoot" , "/Users/root/" , "/Users/WebRoot/ " ) ]
21+ [ InlineData ( "providerFolder" , "../Temp" , "/Users/this/a/root" , "/Users/this/a/root/providerFolder/ " ) ]
22+ [ InlineData ( "../Temp" , null , "/Users/this/a/root" , "/Users/this/a/Temp/ " ) ]
23+ [ InlineData ( "/Users/WebRoot" , null , "/Users/this/a/root" , "/Users/WebRoot/ " ) ]
2424#elif OS_WINDOWS
25- [ InlineData ( null , "wwwroot" , "C:/root\\ " , "C:\\ root\\ wwwroot" ) ]
26- [ InlineData ( null , "C:/WebRoot" , "C:/root\\ " , "C:/WebRoot" ) ]
27- [ InlineData ( "providerFolder" , "../Temp" , "C:/this/a/root" , "C:\\ this\\ a\\ root\\ providerFolder" ) ]
28- [ InlineData ( "../Temp" , null , "C:/this/a/root" , "C:\\ this\\ a\\ Temp" ) ]
29- [ InlineData ( "C:/WebRoot" , null , "C:/this/a/root" , "C:/WebRoot" ) ]
25+ [ InlineData ( null , "wwwroot" , "C:/root\\ " , "C:\\ root\\ wwwroot\\ " ) ]
26+ [ InlineData ( null , "C:/WebRoot" , "C:/root\\ " , "C:/WebRoot\\ " ) ]
27+ [ InlineData ( "providerFolder" , "../Temp" , "C:/this/a/root" , "C:\\ this\\ a\\ root\\ providerFolder\\ " ) ]
28+ [ InlineData ( "../Temp" , null , "C:/this/a/root" , "C:\\ this\\ a\\ Temp\\ " ) ]
29+ [ InlineData ( "C:/WebRoot" , null , "C:/this/a/root" , "C:/WebRoot\\ " ) ]
3030#endif
3131 public void ProvidersRootFromOptions ( string providerRoot , string webRootPath , string contentRootPath , string expected )
3232 {
0 commit comments