diff options
author | Robin Ebert <ebertrobin2002@gmail.com> | 2021-08-03 16:37:47 +0300 |
---|---|---|
committer | Jonathan White <support@dmapps.us> | 2021-08-23 02:23:16 +0300 |
commit | e8f2c9d126ac59aa65a1c3400aad83c97b38c9a7 (patch) | |
tree | 10c86c2538590dbb901daca3b27151e73cc7feac /tests/TestCli.h | |
parent | ec81d2bc3f86d203db1852d5bb29a8a2760f5539 (diff) |
CLI: Replace locate command with search
* Introduce search CLI command to replace locate command. Search can provide the same functionality but in a more fine-grained fashion
* Replace use of Group::locate in code: Use EntrySearcher in clip cli command best-match option. This removes the matching against group hierarchy of an entry which is kind of nonsense as clip expects exactly one match. Matching against groups can be done using search command.
* Remove obsolete Group::locate method
Diffstat (limited to 'tests/TestCli.h')
-rw-r--r-- | tests/TestCli.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/TestCli.h b/tests/TestCli.h index 1d294c1cc..299264dd7 100644 --- a/tests/TestCli.h +++ b/tests/TestCli.h @@ -65,7 +65,6 @@ private slots: void testHelp(); void testInteractiveCommands(); void testList(); - void testLocate(); void testMerge(); void testMergeWithKeys(); void testMove(); @@ -73,6 +72,7 @@ private slots: void testRemove(); void testRemoveGroup(); void testRemoveQuiet(); + void testSearch(); void testShow(); void testInvalidDbFiles(); void testYubiKeyOption(); |