Commit Graph

55 Commits

Author SHA1 Message Date
Tomas Groth
73221cef9b Remove and add screens without reloading screens. Do not show screen-change-popup when the settings form is visible. 2020-07-21 20:05:59 +00:00
Tomas Groth
cad3661c56 Refactor the appveyor setup 2020-07-10 19:45:00 +00:00
Tim Bentley
6eba3b7a3e Settings cleanup 2020-06-06 16:05:36 +00:00
Tim Bentley
d43811f38d Tests plugin 3 - and Fix #272 2020-03-08 21:45:42 +00:00
Tim Bentley
7d532778bd Tests plugin 2 2020-03-05 20:34:08 +00:00
Tim Bentley
8fa698d510 More fixes for broken tests
Skip one which never worked but relied on data leakage!
2020-03-04 06:06:47 +00:00
Tim Bentley
020661059f Migrate Display
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-02-01 21:12:07 +00:00
Tim Bentley
fa97550301 Migrate more plugins for settings
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-26 17:12:45 +00:00
Tim Bentley
6ea4893ad6 Change Year
Signed-off-by: Tim <tim.bentley@gmail.com>
2020-01-01 02:53:08 +00:00
Simon Hanna
bc51c7ca7f Do not test PyMuPDF if it's not installed
Fixes #288
2019-10-24 19:56:08 +02:00
1c4224e3d7 Skip certain tests if we're running on GitLab or AppVeyor 2019-10-18 16:54:00 +00:00
1e76868a23 Remove vim lines from files and add a .editorconfig for editors that support it 2019-10-10 15:28:16 +00:00
Phill
5482e70e6d Break out json and path refactors from fixes branch 2019-05-22 07:47:00 +01:00
Bastian Germann
3e23de5bbe Make pylint happy 2019-05-02 19:11:55 +02:00
Bastian Germann
1c23a1f372 Make PDF tests run for each backend 2019-05-02 15:12:45 +02:00
Bastian Germann
2ed038ee2e Make PyMuPDF mandatory for tests 2019-05-02 12:35:29 +02:00
Bastian Germann
be1a398f7b License change to GPL-3.0-or-later 2019-04-13 15:00:22 +02:00
a69ff65bfc Duh. Height 2019-03-26 10:03:09 -07:00
386985349d The width of the PDF is not the same as the width of the screen 2019-03-26 09:45:10 -07:00
136735c53f Get the screen resolution directly from Windows and X11, or return the previous resolution 2019-03-25 15:16:45 -07:00
efa446a356 Get the screen resolution directly from macOS, or return the previous resolution 2019-03-25 14:26:48 -07:00
Tomas Groth
fa4ec96054 Updated to 2019 in copyright headers 2019-02-14 16:09:09 +01:00
e58e0ee485 Fix all the tests 2018-11-30 22:52:49 -07:00
aa3b0c4bcc HEAD 2018-10-01 21:39:42 -07:00
Tim Bentley
162742927e head fixes 2017-12-29 10:19:33 +00:00
Tim Bentley
41f35f52e3 End of 2017 2017-12-29 09:15:48 +00:00
Tim Bentley
cfc487d623 tests 2017-12-28 08:27:44 +00:00
Phill Ridout
a4054d3c2c Move song test resources to a 'song' sub directory'
A few other minor changes
2017-12-24 08:42:46 +00:00
Tim Bentley
9e6ecb7272 fix errors 2017-12-24 07:11:30 +00:00
Tim Bentley
aee4f76093 functional more bits 2017-12-22 22:20:04 +00:00
Tim Bentley
19918d0aa9 functional more bits 2017-12-22 21:04:29 +00:00
Phill Ridout
9196db5af0 Pathlib refactors and test fixes 2017-11-18 11:23:15 +00:00
15a4a93c96 Phase 2 complete 2017-10-10 00:08:44 -07:00
b406cfd5a8 Phase 1 complete 2017-10-07 00:05:07 -07:00
Philip Ridout
7f98003d54 test fixes 2017-09-17 20:43:15 +01:00
baa09a7dd6 Mock comes with Python as of 3.3, and I don't think there is anyone using lower than 3.3, so let's use Python's mock directly now 2017-04-23 22:17:55 -07:00
Tim Bentley
74ca42e220 Yet another year goes by 2016-12-31 11:01:36 +00:00
672b8334fa Initial attempt to move to nose2 2016-05-31 23:40:13 +02:00
Tomas Groth
17fa45b1dd Added tests. 2016-05-04 22:58:44 +02:00
Tim Bentley
3a8b068af8 Year older 2015-12-31 22:46:06 +00:00
Jonathan Springer
7af1ca1d49 Migrate to PyQt5 2015-11-06 19:49:40 -05:00
Tomas Groth
1b332c1580 Fix PDF reader using wrong maindisplay size. 2015-06-10 17:05:29 +02:00
Phill Ridout
75dff3d2be HEAD 2015-01-22 17:31:00 +00:00
Phill Ridout
a64fdd8697 fix tests 2015-01-22 15:35:52 +00:00
ffcea13021 Updated the copyright. 2015-01-18 15:39:21 +02:00
Tim Bentley
f3c09af379 Years go by 2014-12-31 10:58:13 +00:00
551a10d311 Added and updated tests:
- Refactored FirstTimeForm to use an initalise() method, in order to be more testable
- Rewrote FTW tests to test initialise()
- Refactored TestMixin get_application() to setup_application() since it doesn't actually return an application object
- Refactored ListPreviewWidget to make it more testable
- Wrote tests for ListPreviewWidget
- Refactored FormattingTagsForm somewhat
- Updated FormattingTagsForm tests

Updated setup.py with some Python3 changes.
2014-10-22 22:43:05 +02:00
Tim Bentley
8813490bad fix tests 2014-04-04 21:24:11 +01:00
Tomas Groth
7ef62293f3 Added test 2014-04-03 22:22:10 +02:00
Tim Bentley
85111766d5 Migrate tests and add copyright 2014-03-14 22:08:44 +00:00