Commit Graph

478 Commits

Author SHA1 Message Date
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
Patrick Zimmermann
84e9f6f1b1 Add test utils and move a function to there. 2013-04-27 11:54:57 +02:00
phill-ridout
9550405778 Fixed mock raising errors 2013-04-24 20:30:39 +01:00
phill-ridout
5512435c0c Changed then Givens, Whens and Thens arround 2013-04-24 18:37:15 +01:00
Andreas Preikschat
6d414c0fdb r2240 2013-04-23 23:48:51 +02:00
Tim Bentley
0ef65fb8d2 minor fixes 2013-04-23 20:17:25 +01:00
Tim Bentley
11112e7712 Head 2013-04-23 20:08:50 +01:00
Tim Bentley
fba86c5552 Add tests 2013-04-23 20:08:07 +01:00
phill-ridout
774cf24bfd renamed type attribute 2013-04-21 20:15:49 +01:00
Andreas Preikschat
3f60c34440 head 2013-04-20 22:30:51 +02:00
Andreas Preikschat
3dd05a2f4d head 2013-04-20 22:25:06 +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
5f9d921808 - camelCase -> words_with_underscore
- fixed short lines
- fixed docs

bzr-revno: 2233
2013-04-20 22:18:26 +02:00
Andreas Preikschat
35bc76943f - close file
bzr-revno: 2232
2013-04-20 22:18:02 +02:00
Andreas Preikschat
401d4d2688 close file 2013-04-20 20:39:10 +02:00
Andreas Preikschat
17e2277d9c r2231 2013-04-20 20:38:19 +02:00
Andreas Preikschat
186ca920da fixed test 2013-04-20 20:05:01 +02:00
Andreas Preikschat
a393302a07 fixed test 2013-04-20 19:53:17 +02:00
Andreas Preikschat
58b21030e0 r2231 2013-04-20 13:38:27 +02:00
Andreas Preikschat
582f1aa003 code standards 2013-04-19 21:07:25 +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
Patrick Zimmermann
9e53873a66 Merge trunk. 2013-04-18 20:22:53 +02:00
Arjan Schrijver
9752716672 HEAD 2013-04-18 15:57:31 +02:00
phill-ridout
09955c0ca2 Moved constants. 2013-04-17 22:10:19 +01:00
Andreas Preikschat
0fb24d2233 added tests 2013-04-17 20:33:44 +02:00
phill-ridout
cc1d3b3c5b finished tests 2013-04-16 18:06:42 +01:00
Tim Bentley
a0f4db607e Head and fix 2013-04-16 17:37:26 +01:00
Patrick Zimmermann
0840480ef2 Merge trunk. 2013-04-15 23:56:56 +02:00
phill-ridout
042a3e33f5 some more tests 2013-04-15 21:30:32 +01:00
phill-ridout
6e688961d0 Removed logError from file import test as it was not needed.
Added check to see that addVerse has been called the correct ammount of times
2013-04-15 17:35:36 +01:00
Andreas Preikschat
908e048d1a head 2013-04-15 17:43:18 +02:00
phill-ridout
4d20ced421 Added logger class with help from mohij. 2013-04-14 21:10:08 +01:00
Andreas Preikschat
4bb4cd080a r2230 2013-04-14 21:51:35 +02:00
phill-ridout
f5213d315d Commented out failing test 2013-04-14 20:16:31 +01:00
Meinert Jordan
571934e166 Fix Natural Sorting so works with Python3
bzr-revno: 2230
2013-04-14 19:19:33 +01:00
Tim Bentley
220681c900 Comment fixes 2013-04-14 16:59:57 +01:00
Tim Bentley
797a76f095 Head 2013-04-14 16:45:34 +01:00
Philip Ridout
38a95ffab8 Fixed importing of songs with verses numbered 1A, or 1.5 etc. in SongShowPlus importer
bzr-revno: 2229
Fixes: https://launchpad.net/bugs/1125956
2013-04-14 17:30:06 +02:00
phill-ridout
5aee3198ae Added WorshipCenter Pro song importer.
Also added associated tests.
2013-04-13 23:01:36 +01:00
phill-ridout
a307824d85 Moved some directories about.
Added test files
2013-04-10 17:24:53 +01:00
e6a1d93121 Add tests around some of the functions in the db module
- Fix some import ordering
- Add tests for init_db and get_upgrade_op
- Add an extra line for PEP8 compliance
2013-04-08 23:08:28 +02: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
M2j
c82d7f0e50 renameing openlp.core.utils.get_local_key in tests 2013-04-06 20:21:23 +02:00
M2j
6d5590d739 removed tests/interfaces/openlp_plugins/__init__.pyc 2013-04-06 19:17:59 +02:00
phill-ridout
047f567ed8 added some tests 2013-04-06 11:54:36 +01:00
Patrick Zimmermann
974e238850 Merge trunk. 2013-04-06 12:20:17 +02:00
Tim Bentley
e36706e3ec Head 2013-04-05 20:37:56 +01:00
Tim Bentley
fc80e3d106 Cleanups and more tests 2013-04-05 20:37:15 +01:00
phill-ridout
8a88cec855 Removed the use of the mock's call helper object 2013-04-05 19:26:39 +01:00
M2j
042bf4ed2d rename openlp.core.utils.get_local_key to openlp.core.utils.get_locale_key 2013-04-05 19:41:01 +02:00
Andreas Preikschat
d0cbe5a56a r2227 2013-04-05 11:05:39 +02: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
72ba94d390 replaced cPickle by pickle 2013-04-03 16:53:30 +02:00
Andreas Preikschat
03eaa91a08 fixed assertion message and method doc string 2013-04-02 23:03:07 +02:00
M2j
9612a52211 typo 2013-04-02 19:54:23 +02:00
M2j
316902fb88 Add unit tests for get_local_key and get_natural_key. 2013-04-02 19:51:19 +02:00
Andreas Preikschat
0d621f8699 changed assertion message 2013-04-02 17:14:27 +02:00
Andreas Preikschat
5e3563ceda added two tests 2013-04-02 17:08:46 +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
phill-ridout
8864e1e51b Missed a few GIVEN, WHEN, THENS 2013-03-31 11:55:58 +01:00
phill-ridout
7bae770458 Some test had more than one GIVEN, WHEN, THEN. Fixed that 2013-03-31 11:47:31 +01: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
Andreas Preikschat
fd3cad1c7c r2223 2013-03-30 09:40:49 +01:00
Tim Bentley
25d74260ce Add tests for the server 2013-03-30 06:56:28 +00:00
phill-ridout
68f26d1151 HEAD 2013-03-29 21:39:37 +00:00
phill-ridout
dcf2cae3a1 minor changes 2013-03-29 21:27:43 +00:00
phill-ridout
03db7ff2a3 Started EasyWorship import test 2013-03-29 21:13:55 +00:00
Tim Bentley
efa7d8c8c0 minor fixes and move certificate location 2013-03-29 20:58:06 +00:00
Arjan Schrijver
e8dbbdfc89 Added a test for recursively_delete_group() 2013-03-29 15:15:16 +01:00
Andreas Preikschat
a69323ea89 fixed auto preview of next service item 2013-03-29 13:40:04 +01:00
Arjan Schrijver
1beb9b06d3 HEAD 2013-03-29 13:02:35 +01:00
Arjan Schrijver
28f8e31bf0 Added a simple test for onResetClick() 2013-03-29 13:00:06 +01:00
Tim Bentley
6cd384e028 Fix up tests 2013-03-29 09:32:46 +00:00
Tim Bentley
ced77e4ec3 Add some proper tests 2013-03-29 09:06:43 +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
phill-ridout
86f294e870 Changed path in test file 2013-03-28 21:17:07 +00:00
phill-ridout
2920eecd31 Moved sample song files to their own directory 2013-03-28 21:09:38 +00: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
phill-ridout
bc032eb7e2 fixed indentation 2013-03-28 19:56:50 +00:00
phill-ridout
4d0f9f3f91 Tided up the test somewhat 2013-03-28 19:50:06 +00:00
Tim Bentley
ab011a22c1 last version before big refactor 2013-03-28 14:45:47 +00:00
Andreas Preikschat
e708140d13 head 2013-03-26 12:35:29 +01:00
Tim Bentley
401f5ac2be More updates 2013-03-26 08:55:05 +00:00
phill-ridout
401da98d7c increased line lengths to 120
renamed SongShowPlusImport vairables and methods to standards
2013-03-24 14:56:22 +00:00
phill-ridout
c3492d6aed Added an extra test song, and cleaned up the test some what 2013-03-24 13:25:31 +00:00
phill-ridout
86fb343759 Added test for SongShowPlus 2013-03-24 11:32:03 +00:00
Tim Bentley
bed1ca2d57 Head and more fixes 2013-03-22 21:05:42 +00:00
phill-ridout
53889be2e5 HEAD 2013-03-21 19:05:40 +00:00
Tim Bentley
f99e22fd4a Plugins 3 - global var removal 2013-03-19 20:05:13 +00:00
Tim Bentley
fb6d292be0 Plugins 2 - setttingsSection gone 2013-03-19 19:43:22 +00:00
Tim Bentley
611dbdf044 Head 2013-03-19 17:53:51 +00:00
Tim Bentley
861e64ee83 plugin 1 2013-03-19 17:53:32 +00:00
Arjan Schrijver
ce528140ae This branch implements the 'images groups' feature. It has the following features:
- convert old 'images files' setting to SQLite database
- existing images are loaded as top-level items to minimize the change for users
- groups can be nested
- images can be moved between groups by drag&drop
- new images can be added directly to a group by drag&drop, or by clicking the 'Add images' button
- image groups can be used as service items with multiple images

bzr-revno: 2214
2013-03-19 09:38:01 +02:00
Arjan Schrijver
57651493ff - Removed wrong len() use
- Replaced wrong 'is' use with '=='
- Added tests for ImageMediaItem.save_new_images_list()
2013-03-18 23:04:09 +01:00
Arjan Schrijver
24a51c0eec Add tests for hook_upgrade_plugin_settings 2013-03-18 15:35:19 +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
8e03c2e4b7 Head and conflicts 2013-03-17 21:29:00 +00: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
Tim Bentley
3c32bc7501 Added tests 2013-03-13 19:51:56 +00:00
Tim Bentley
669da85b2b Config cleanup and bug fixes from previous cleanups
bzr-revno: 2209
2013-03-13 19:08:44 +00:00
Raoul Snyman
cee8d228f2 HEAD 2013-03-13 09:08:58 +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
Andreas Preikschat
48e8838289 added image_manager get_image_bytes() test 2013-03-12 09:19:47 +01: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
e5c87ed6f2 HEAD 2013-03-07 08:47:43 +02:00
Andreas Preikschat
b864d360d3 r2201 2013-03-06 22:54:13 +01:00
Tim Bentley
ca920ff774 Merge issues 2013-03-06 21:49:46 +00:00
Patrick Zimmermann
d390fff811 Merge trunk. 2013-03-05 20:55:20 +01:00
Andreas Preikschat
50538d66db removed not needed line 2013-03-05 15:44:47 +01:00
Andreas Preikschat
d5f4685788 added expand_tags() method test 2013-03-05 15:36:01 +01:00
Raoul Snyman
e2c0ab3d8a HEAD 2013-03-05 08:25:16 +02:00
Andreas Preikschat
4b2d20ff77 final clean ups 2013-03-04 21:44:34 +01:00
Andreas Preikschat
30ad9e5dca fixed comment 2013-03-04 21:40:30 +01:00
Andreas Preikschat
7c36d78ed8 r2197 2013-03-04 21:17:45 +01:00
Andreas Preikschat
42cba0da29 added clean_tags test 2013-03-04 21:17:13 +01:00