|
1 |
| -using Flow.Launcher.Plugin.SharedCommands; |
| 1 | +using Flow.Launcher.Plugin.SharedCommands; |
2 | 2 | using NUnit.Framework;
|
3 | 3 |
|
4 | 4 | namespace Flow.Launcher.Test
|
@@ -37,15 +37,15 @@ public class FilesFoldersTest
|
37 | 37 | [TestCase(@"c:\foo", @"c:\foo", false)]
|
38 | 38 | [TestCase(@"c:\foo\", @"c:\foo", false)]
|
39 | 39 | [TestCase(@"c:\foo", @"c:\foo\", false)]
|
40 |
| - public void TestPathContains(string parentPath, string path, bool expectedResult) |
| 40 | + public void GivenTwoPaths_WhenCheckPathContains_ThenShouldBeExpectedResult(string parentPath, string path, bool expectedResult) |
41 | 41 | {
|
42 | 42 | Assert.AreEqual(expectedResult, FilesFolders.PathContains(parentPath, path));
|
43 | 43 | }
|
44 | 44 |
|
45 | 45 | [TestCase(@"c:\foo", @"c:\foo", true)]
|
46 | 46 | [TestCase(@"c:\foo\", @"c:\foo", true)]
|
47 | 47 | [TestCase(@"c:\foo", @"c:\foo\", true)]
|
48 |
| - public void TestPathContainsWhenEqual(string parentPath, string path, bool expectedResult) |
| 48 | + public void GivenTwoPathsAreTheSame_WhenCheckPathContains_ThenShouldBeTrue(string parentPath, string path, bool expectedResult) |
49 | 49 | {
|
50 | 50 | Assert.AreEqual(expectedResult, FilesFolders.PathContains(parentPath, path, true));
|
51 | 51 | }
|
|
0 commit comments