Commit Graph

778 Commits

Author SHA1 Message Date
Andreas Preikschat 7787e1a845 head 2014-03-28 21:38:38 +01:00
Samuel Mehrbrodt bf32fe164a Test 2014-03-26 13:06:48 +01:00
Tomas Groth 8ad47cb888 Fixes for windows tests and for starting OpenLP on windows. 2014-03-24 17:49:50 +01:00
Samuel Mehrbrodt 78e7cb5873 Test for add_welcome_page 2014-03-24 14:32:28 +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
Andreas Preikschat 91adff326d head 2014-03-22 20:18:04 +01:00
Andreas Preikschat 11fe2045e5 fixed tests 2014-03-22 10:24:52 +01:00
Raoul Snyman 35e3564655 Tests! 2014-03-18 23:03:53 +02: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 9dd4669f13 test fixes 2014-03-14 17:38:57 +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
Jonathan Springer 2b55c1ceb5 Change test to use a black list instead of a white list. 2014-03-13 17:36:01 -04: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 84b621301b Add test to check for the proper tags on the branch 2014-03-13 00:50:45 -04:00
Jonathan Springer af5e751d27 Merge trunk 2014-03-12 18:15:08 -04:00
Tomas Groth ecc1ffbd4c Fix tests.
To avoid segfaults reuse QApplication instance.
Also use ICU when getting locale sort key.

bzr-revno: 2331
2014-03-13 00:07:23 +02:00
Jonathan Springer 92e9ef9394 Missed one 2014-03-12 15:05:06 -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 e78dac1edf Head 2014-03-11 20:17:18 +00:00
Tim Bentley ff44daa258 Yet more tests - with file 2014-03-11 20:11:04 +00:00
Tim Bentley 6935adde29 Yet more tests 2014-03-11 20:10:46 +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 0da1b7b5f7 Presentations 2014-03-08 21:23:47 +00:00
Raoul Snyman 6747dec2b5 Tests! Tests! Tests! 2014-03-06 23:28:13 +02:00
Tim Bentley 3ae188c287 FoilPresenter 2014-03-06 20:56:31 +00:00
Tim Bentley ef97095399 Importer cleanups 2014-03-06 20:40:08 +00:00
Tim Bentley 75281b5cf1 Song import cleanups 2014-03-05 18:58:22 +00:00
Raoul Snyman c607661aee HEAD 2014-03-04 23:51:54 +02:00
Raoul Snyman b094d48678 Add some error handling around the getting a song.
Add some more tests.
2014-03-04 23:28:15 +02:00
Tim Bentley 1301b4cfa3 Fix up presentation tests 2014-03-04 20:18:14 +00:00
Raoul Snyman 831f2f3b69 HEAD 2014-02-27 23:39:44 +02:00
Raoul Snyman d2a5e8a4c4 Refactor SongSelect search into a separate class, and start writing some tests for that class. 2014-02-27 23:36:33 +02:00
Tomas Groth 52a73f3475 merged with head 2014-02-25 21:11:48 +01:00
Tim Bentley 3d556a9790 Head 2014-02-23 15:02:53 +00:00
Tomas Groth e90f277bd6 merged with trunk 2014-02-21 22:48:25 +01:00
Philip Ridout b718b76c8c HEAD 2014-02-11 21:07:06 +00:00
Philip Ridout 150ff4e980 HEAD 2014-02-11 20:29:57 +00:00
Tim Bentley 5d740a7706 Removep
bzr commit -mRemovep
2014-01-11 22:05:38 +00:00
Tim Bentley 9fc4f0c339 Add Main display tests 2014-01-11 19:46:31 +00:00
Tim Bentley 75b27422ad Add renderer tests 2014-01-11 19:31:06 +00:00
Tim Bentley 5b6663b578 basic tests 2014-01-04 17:19:30 +00:00
Tim Bentley 0da7475748 Fix up comments 2014-01-04 12:06:48 +00:00
Tim Bentley 5eba575618 Add tests for new function 2014-01-04 11:50:27 +00: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 d6aa4e2299 Fix message text 2014-01-03 21:33:40 +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
Tomas Groth f5ace2c238 merged with trunk 2013-12-31 12:20:11 +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
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
Tomas Groth 84334a039e Merged with trunk. 2013-12-29 19:47:54 +00:00
Tomas Groth 7dd3417217 Added tests for the PdfController. 2013-12-29 19:46:04 +00:00
Tim Bentley e6bcf7d852 Head and fix confilcts 2013-12-28 21:33:38 +00:00
Tim Bentley 35c5577cb7 More fixes 2013-12-26 08:56:53 +00:00
Tim Bentley 508d050b4c Head 2013-12-24 11:32:56 +00:00
Tim Bentley 6d8b5cadb4 Lib cleanup and 2014 2013-12-24 08:56:50 +00:00
Raoul Snyman 3204a4db72 - Specify OpenLP as the user agent when querying SF.net
- Fix another test
- Update tests for get_web_page
2013-12-20 21:25:42 +02:00
Raoul Snyman 553c93e790 Tidy up some tests 2013-12-18 23:54:56 +02:00
Raoul Snyman 06d08f61a6 Fix bug #1211049: Add a list of valid user agents and a method to return an appropriate user agent for the current platform
Fixes: https://launchpad.net/bugs/1211049
2013-12-18 23:44:00 +02:00
Tim Bentley d684359e59 Clean up exceptions used in error 2013-12-13 19:44:17 +00:00
Tim Bentley 84e90e01d1 new files 2013-12-13 18:42:26 +00:00
Tim Bentley cd9f9e4c8d move registry to common 2013-12-13 17:44:05 +00:00
Samuel Mehrbrodt 7e484086dc Merge trunk 2013-12-07 18:35:06 +01:00
Tim Bentley 440cefa5f6 formatting 2013-12-06 19:09:29 +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
Philip Ridout 0883eb8a5d Fixes #1184869 Ensures that there is text in the anchor tag
bzr-revno: 2315
2013-12-06 18:57:21 +00:00
Philip Ridout ec87ced59b Fixes Bug 1209515 by sub classing QFileDialog and reimplementing getOpenFileNames and attempting to urlunquote and file paths which do not exist
bzr-revno: 2314
2013-12-06 18:56:03 +00:00
Felipe Polo-Wood e9848a2653 Fix the Http router return values
bzr-revno: 2313
2013-12-01 20:58:09 +00:00
Philip Ridout f5573502f3 HEAD 2013-11-16 21:24:18 +00:00
Philip Ridout 81c2f1a4b3 updated tests 2013-11-16 21:04:16 +00:00
Philip Ridout c41842125d HEAD 2013-11-16 20:32:50 +00:00
Philip Ridout 875fa00b03 Adds song test helper and fixes up SongShowPlus
bzr-revno: 2312
2013-11-16 19:58:44 +00:00
Philip Ridout 96e1bb15fc Fix doc strings 2013-11-16 10:54:24 +00:00
Philip Ridout 20ae5d13b0 some final cleanups 2013-11-16 10:16:06 +00:00
Philip Ridout 4c8f817269 HEAD 2013-11-16 10:07:38 +00:00
Philip Ridout cc3cdf7126 added some tests for PresentationController 2013-11-16 10:05:41 +00:00
Felipe Polo-Wood e56414e22c Fixed OS specific string
Coding standard fixes
2013-11-14 15:33:46 -05:00
Samuel Mehrbrodt dd1d08749e Fix SongBeamer Import and add Testcase
bzr-revno: 2311
2013-11-14 21:12:52 +02:00
Andreas Preikschat 1b89900336 head 2013-11-14 10:05:59 +01:00
Felipe Polo-Wood 649494589a Added unit tests for serve_file 2013-11-10 19:55:06 -05:00
Felipe Polo-Wood 20a1a2ad70 Fixed router so response and headers are sent correctly
Fixed tests so they run on Windows
Added unit test for new method get_content_type
2013-11-08 13:26:27 -05:00
Philip Ridout 47292d3ec7 Changed test path 2013-11-07 20:42:21 +00:00
Philip Ridout 2535bda1bb Added tests for load presentation 2013-11-07 20:33:55 +00:00
Samuel Mehrbrodt 0ed0b2148e Small changes to the test 2013-10-27 21:33:58 +01:00
Samuel Mehrbrodt abdc3937ef Small test for PresentationController Constructor 2013-10-27 13:39:13 +01:00
Dmitriy Marmyshev 70144c0da4 Trunk & fixes 2013-10-27 02:53:32 +04:00
Andreas Preikschat 6a839dc32a no need for MagicMock (inside another MagicMock)
bzr-revno: 2308
2013-10-26 21:03:57 +02:00
Samuel Mehrbrodt f74697a987 Try to fix encoding... 2013-10-26 19:31:35 +02:00
Samuel Mehrbrodt 636dead5c3 Fix vim header (textwidth=120) 2013-10-26 19:25:07 +02:00
Dmitriy Marmyshev aed25c0f0b fixes 2013-10-25 00:24:58 +04:00
Dmitriy Marmyshev 77f1878ff5 Tests for transparency 2013-10-24 22:12:41 +04:00
Tim Bentley 63d65da6c1 Head 2013-10-23 20:26:03 +01:00
Tim Bentley b1873016c9 Move and tests 2013-10-23 20:25:46 +01:00
Tim Bentley 1022661160 Theme cleanup start and major class restructure
bzr-revno: 2307
2013-10-23 19:49:39 +01:00
Samuel Mehrbrodt 24dba52640 Fix Import, use system-independent path 2013-10-22 17:09:10 +02:00
s.mehrbrodt@gmail.com02 c5ded493cf Merge from trunk 2013-10-22 10:42:56 +02:00
Andreas Preikschat ea8497d559 no need for MagicMock 2013-10-21 09:38:18 +02:00
Tim Bentley 28a94a06fb Duplicate line 2013-10-18 19:11:17 +01:00
Tim Bentley ba0808f551 Fix up json 2013-10-18 19:10:47 +01:00
Philip Ridout a8e1d5005c made get_data private 2013-10-14 23:05:17 +01:00
Tim Bentley 4f3291b2ee Fixes to tests 2013-10-14 06:01:01 +01: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
Tim Bentley a82c64237c Fix move of check_directory_exists 2013-10-13 18:23:52 +01:00
Tim Bentley a013d17bdd fix tests and add basic test 2013-10-13 18:02:12 +01:00
Tim Bentley b860abb23b fix fields 2013-10-13 16:52:04 +01:00
Tim Bentley 257fba8548 Start theme clean up 2013-10-13 14:51:13 +01:00
Dmitriy Marmyshev 3c246f2d2e some start 2013-10-11 19:48:14 +04:00
Andreas Preikschat 29bdf095d3 removed import 2013-10-11 12:15:09 +02:00
Andreas Preikschat 2b3825eaf0 missing imports 2013-10-11 12:13:04 +02:00
Andreas Preikschat f0be2ecc17 head + conflict 2013-10-11 11:48:35 +02:00
Philip Ridout 24f80e10ab HEAD 2013-10-10 21:47:40 +01:00
Philip Ridout b5831c2f38 Moved song file import helper 2013-10-10 20:58:52 +01:00
s.mehrbrodt@gmail.com02 c471fc79ba Add Songbeamer Import test 2013-10-07 00:07:49 +02:00
Raoul Snyman 47e4eacca8 HEAD 2013-10-05 20:06:23 +02:00
Philip Ridout beeea8ab9a changed line spacing arround imports 2013-10-05 10:16:04 +01:00
Philip Ridout b5a2ecfa3f Fixed up imports and added Copyright/License header. 2013-10-05 08:56:08 +01:00
Philip Ridout 3b9df96b42 HEAD 2013-10-05 08:54:14 +01:00
Jeffrey Smith 474f551839 Clean up language tests
bzr-revno: 2303
2013-10-05 06:24:05 +01:00
Raoul Snyman 5481a4718d HEAD, and futher fixing of mock imports 2013-10-04 23:45:38 +02:00
Jeffrey S. Smith cf9ddadf35 Missed removing one line when merging 2013-10-04 16:44:58 -05:00
Jeffrey S. Smith ba6ff95539 Merged mock changes 2013-10-04 16:14:04 -05:00
Tim Bentley 40350aec0f tests updates 2013-10-04 21:36:02 +01:00
Tim Bentley bd7d412cc9 Head 2013-10-04 20:28:09 +01:00
Tim Bentley 2fe31991e2 Fixes 2013-10-04 20:27:53 +01:00
Raoul Snyman 3994669c1b Modified the check_dependencies.py script to only require mock if we're using Python 3.2 and earlier. 2013-10-03 21:56:12 +02:00
Raoul Snyman 316f33c058 Change the indentation back to 4 2013-10-02 23:37:00 +02:00
Raoul Snyman 1347ad61d1 Changed the way we create and initialise MediaManagerItems so that we can test things better. 2013-10-02 23:07:20 +02:00
Raoul Snyman 3503c54ce4 Some bugs and minor tweaks. 2013-09-29 23:28:53 +02:00
Raoul Snyman 16c5ded747 HEAD 2013-09-29 23:25:42 +02:00
Raoul Snyman c30eedda08 Some more updates to some of the tests. 2013-09-29 23:21:47 +02:00
Tim Bentley c240068a6e head 2013-09-28 21:55:42 +01:00
Tim Bentley 8f47af1732 Head 2013-09-26 22:06:57 +01:00
Philip Ridout e8302e9e95 Added test for bug 1184869 2013-09-24 21:40:51 +01:00