Commit Graph

43 Commits

Author SHA1 Message Date
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
Tomas Groth
ed03ec2195 Fixes for tests on wine/windows 2014-03-13 21:59:10 +01:00
Jonathan Springer
6f05711414 Fixes settings initialization in tests to actually use temporary ini file. 2014-03-12 01:31:19 -04:00
Tim Bentley
1301b4cfa3 Fix up presentation tests 2014-03-04 20:18:14 +00:00
Tomas Groth
3cc69cc9fd Changed the way a serviceitem from the servicemanager is copied and converted. Also fixed for PEP8. 2013-12-31 12:15:18 +00:00
Tomas Groth
7dd3417217 Added tests for the PdfController. 2013-12-29 19:46:04 +00:00