Commit Graph

364 Commits

Author SHA1 Message Date
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
Tim Bentley
3f1d2c1c21 Fix up tests 2013-07-14 06:56:11 +01:00
Tim Bentley
94e8b90c5d Added first test 2013-07-13 17:33:32 +01:00
Andreas Preikschat
15c1c6d907 head + conflicts 2013-07-03 22:20:12 +02:00
Andreas Preikschat
f4b9ffc481 - fixes bug #1170435 (We should not warn when verse order is empty)
bzr-revno: 2260
Fixes: https://launchpad.net/bugs/1170435
2013-06-30 19:42:02 +02:00
Andreas Preikschat
4f8d93638b fixes 2013-06-21 20:13:59 +02:00
Andreas Preikschat
6265ce93de fixed tests 2013-06-21 12:16:50 +02:00
Andreas Preikschat
45313cb450 head 2013-06-16 19:20:51 +02:00
Andreas Preikschat
5cce4c9443 head 2013-06-16 18:40:47 +02:00
Tim Bentley
bb36a67ac2 Move tests 2013-06-16 14:36:09 +01:00
Patrick Zimmermann
d5cd4aaa91 Merge master. 2013-06-14 22:38:37 +02:00
Andreas Preikschat
6ddbdc196d fixed spelling 2013-06-01 20:19:53 +02:00
Andreas Preikschat
1290b85abe removed test 2013-06-01 16:49:47 +02:00
Andreas Preikschat
20c200cf07 added test 2013-05-12 11:38:25 +02:00
Andreas Preikschat
0122ac64f2 fixed test 2013-05-11 19:24:03 +02:00
Andreas Preikschat
32957eca0c removed dead code 2013-05-09 21:38:57 +02:00
Andreas Preikschat
4ee6d014ff release the key 2013-05-08 22:13:33 +02:00
Andreas Preikschat
7e41362ca2 completed test 2013-05-08 22:05:54 +02:00
Andreas Preikschat
9a068f5144 started with test 2013-05-06 09:43:19 +02:00
Patrick Zimmermann
c0d722e63a Name listpreviewwidget test class correctly. 2013-04-27 12:06:08 +02:00
Patrick Zimmermann
46882beefe Add tests for the listpreviewwidget. 2013-04-27 12:00:46 +02:00
Andreas Preikschat
3f60c34440 head 2013-04-20 22:30:51 +02:00
Andreas Preikschat
ab9e0d7ba2 - removed General section and introduced a Core section
- added test

bzr-revno: 2234
Fixes: https://launchpad.net/bugs/1133237
2013-04-20 22:19:53 +02:00
Andreas Preikschat
c0d67ab45f fixed method name 2013-04-18 20:28:11 +02:00
Andreas Preikschat
31aaafa254 clean ups 2013-04-18 20:27:54 +02:00
Andreas Preikschat
e7f553afb1 added test 2013-04-18 20:27:22 +02:00
Andreas Preikschat
0fb24d2233 added tests 2013-04-17 20:33:44 +02:00
Tim Bentley
220681c900 Comment fixes 2013-04-14 16:59:57 +01:00
Andreas Preikschat
d504b314ef removed not needed mocks and calls 2013-04-08 20:30:11 +02:00
Andreas Preikschat
352d8da185 head 2013-04-08 20:24:46 +02:00
Tim Bentley
31b4e561b4 Fix up code review change 2013-04-08 17:53:11 +01:00
Tim Bentley
e36706e3ec Head 2013-04-05 20:37:56 +01:00
Andreas Preikschat
131b46edef - use QActionGroup instead of Checkboxes (Bug #1103906 'Auto Play Slides menu should use radioboxes')
bzr-revno: 2227
Fixes: https://launchpad.net/bugs/1103906
2013-04-05 11:04:38 +02:00
Andreas Preikschat
ceb175e372 head 2013-03-31 19:21:12 +02:00
Andreas Preikschat
a0eed25c64 remove pyc 2013-03-31 19:20:53 +02:00
Andreas Preikschat
a0bdbd55be removed obsolete line 2013-03-30 16:39:20 +01:00
Andreas Preikschat
a9cb8b07a7 fixed assertion test 2013-03-30 15:47:38 +01:00
Andreas Preikschat
906c090e8d added test 2013-03-30 15:45:02 +01:00
Andreas Preikschat
c732a70fb2 removed extra line 2013-03-30 10:50:04 +01:00
Andreas Preikschat
85f64ddae6 fixed test order 2013-03-30 10:46:32 +01:00
Andreas Preikschat
c4448a402b added test 2013-03-30 10:01:21 +01:00
Andreas Preikschat
f715810ce9 added test 2013-03-30 09:46:34 +01:00
Tim Bentley
25d74260ce Add tests for the server 2013-03-30 06:56:28 +00:00
Andreas Preikschat
a69323ea89 fixed auto preview of next service item 2013-03-29 13:40:04 +01:00
Tim Bentley
6cd384e028 Fix up tests 2013-03-29 09:32:46 +00:00
Tim Bentley
31847abf2a Head and confilicts 2013-03-29 08:25:33 +00:00
Andreas Preikschat
48ffb04f5d moved tests 2013-03-29 07:25:01 +01:00
Andreas Preikschat
ffd409d24e wording 2013-03-28 23:12:09 +01:00
Andreas Preikschat
219ab48277 enabled test again 2013-03-28 23:10:24 +01:00
Andreas Preikschat
94b926d273 added test 2013-03-28 23:08:14 +01:00
Andreas Preikschat
818fa36734 fixed comment 2013-03-28 22:24:19 +01:00
Andreas Preikschat
06cf4e1cd6 fixed spelling 2013-03-28 21:23:53 +01:00
Andreas Preikschat
30a7034ac9 fixed regression + added test for it 2013-03-28 21:03:58 +01:00
Raoul Snyman
697639db41 Fixed up an issue with some tests that arose in the merge from HEAD 2013-03-18 13:58:52 +02:00
Raoul Snyman
e06d26e743 HEAD 2013-03-18 13:23:29 +02:00
Raoul Snyman
a3f1769818 HEAD 2013-03-18 12:16:50 +02:00
Tim Bentley
fdf705f94d change the tests 2013-03-17 20:20:43 +00:00
Tim Bentley
9f8b236f90 With tests 2013-03-17 17:37:19 +00:00
1a37d306a9 More cleanups 2013-03-15 00:22:18 +02:00
Raoul Snyman
55ea69295a Merge from upstream 2013-03-14 15:59:48 +02:00
Raoul Snyman
470e48c65a Some more cleanups and an empty test. 2013-03-13 09:08:41 +02:00
Tim Bentley
c2692b76ea fix field names 2013-03-12 09:37:27 +00:00
Tim Bentley
7efe1320fb Fix theme handling 2013-03-12 09:09:42 +00:00
Tim Bentley
762a99dd66 review corrections 2013-03-12 07:39:19 +00:00
Tim Bentley
dcec6ebbac review corrections 2013-03-12 07:17:14 +00:00
4ec065e804 Added another test or two. 2013-03-11 23:47:55 +02:00
04acacddd6 Added another test. 2013-03-11 23:24:55 +02:00
cdbd34460a Fix an import issue after the last cleanup.
- Fix an issue with an import that changed in the last cleanup effort (as a side note, the plugins manager test is a good one to use to check for import regressions).
- Clean up some test comments.
2013-03-11 23:10:29 +02:00
Raoul Snyman
9383f2a4af HEAD 2013-03-11 15:55:06 +02:00
Raoul Snyman
837118bf07 Cleanup EditVerseForm and friends, and expand the test. 2013-03-11 10:07:17 +02:00
Tim Bentley
5f1db14ba4 Minor fixes 2013-03-10 20:35:14 +00:00
Tim Bentley
7d371228bc Config updates 2013-03-10 20:19:42 +00:00
Andreas Preikschat
ca406df0a4 head 2013-03-08 09:14:39 +01:00
Raoul Snyman
87212e5d1c More cleanups and more tests 2013-03-07 14:34:35 +02:00
Raoul Snyman
e2c0ab3d8a HEAD 2013-03-05 08:25:16 +02:00
Andreas Preikschat
7c36d78ed8 r2197 2013-03-04 21:17:45 +01:00
Andreas Preikschat
3a9908345a fileRenameForm/Dialog: code standards 2013-03-01 12:12:23 +01:00
Raoul Snyman
dc849f3ff2 Add a test. 2013-02-19 14:49:21 +02:00
Tim Bentley
4b30d6cd29 Openup servicemanager again 2013-02-18 21:36:36 +00:00
7407d6a16c Comment out the test properly. 2013-02-18 23:25:42 +02:00
74fc1d3988 HEAD 2013-02-18 23:05:08 +02:00
3a9aa65d54 Comment out a test that don't wanna work. 2013-02-18 23:01:28 +02:00
c0653676e7 HEAD 2013-02-18 22:59:44 +02:00
Tim Bentley
b7c43aa65e Minor code clean up and add more tests
bzr-revno: 2187
2013-02-18 20:39:48 +00:00
Tim Bentley
17e367c6ba Fix up tests 2013-02-18 19:34:36 +00:00
Andreas Preikschat
4366d8307d fixed interface test 2013-02-18 12:09:09 +01:00
Tim Bentley
5c0fa26289 Revert some changes - functional Ok. Interfaces mess 2013-02-17 20:11:37 +00:00
Tim Bentley
62b1653c46 Fix the unit test framework 2013-02-17 07:54:43 +00:00
Andreas Preikschat
10f7a464b4 delete appliction in tearDown 2013-02-16 19:06:23 +01:00
Andreas Preikschat
fab327c89f moved application creation 2013-02-16 19:04:17 +01:00
Andreas Preikschat
d78373e65e r2182 2013-02-16 17:06:23 +01:00
Andreas Preikschat
a24ff2a4a2 added newline to end of file 2013-02-16 17:05:39 +01:00
Andreas Preikschat
bea5fe2596 cleaned code 2013-02-16 16:02:19 +01:00
a8fafc3363 HEAD 2013-02-16 14:01:10 +02:00
Tim Bentley
454f428845 Text fix 2013-02-16 10:17:48 +00:00
Tim Bentley
8ad83b52ba Text fix 2013-02-16 10:15:49 +00:00
Tim Bentley
8e16fc9d77 Head 2013-02-16 06:51:41 +00:00
Tim Bentley
11dea519d2 Fix import order 2013-02-16 06:51:25 +00:00
Philip Ridout
53beeed257 Fix bug #1067251: Correct focus of theme manager's dialogs
- Fix a bug where the line edit in certain dialogs was not focused on show.
- Add a test

bzr-revno: 2177
Fixes: https://launchpad.net/bugs/1067251
2013-02-15 21:24:01 +02:00
Tim Bentley
796a147ffe Remove one extra file 2013-02-14 17:34:41 +00:00
Tim Bentley
a5b6b5fe90 Fix init methods 2013-02-14 17:30:28 +00:00