Commit Graph

364 Commits

Author SHA1 Message Date
Samuel Mehrbrodt
75b885961e Add test for converting verse order to uppercase 2016-01-05 17:11:30 +01:00
Tim Bentley
3a8b068af8 Year older 2015-12-31 22:46:06 +00:00
Tomas Groth
b69bb5ce27 trunk 2015-12-26 10:00:48 +01:00
Tomas Groth
44a523631e Only import vlc in one place. Make it work with PyInstaller. 2015-12-13 21:35:23 +01:00
Jonathan Springer
6b35a99775 merge trunk 2015-12-01 17:07:00 -05:00
Jonathan Springer
609f5a8512 Fix projector tests 2015-12-01 14:47:46 -05:00
Jonathan Springer
7af1ca1d49 Migrate to PyQt5 2015-11-06 19:49:40 -05:00
Tomas Groth
585c319c8b Improved the robustness of the download-webbibles-form. Fixes bug 1489757.
Fixes: https://launchpad.net/bugs/1489757
2015-08-28 09:50:13 +01:00
Tim Bentley
1cfd33df30 Fix Jenkins, tests and spellings 2015-05-25 21:03:31 +01:00
dd9e12d2b5 Fixed an interface test, added some more VLC tests 2015-04-30 23:14:23 +02:00
Tim Bentley
1d82bc534c Add tests 2015-02-28 09:41:06 +00:00
Tomas Groth
4fb55448f8 Fixes for code and tests. 2015-02-26 20:58:54 +00:00
Tomas Groth
52f3695334 Initial support for fetching list of web bibles. Not used yet. 2015-02-17 22:58:29 +00:00
Tomas Groth
1e9430b435 Fix bug 1414980: Make xml parsing of presentation manager files recover if errors are encountered.
Fix bug 1414978: Set the cursor back to normal after deleting a presentation.
Fix bug 1410738: Added a cancel-button to FTW when no internet is available. 
Fix bug 1412517: Fix support for 'end' mark in bible-search.

bzr-revno: 2495
Fixes: https://launchpad.net/bugs/1414978, https://launchpad.net/bugs/1414980, https://launchpad.net/bugs/1410738, https://launchpad.net/bugs/1412517
2015-02-10 21:24:33 +02:00
93ce2caf34 Fix invalid call to QMessageBox() when user wants to delete user-defined source text.
bzr-revno: 2491
2015-01-31 14:18:19 +00:00
Tomas Groth
4c53cb5184 Added tests 2015-01-29 20:54:06 +00:00
Phill Ridout
051db41e20 removed python3 string 2015-01-22 17:42:29 +00:00
Phill Ridout
7750f1ec11 Correct the rest of the headers 2015-01-22 13:31:25 +00:00
de213b0f66 Copyright cleanup time,
bzr-revno: 2479
2015-01-19 08:34:29 +00:00
44bf096bbb Source edit form button test 2015-01-18 20:24:45 -08:00
ffcea13021 Updated the copyright. 2015-01-18 15:39:21 +02:00
Tomas Groth
dc3cd41576 Use a in-memory sqlite DB for projector test, instead of filebased. Fixes a filelock issue in windows tests. 2015-01-14 11:57:54 +01:00
8758020568 HEAD 2015-01-11 17:02:32 +02:00
Ken Roberts
3a9b61d9dc Remove old testing framework in setup() 2015-01-06 16:36:39 -08:00
Ken Roberts
093f853fd9 Remove testing api (not needed anymore) 2015-01-05 10:54:44 -08:00
Ken Roberts
2e9f274027 Fix test db temp file for windows, projector edit form notes clearing 2015-01-05 10:36:10 -08:00
Ken Roberts
ba66618ca0 Bump other copyright year 2015-01-04 09:45:10 -08:00
Ken Roberts
15f1381de8 Upstream merges 2015-01-04 09:38:59 -08:00
Ken Roberts
5006fb238d Bump copyright year 2015-01-04 09:31:15 -08:00
Tim Bentley
f3c09af379 Years go by 2014-12-31 10:58:13 +00:00
e89558da39 Fix label text for CCLI
bzr-revno: 2463
2014-12-31 10:26:50 +00:00
Ken Roberts
ff185523e1 Test for bug 1404967 2014-12-29 09:41:45 -08:00
Tomas Groth
795977b094 Make bible text parsing a bit more rebust, fixes bug 1404865.
Fixes: https://launchpad.net/bugs/1404865
2014-12-23 22:09:34 +00:00
Ken Roberts
cfc0322eaf Test for projectoredit form 2014-12-18 11:06:25 -08:00
b2f6eaf7d4 [Fix #1386913] "Discard" option in projector-select input option should only be for editing source input text
- Fix "Discard" and "Reset" dialog buttons calling wrong functions (swapttped)
- Fix dialog title text to reflect proper "Select" or "Edit" title
- Fix tabbed dialog width to be consistent
- Added calls to translate for user text
- Added basic test for openlp.core.ui.projector.sourceselectform

bzr-revno: 2457
Fixes: https://launchpad.net/bugs/1386913
2014-12-14 22:34:52 +02:00
Tomas Groth
6ebc08d0d9 Attempt to fix crash in test 2014-12-02 09:46:50 +00:00
Tomas Groth
e9410de13c Revert attempted fixes to projector tests. Just don't use windows... 2014-12-01 08:33:16 +00:00
Tomas Groth
7d2f2d147c Another projector test fix attempt 2014-12-01 08:22:17 +00:00
Tomas Groth
6af0aef8bd Another attempt to fix projector test across platforms and versions 2014-11-28 10:53:39 +00:00
Tomas Groth
612041dafa Remove unnecessary start of patch in test 2014-11-28 08:26:33 +00:00
Tomas Groth
9b731aad7a Fix projector tests on windows 2014-11-27 21:40:56 +00:00
c33cf2b5b5 We need to remove the service manager from the Registry in tearDown 2014-11-27 01:45:17 +02:00
cbb5630ba5 See if this fixes things on CI 2014-11-27 01:39:31 +02:00
049ca7e9d2 Go back to deleting everything, as it seems to yield the best result 2014-11-27 01:34:48 +02:00
d28e838fa6 Empty methods need a pass statement 2014-11-26 23:32:22 +02:00
d978f12630 Try something ridiculous, like removing all the deletes 2014-11-26 22:56:21 +02:00
Ken Roberts
ea14deaa87 Fix quotes 2014-11-26 09:24:05 -08:00
bca75efe53 Playing around 2014-11-24 23:37:57 +02:00
e537abf916 Lets try this again 2014-11-24 23:34:10 +02:00
7f84fac9e5 Introduced a problem on CI it seems. 2014-11-24 23:22:24 +02:00
fbaad51811 Try to fix the segfault 2014-11-24 23:18:32 +02:00
Tim Bentley
f4ff654a65 If invlaid bible name stop searching
Fixes: https://launchpad.net/bugs/1290246
2014-11-22 20:26:59 +00:00
Ken Roberts
84f104b7f8 Test for bug 1390702 2014-11-08 18:54:08 -08:00
Ken Roberts
f2cd0a9743 Fix "Discard" and "Reset" button calls, pep8 2014-11-07 14:44:40 -08:00
Ken Roberts
c89b54e4a4 Add basic test for projector.sourceselectform 2014-11-07 14:24:20 -08:00
Ken Roberts
e8e6410d45 Fix test suite change 2014-10-24 12:17:12 -07:00
Ken Roberts
f81903bbcf Merge upstream 2014-10-23 15:16:38 -07: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
Ken Roberts
b38921a90b Code cleanups 2014-10-21 14:40:47 -07:00
Ken Roberts
d914deacd2 Fix projector test cleanups 2014-10-21 08:41:09 -07:00
Ken Roberts
81f6214cc5 pep8 2014-10-21 08:21:19 -07:00
Ken Roberts
232f048616 fix call to changed function 2014-10-21 08:17:27 -07:00
Ken Roberts
8fcba0aa65 fix call to changed function 2014-10-21 08:15:20 -07:00
Ken Roberts
ed4605be61 Remove old test db file in case of schema changes 2014-10-21 08:12:43 -07:00
Ken Roberts
f9f4296acf Missed ProjectorEditForm import for test 2014-10-16 11:25:08 -07:00
Ken Roberts
81e7798c50 Change test from wizard to edit form 2014-10-16 11:22:34 -07:00
Ken Roberts
7545fb534f Fix changed imports in mockups 2014-10-06 14:19:08 -07:00
Ken Roberts
0227e0a2bd Initial projector code 2014-10-06 12:10:03 -07:00
Tomas Groth
98c41ae586 Mock device detection during test. 2014-09-08 21:58:42 +01:00
Tomas Groth
79ef9315d5 Added a test 2014-09-08 21:49:33 +01:00
Tomas Groth
df28a6799b trunk 2014-09-02 21:17:56 +01:00
Tomas Groth
62811d660f Implemented a workaround for bug1251437
Fixes: https://launchpad.net/bugs/1251437
2014-08-27 10:43:18 +02:00
86291d0c41 Round 1 of media clip dialog refresh 2014-08-21 01:35:24 +02:00
Tomas Groth
44eccb8360 trunk 2014-06-16 09:01:12 +02:00
Tomas Groth
d424270b7f Fixed locating mudraw on windows and mac, and enabled presentationplugin on mac. 2014-05-30 11:21:26 +02:00
Tomas Groth
d9c6e2a228 trunk 2014-05-21 17:56:57 +02:00
Tim Bentley
f21d3cfa83 fix tests 2014-05-03 20:32:19 +01:00
Andreas Preikschat
2ba7fa4f44 head 2014-05-01 18:58:32 +02:00
Andreas Preikschat
3f75a913e2 removed not working tests 2014-05-01 18:57:45 +02:00
Andreas Preikschat
5a2793bc50 head 2014-04-26 10:19:12 +02:00
Tomas Groth
074ab4b1bb Head 2014-04-22 22:18:58 +02:00
Tomas Groth
7980231273 Skip tests on windows. 2014-04-22 22:13:36 +02:00
Andreas Preikschat
79d3e95c32 pep8 fixes 2014-04-20 16:13:09 +02:00
Andreas Preikschat
85c2179102 added test 2014-04-20 16:03:07 +02:00
Tomas Groth
f6231e024a Head 2014-04-20 15:57:12 +02:00
Samuel Mehrbrodt
bb1af7ed00 PEP8 2014-04-16 21:56:54 +02:00
Stefan Strasser
5e1a7ce767 replaced all occurrences of the deprecated alias assertEquals() with assertEqual() 2014-04-15 07:28:51 +02:00
Dmitriy Marmyshev
3cf9094e5f Added ability to rename items in ServiceManager.
bzr-revno: 2352
2014-04-12 23:26:09 +02:00
Andreas Preikschat
d16d8066ad - updated vlc.py
bzr-revno: 2349
2014-04-12 16:37:38 +02:00
Tomas Groth
f16a781309 Changed the clipselector gui a bit. 2014-04-09 22:24:19 +02:00
Tomas Groth
aefef04d97 Small fixes. Added checks of start/end times. 2014-04-07 23:08:48 +02:00
Samuel Mehrbrodt
d1ab85d2fc Trunk 2014-04-07 15:51:49 +02:00
Tomas Groth
bc2d45fc30 Head 2014-04-05 15:27:53 +02:00
Tomas Groth
43f18ee2c9 Added some tests. 2014-04-05 09:46:35 +02:00
Tim Bentley
151f1017c5 finished 2014-04-02 20:35:09 +01:00
Tim Bentley
806ce25296 head 2014-04-02 19:51:36 +01:00
Tim Bentley
c38c576f94 test fixes 2014-04-02 19:51:21 +01:00
Samuel Mehrbrodt
a7dc47e80f Test 2014-03-31 21:07:54 +02:00
Andreas Preikschat
5a02ab9471 test: splash screen test 2014-03-31 16:07:05 +02:00
Tomas Groth
73304d7ec3 Added check to see if given path exists. 2014-03-30 21:32:41 +02:00
Andreas Preikschat
b4bf94a4f0 pep8 2014-03-28 21:41:27 +01:00
Andreas Preikschat
7787e1a845 head 2014-03-28 21:38:38 +01:00
Tomas Groth
19558e7a03 head 2014-03-26 19:39:54 +01:00
Tomas Groth
8ad47cb888 Fixes for windows tests and for starting OpenLP on windows. 2014-03-24 17:49:50 +01:00
Andreas Preikschat
fcf4d0ce17 missing line at the end 2014-03-23 11:53:11 +01:00
Andreas Preikschat
7a1825a79a tests 2014-03-23 11:49:03 +01:00
Tomas Groth
3608ad4fcd Added first tests for mediaclipselectorform.py 2014-03-20 22:52:53 +01:00
Tim Bentley
22e9d6d1a9 Head 2014-03-17 07:14:51 +00:00
Tim Bentley
86bbc0d66c Migrate new tests to mixins 2014-03-15 06:29:41 +00:00
Tim Bentley
9cf3428542 Head 2014-03-15 06:25:35 +00:00
Tim Bentley
85111766d5 Migrate tests and add copyright 2014-03-14 22:08:44 +00:00
Tim Bentley
1fa0d58f85 Tests 2014-03-14 20:06:24 +00:00
Tim Bentley
4e834f6d70 Head 2014-03-14 17:37:28 +00:00
Tim Bentley
c2a429c52d Space 2014-03-14 17:35:00 +00:00
Tim Bentley
d2efa83e89 Head 2014-03-14 17:34:36 +00:00
Tomas Groth
df69ff37aa minor cleanup 2014-03-13 22:16:38 +01:00
Tomas Groth
ed03ec2195 Fixes for tests on wine/windows 2014-03-13 21:59:10 +01:00
Tim Bentley
17f33712db minor fixes 2014-03-13 20:37:02 +00:00
Tim Bentley
9051692dba Mixin for tests 2014-03-13 20:34:46 +00:00
Jonathan Springer
af5e751d27 Merge trunk 2014-03-12 18:15:08 -04: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
ff44daa258 Yet more tests - with file 2014-03-11 20:11:04 +00:00
Tim Bentley
a74567b9f6 Bible database tests 2014-03-11 19:01:09 +00:00
Tomas Groth
2b55da02c1 Reuse QApplication instance to avoid segfaults. 2014-03-10 20:56:36 +01:00
Tim Bentley
4c7fa599c6 Add app to test 2014-01-04 08:28:45 +00:00
Tim Bentley
06e68627d7 Head 2014-01-04 07:54:50 +00:00
Tim Bentley
8518207417 Fix up test failures 2014-01-01 14:59:57 +00:00
Tim Bentley
259b2b074f Fix widget 2013-12-31 21:02:35 +00:00
Tim Bentley
51178b2ede Fix tests 2013-12-31 20:29:03 +00:00
Tim Bentley
e49beeb2c4 More tests 2013-12-31 07:27:07 +00:00
Tim Bentley
c8a3b33044 Start to fix ServiceManager and extent tests 2013-12-30 19:50:34 +00:00
Tim Bentley
e6bcf7d852 Head and fix confilcts 2013-12-28 21:33:38 +00:00
Tim Bentley
6d8b5cadb4 Lib cleanup and 2014 2013-12-24 08:56:50 +00:00
Tim Bentley
cd9f9e4c8d move registry to common 2013-12-13 17:44:05 +00:00
Tim Bentley
9fd590bb70 clean up tests 2013-12-06 19:07:02 +00:00
Tim Bentley
d0a9423982 Head 2013-12-06 19:00:55 +00:00
Tim Bentley
f32409b5a5 format changes 2013-12-06 19:00:37 +00:00
Andreas Preikschat
6a839dc32a no need for MagicMock (inside another MagicMock)
bzr-revno: 2308
2013-10-26 21:03:57 +02:00
Tim Bentley
b1873016c9 Move and tests 2013-10-23 20:25:46 +01:00
Andreas Preikschat
ea8497d559 no need for MagicMock 2013-10-21 09:38:18 +02:00
Tim Bentley
b794623e7f Head 2013-10-14 05:55:20 +01:00
Tim Bentley
63685cb29e Move Settings and translate 2013-10-13 21:36:42 +01:00
5481a4718d HEAD, and futher fixing of mock imports 2013-10-04 23:45:38 +02:00
Tim Bentley
8f47af1732 Head 2013-09-26 22:06:57 +01:00
Tim Bentley
539ed55777 More cleanups 2013-09-14 22:00:58 +01:00
Tim Bentley
b868ecc57d remove reminances of cherrypy 2013-09-14 20:16:14 +01:00
Jeffrey S. Smith
334cef478d Fix various tests and broken code revealed by tests 2013-09-09 16:10:40 -05:00
Andreas Preikschat
3e1a863bae 2to3 and resources.py 2013-08-31 20:17:38 +02:00
Tim Bentley
ba111776ed Remove pickle from the code now 2.0.2 is in 2013-08-25 19:31:15 +01:00
Andreas Preikschat
6e66cdefcf clean ups 2013-07-17 16:19:21 +02:00