This commit is contained in:
Jeremy 2024-05-16 21:24:20 +10:00
parent 2606faae17
commit 986ec3691e

View file

@ -186,18 +186,18 @@ namespace Flow.Launcher.Test.Plugins
$"Actual result was: {result}{Environment.NewLine}");
}
//[TestCase(@"c:\\", false)]
//[TestCase(@"i:\", true)]
//[TestCase(@"\c:\", false)]
//[TestCase(@"cc:\", false)]
//[TestCase(@"\\\SomeNetworkLocation\", false)]
//[TestCase(@"\\SomeNetworkLocation\", true)]
//[TestCase("RandomFile", false)]
//[TestCase(@"c:\>*", true)]
//[TestCase(@"c:\>", true)]
//[TestCase(@"c:\SomeLocation\SomeOtherLocation\>", true)]
//[TestCase(@"c:\SomeLocation\SomeOtherLocation", true)]
//[TestCase(@"c:\SomeLocation\SomeOtherLocation\SomeFile.exe", true)]
[TestCase(@"c:\\", false)]
[TestCase(@"i:\", true)]
[TestCase(@"\c:\", false)]
[TestCase(@"cc:\", false)]
[TestCase(@"\\\SomeNetworkLocation\", false)]
[TestCase(@"\\SomeNetworkLocation\", true)]
[TestCase("RandomFile", false)]
[TestCase(@"c:\>*", true)]
[TestCase(@"c:\>", true)]
[TestCase(@"c:\SomeLocation\SomeOtherLocation\>", true)]
[TestCase(@"c:\SomeLocation\SomeOtherLocation", true)]
[TestCase(@"c:\SomeLocation\SomeOtherLocation\SomeFile.exe", true)]
[TestCase(@"\\SomeNetworkLocation\SomeFile.exe", true)]
public void WhenGivenQuerySearchString_ThenShouldIndicateIfIsLocationPathString(string querySearchString, bool expectedResult)