Пример #1
0
        public void RunCommandsShouldNotBeFilteredOnExactMatch(string query)
        {
            // Partial matches should be filtered as cmd is not equal to cmder
            Assert.IsFalse(_cmderRunCommand.QueryEqualsNameForRunCommands(query));

            // the query matches the name (cmd) and is therefore not filtered (case-insensitive)
            Assert.IsTrue(_cmdRunCommand.QueryEqualsNameForRunCommands(query));
        }
Пример #2
0
 public void Win32ApplicationsShouldNotFilterWhenExecutingNameOrNameIsUsed(string query)
 {
     // Even if there is an exact match in the name or exe name, win32 applications should never be filtered
     Assert.IsTrue(_fileExplorer.QueryEqualsNameForRunCommands(query));
 }
Пример #3
0
 public void Win32ApplicationsShouldNotBeFilteredWhenFilteringRunCommands(string query)
 {
     // Even if there is an exact match in the name or exe name, win32 applications should never be filtered
     Assert.IsTrue(_commandPrompt.QueryEqualsNameForRunCommands(query));
 }