Commit Graph

14257 Commits

Author SHA1 Message Date
Tim Bentley
fd3a85a68c head 2016-01-08 17:09:29 +00:00
af3fc71d4a Fix tests. Sadly Windows tests are still broken.
Add this to your merge proposal:
--------------------------------
lp:~raoul-snyman/openlp/fix-tests (revision 2596)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/1215/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1141/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1080/
[FAILURE] https://ci.openlp.io/job/Branch-04a-Windows_Functional_Tests/920/

bzr-revno: 2589
Fixes: https://launchpad.net/bugs/1531872
2016-01-08 17:09:06 +00:00
Samuel Mehrbrodt
69e1660d6c PEP8 2016-01-08 15:05:54 +01:00
Simon Hanna
2c5475e8fa Fix some pep issues in the changed files 2016-01-08 14:47:52 +01:00
4fd53706c6 We still need a db_url. Thanks interface tests! 2016-01-08 00:18:01 +02:00
Samuel Mehrbrodt
ddefceee04 Fix migration for non-sqlite 2016-01-07 23:12:03 +01:00
c4bb673ac0 Remove potentially unnecessary code 2016-01-08 00:00:02 +02:00
Tomas Groth
a61430a59f Fix the tests on Windows too 2016-01-07 23:57:01 +02:00
7853706479 Apparently BibleServer.com has removed that Bible. Use another one instead. 2016-01-07 23:38:13 +02:00
543d6898d3 Fix up the projector interface tests 2016-01-07 23:36:43 +02:00
Tomas Groth
f2cccb90ae Fix projector tests 2016-01-07 23:07:55 +02:00
Simon Hanna
d5780b9f78 update functions that were previously methods to drop the '_'
rename _child to to_str because of name conflicts
2016-01-07 14:10:31 +01:00
Simon Hanna
7ebbf65a86 Add a test 2016-01-07 13:36:11 +01:00
b1febaa452 Try to make sense of what the projector stuff is supposed to be doing. Found that internally the normal init_url was being called, which was wrong (i.e. it was being called twice, once from a plugin perspective, and then again from the projector perspective). Also, self.db_url was not being applied. 2016-01-06 22:02:39 +02:00
51eefc84d9 Fix OS X test which wasn't being skipped on non-OS X platforms 2016-01-06 22:00:51 +02:00
Simon Hanna
11876436a1 Fix deletion of custom slides 2016-01-06 00:58:31 +01:00
Simon Hanna
584a0fda0d Fix the deletion of songs
This was left out when migrating to Qt 5
2016-01-05 23:58:04 +01:00
Simon Hanna
5bc13e45e3 Move some static methods out of their classes where it makes sense 2016-01-05 23:28:48 +01:00
Simon Hanna
46301b63f4 Add docstrings to tests 2016-01-05 22:35:35 +01:00
Tim Bentley
8df7c3a9ea add tests 2016-01-05 19:32:12 +00:00
Tim Bentley
2bbdf51aca remove extra string 2016-01-05 18:20:47 +00:00
Tim Bentley
3975901e11 Fix search breakage 2016-01-05 18:19:40 +00:00
Samuel Mehrbrodt
75b885961e Add test for converting verse order to uppercase 2016-01-05 17:11:30 +01:00
Samuel Mehrbrodt
860f596dde Only trigger this method by user input
Else we will have infinite loop by using setText in that method
2016-01-05 17:10:16 +01:00
Samuel Mehrbrodt
0cd2bbff36 Convert lowercase verse order to uppercase automatically
Fixes: https://launchpad.net/bugs/1530354
2016-01-05 16:42:07 +01:00
Samuel Mehrbrodt
c47d1bdca4 Select text in search field when it gains focus
Fixes: https://launchpad.net/bugs/1530340
2016-01-05 16:32:49 +01:00
Samuel Mehrbrodt
8780b74342 Use deepcopy instead of copy 2016-01-05 16:17:22 +01:00
Samuel Mehrbrodt
5f2e0ba0ee Add test for deleting columns in a db 2016-01-05 16:14:58 +01:00
Samuel Mehrbrodt
b9a7170cdf Add missing file 2016-01-05 08:57:01 +01:00
6714df645e [song select] Stop search on viewing a song. 2016-01-04 22:28:41 +02:00
Samuel Mehrbrodt
bfdd9e81ab Extend test for multiple songbooks 2016-01-04 20:23:42 +01:00
Samuel Mehrbrodt
ccd8b0625f Fix test 2016-01-04 20:20:21 +01:00
Samuel Mehrbrodt
ecd2c28cc7 Add test 2016-01-04 20:14:00 +01:00
Samuel Mehrbrodt
d274b6cb08 Fix exporting OpenLyrics 2016-01-04 20:00:19 +01:00
Samuel Mehrbrodt
245e374171 Fix removing a songbook 2016-01-04 19:50:42 +01:00
Samuel Mehrbrodt
4706ff4af8 Merge trunk 2016-01-04 19:47:03 +01:00
Samuel Mehrbrodt
e4ecc3e763 Fix searching with multiple songbooks 2016-01-04 19:46:00 +01:00
Tim Bentley
4e1470dfd1 head 2016-01-04 17:58:10 +00:00
Samuel Mehrbrodt
a106245d8b Display multiple songbooks in the footer 2016-01-04 13:48:47 +01:00
Simon Hanna
c467c321b4 Make methods static that don't need to rely on instance data 2016-01-04 13:21:58 +01:00
Samuel Mehrbrodt
c7d7d16921 PEP8 2016-01-04 13:18:11 +01:00
Samuel Mehrbrodt
d2ab4862b4 Initial support for multiple songbooks 2016-01-04 13:11:24 +01:00
Simon Hanna
7ed23514b4 Add test for about() function of MediaPlugin 2016-01-04 01:28:13 +01:00
Simon Hanna
8121f77e2d Add test for about() function of SongUsagePlugin 2016-01-04 01:27:56 +01:00
Simon Hanna
4206d11228 Make methods static where possible 2016-01-04 01:18:01 +01:00
Simon Hanna
12f71b3eec Add coveragerc 2016-01-04 01:01:23 +01:00
Simon Hanna
480a2d8512 Make about() method of SongUsagePlugin static and add a test for it 2016-01-03 15:50:41 +01:00
Simon Hanna
ed0b739d97 Add .coveragerc 2016-01-03 15:00:23 +01:00
Simon Hanna
6d0e006b09 Change Combobox to Checkbox for plugin states 2016-01-03 14:03:29 +01:00
Simon Hanna
9459aff90c Add test for webkit_version function 2016-01-03 12:47:07 +01:00