TestGroup.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * Copyright (C) 2023 KeePassXC Team <team@keepassxc.org>
  3. * Copyright (C) 2010 Felix Geyer <debfx@fobos.de>
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 2 or (at your option)
  8. * version 3 of the License.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef KEEPASSX_TESTGROUP_H
  19. #define KEEPASSX_TESTGROUP_H
  20. #include "core/Database.h"
  21. class TestGroup : public QObject
  22. {
  23. Q_OBJECT
  24. private slots:
  25. void initTestCase();
  26. void init();
  27. void cleanup();
  28. void testParenting();
  29. void testSignals();
  30. void testEntries();
  31. void testDeleteSignals();
  32. void testCopyCustomIcon();
  33. void testClone();
  34. void testCopyCustomIcons();
  35. void testFindEntry();
  36. void testFindGroupByPath();
  37. void testPrint();
  38. void testAddEntryWithPath();
  39. void testIsRecycled();
  40. void testCopyDataFrom();
  41. void testEquals();
  42. void testChildrenSort();
  43. void testHierarchy();
  44. void testApplyGroupIconRecursively();
  45. void testUsernamesRecursive();
  46. void testMoveUpDown();
  47. void testPreviousParentGroup();
  48. void testAutoTypeState();
  49. };
  50. #endif // KEEPASSX_TESTGROUP_H