Commit graph

21 commits

Author SHA1 Message Date
Miguel Jacq
72d0c20aad Write settings json files out to unique files per test 2018-10-12 11:42:40 +11:00
Miguel Jacq
70b50827c2 Refactor tests to use proper inheritance of GuiReceiveTest/GuiShareTest (which inherit from GuiBaseTest). Prevent tests from auto-firing in these base objects. Clean up imported modules, rename files to end in _test.py 2018-10-12 11:28:47 +11:00
Miguel Jacq
bc90b7de93 Revert "Try and move local tests into main tests dir. Rename local tests. Save test settings to unique json files to avoid race conditions"
This reverts commit cd6931ec8c.
2018-10-11 16:07:16 +11:00
Miguel Jacq
cd6931ec8c Try and move local tests into main tests dir. Rename local tests. Save test settings to unique json files to avoid race conditions 2018-10-11 16:04:37 +11:00
Miguel Jacq
af97c131bd Refactor local tests to reuse most of their code 2018-10-11 15:09:27 +11:00
Micah Lee
186a174e62 Fix various bugs so local GUI tests pass again after merges 2018-10-10 18:45:55 -07:00
Micah Lee
5db8bd36b9 Merge branch '780_improved_ui' into 690_language_dropdown 2018-10-10 18:32:01 -07:00
Micah Lee
74c3a4d75c Merge branch 'develop' into 690_language_dropdown 2018-10-10 18:25:28 -07:00
Micah Lee
31ed23459b Merge in develop 2018-10-09 21:32:28 -07:00
Micah Lee
c316be91f0 Refactor CommonTests to pass in actual Mode objects, and fix all tests. Now all ShareMode tests pass 2018-10-07 20:37:54 -07:00
Micah Lee
9ccacb07e4 Start fixing the GUI tests. Also, refactor CommonTests to pass in a Mode object instead of the string "share" or "receive" 2018-10-07 18:49:09 -07:00
Micah Lee
acd2fcdf61 Fix the rest of the local GUI tests 2018-09-30 18:32:18 -07:00
Micah Lee
c7c3120a0c Fix tests_gui_local/onionshare_receive_mode_upload_test_public_mode.py tests 2018-09-30 18:19:25 -07:00
Micah Lee
7afee90cd2 Test the history indicator widget, in local GUI tests 2018-09-30 11:41:07 -07:00
Micah Lee
da970a4c1b Fix Tor tests so they pass, too 2018-09-30 10:57:13 -07:00
Miguel Jacq
c6b8c0aa95 Replace deprecated assertEquals with assertEqual in tests 2018-09-30 17:43:45 +10:00
Micah Lee
9fc17037e5 Begin refactoring Tor tests to inherit from local tests 2018-09-29 18:58:27 -07:00
Micah Lee
e9d1a88aa4 Fix local GUI tests so they pass 2018-09-29 18:24:11 -07:00
Micah Lee
a72d315ae8 Update Travis CI to run GUI tests 2018-09-27 21:19:42 -07:00
Micah Lee
111f69f30e Remove all the extra QApplications 2018-09-27 17:34:46 -07:00
Miguel Jacq
f6fafc0f5b Rename test dir to tests. Rename unit_tests to tests_gui_local. Add test dependencies. Update various paths. Add GUI unit tests docs to BUILD.md 2018-09-27 15:54:46 +10:00