Jonathan White
5f1b9a17ca
Fix testgui for Windows (PR #137 )
...
Introduces TemporaryFile class to act as a proxy to fix autoreload test cases failing on windows due to the behavior of QTemporaryFile.
2017-01-03 22:27:41 -05:00
thez3ro
298665e32a
Improve UI of the search edit #131
2016-12-23 18:13:08 +01:00
Akinori MUSHA
d0a3c08840
Improve UI of the search edit (resurrecting 5c7c7f54
)
...
- The copy action (Control+C) when no text is selected copies the
password of the current entry. This should be reasonable when
Control+B copies the username.
- Down at EOL moves the focus to the entry view. Enter and Tab should
do that, but it would be handy for user to be able to get to the third
entry by hitting Down three times.
2016-12-22 17:16:59 +09:00
Jonathan White
791a749c2f
Search scopes to currently selected group (and children) ( #118 )
...
* Added test cases for case sensitive and group search
2016-11-28 19:02:21 -05:00
Jonathan White
3d249365c2
Merge remote-tracking branch 'origin/feature/autoreload-db' into develop
2016-11-25 12:04:44 -05:00
Jonathan White
7fb33653ad
Implemented major autoreload functionality
...
* Ignore autoreload on save / save-as
* Consolidated db save code
* Corrected bug (crash) in merge entry code due to not cloning the entry
* Enhanced known modified status of database
* Implemented test cases for autoreload
2016-11-25 12:03:36 -05:00
TheZ3ro
b2f3cc6903
Add some password-related feature ( #92 )
...
* Add Standalone Password Generator. Closes #18
* Add an entropy meter for passwords. Closes #84
* Don't require password repeat when it is visible. Fixes #27
2016-11-23 21:59:24 -05:00
Jonathan White
e25cd9ba48
Add Merge database utility function ( #47 )
...
Thank you to @TheZ3ro and @monomon for there major contributions to this PR!
2016-11-07 22:37:42 -05:00
Jonathan White
13983d0e51
Make search always visible (PR #67 )
...
* Moved search bar to toolbar and consolidated search options into dropdown list
* Updated GUI tests to be atomic and rewrote search tests
* Searches are saved between databases
* Search is cleared when all databases are closed
* Implemented global search shortcut (CTRL+F) and a notification bar when in search mode
2016-11-02 21:01:02 -04:00
Felix Geyer
ad834f0f58
Merge branch '2.0'
2016-10-02 21:45:55 -04:00
Felix Geyer
878995366a
Ask the user before moving an entry to the recycle bin.
...
Closes #447
2016-09-02 12:00:12 +02:00
Felix Geyer
ecfbf72a57
Merge branch '2.0'
2015-12-15 21:05:00 +01:00
Felix Geyer
0c36c40a5d
Make TestGui work with offscreen QPA.
...
For some reason hasFocus() returns true here.
Use isVisible() instead as it's a stronger check anyway.
2015-11-01 13:37:03 +01:00
Felix Geyer
c8ae31a248
Remove backported Qt5 test macros.
2015-09-23 22:21:21 +02:00
Felix Geyer
5a13402b51
Activate window in TestGui.
...
It doesn't seem to get the focus automatically when run inside Xvfb.
QTRY_VERIFY(searchEdit->hasFocus()) failed as a result of this.
2015-09-12 23:12:17 +02:00
Felix Geyer
625e9a2547
Make TestGui agnostic to added "&" in tab title.
...
Fixes tests on OS X / Qt 5.5.0.
2015-09-12 15:48:38 +02:00
Felix Geyer
a71e25a8ba
Fix GUI tests.
2015-09-12 13:51:49 +02:00
Felix Geyer
c714fc89f1
Add missing include statements.
2015-09-12 13:51:49 +02:00
Akinori MUSHA
b773dbe645
Test if hitting the Down key moves the focus to the entry view.
2015-08-05 19:02:17 +09:00
Felix Geyer
3d1c27ceb7
Copy the database in TestGui before opening it.
...
We don't want to create lock files in the source tree.
2015-07-19 19:33:47 +02:00
Felix Geyer
9e051e835b
Close databases when they are locked.
...
Previously we've only hidden access to them.
Closes #275
2015-04-05 10:38:36 +02:00
Akinori MUSHA
dd79105baa
Complete remove the toggle search action.
2014-11-19 11:46:38 +09:00
Akinori MUSHA
b1c3814972
Make Ctrl+F not toggle the search mode but always enable it.
...
Switching back from other applications, the previous behavior of Ctrl+F
would often bother you in that it would dismiss the search widget if it
was already enabled when you meant by the key you wanted to perform a
search.
Making Ctrl+F always set you in search mode should save user from having
to care about the mode which is persistent across application switching
and database locking.
2014-11-18 19:46:53 +09:00
Felix Geyer
0d6117bf4c
Do some basic self-checks when initializing the crypto backend.
2014-06-15 11:17:40 +02:00
Felix Geyer
9ac01c930d
Drop DatabaseWidget::groupView() and entryView().
2014-05-17 11:21:17 +02:00
Felix Geyer
1fce1ac905
Remove wrong check in TestGui.
...
When the window is not wide enough some actions are hidden.
2013-12-08 16:11:49 +01:00
Felix Geyer
b64276c4e8
Make use of the TestGui::clickIndex() helper function.
2013-10-08 22:40:47 +02:00
Felix Geyer
f7dd63a126
Add gui tests for deleting entries from the recycle bin.
2013-10-08 22:36:27 +02:00
Felix Geyer
a68a86f19b
Test that the delete action moves entries to the recycle bin.
2013-10-08 22:14:02 +02:00
Felix Geyer
984b23de70
Add tests for the multi-entry delete feature.
2013-10-08 22:11:40 +02:00
Felix Geyer
6504b6f2bd
Drop Qt module name from include statements.
...
This is a preparation to be able to build KeePassX against Qt 5.
2013-10-03 15:18:16 +02:00
Felix Geyer
9144765d56
Use a fixed sleep call instead of QTest::qWaitForWindowShown().
...
The latter seems to be broken and always seeps until it hits
the timeout (2s).
2012-11-02 15:43:45 +01:00
Felix Geyer
8b8e55aa17
Store the filename instead of a QTemporaryFile in TestGui.
...
On Windows QTemporaryFile keeps the file handle open
which conflicts with QSaveFile.
2012-10-22 17:52:08 +02:00
Felix Geyer
e166722026
Implement database locking.
...
Closes #35
2012-10-12 12:12:00 +02:00
Felix Geyer
6b13d18137
Rename KEEPASSX_QTEST_CORE_MAIN to QTEST_GUILESS_MAIN which is available in Qt 5.
2012-07-25 12:18:16 +02:00
Felix Geyer
2185afefed
Speed up TestGui by removing unnecessary waits.
...
Backport QTRY_VERIFY and QTRY_COMPARE from Qt 5.
2012-07-25 12:18:16 +02:00
Felix Geyer
edb644baef
Add TestGui::testCloneEntry().
2012-07-22 22:02:06 +02:00
Felix Geyer
4781fc19fe
Add a few drag'n'drop tests.
2012-07-17 23:29:25 +02:00
Felix Geyer
f767a098d6
Add GUI test for changing the database transform rounds.
...
Refs #34
2012-07-17 10:56:56 +02:00
Felix Geyer
2b694bab16
Refactor TestGui a bit.
2012-07-17 10:16:59 +02:00
Felix Geyer
3c913f196f
In TestGui::testEditEntry() wait for the delayed Database::modified() signal.
2012-07-16 17:37:59 +02:00
Felix Geyer
2e38b01d80
Add Save and SaveAs gui tests.
2012-07-06 19:21:19 +02:00
Felix Geyer
e050385e27
Increase wait time in TestGui::testSearch() a bit.
2012-07-02 22:12:07 +02:00
Felix Geyer
dedce07530
Add KeePass1 import GUI test.
2012-06-29 15:54:34 +02:00
Felix Geyer
92af92ccbe
Convert DatabaseOpenDialog into a widget on DatabaseWidget.
2012-06-29 10:36:35 +02:00
Florian Geyer
dad4376030
Fix typo.
2012-06-25 00:09:40 +02:00
Florian Geyer
204822b66f
Improve auto save handling.
2012-06-24 19:30:30 +02:00
Florian Geyer
a720903083
Use temporary settings file for gui test.
2012-06-14 23:07:49 +02:00
Felix Geyer
bde397503e
Coding style fixes.
2012-05-21 11:57:29 +02:00
Florian Geyer
9faf550fa1
Use line edit widget for search edit.
2012-05-20 21:09:34 +02:00
Florian Geyer
e4a5cd214f
Improve search.
...
Find as you type.
Add shortcut.
Hide search widgets when not used.
Refs #24
2012-05-20 12:57:50 +02:00
Felix Geyer
7ebee78c75
Create src/gui/{entry,group}/ and move corresponding files to these dirs.
2012-05-16 10:22:04 +02:00
Florian Geyer
b08d2d45b7
Add gui test for search.
2012-05-16 10:18:27 +02:00
Florian Geyer
6b6c109903
Add search.
...
Refs #24
2012-05-13 19:21:10 +02:00
Felix Geyer
8faac078fd
Make EntryView sortable.
2012-05-11 12:01:01 +02:00
Florian Geyer
44489bf6f8
Fix creation of history item when a new entry is added.
...
Add corresponding gui test.
2012-05-11 09:16:45 +02:00
Felix Geyer
fdf4ab9d76
Improve TestGui::testEditEntry().
...
Simulate mouse click on the actual edit action widget.
Make sure that the edit entry widget is active after triggering the entry edit.
2012-04-26 17:52:02 +02:00
Felix Geyer
2e011d5362
Improve code style.
2012-04-18 22:08:22 +02:00
Felix Geyer
3baaf6be97
Add TestGui::testEditEntry().
...
This tests that the database isn't marked as modified when we don't change
anything but still press the Ok button.
2012-04-14 20:31:35 +02:00
Felix Geyer
9d1838a0fe
Rename KeyOpenDialog to DatabaseOpenDialog.
2012-04-05 18:31:12 +02:00
Felix Geyer
a61057d7f6
Core tests instantiate QCoreApplication instead of QApplication.
...
This way they can be used without a running X server.
2012-01-01 22:04:27 +01:00
Florian Geyer
ccc8725bb3
Clean up gui test.
2011-12-29 20:10:19 +01:00
Felix Geyer
4da6da8828
Add a GUI unit test.
2011-12-26 19:18:21 +01:00