Commit Graph

520 Commits

Author SHA1 Message Date
5fe54b5907 Beauty spa for the htmlbuilder 2016-06-07 06:12:22 -07:00
2443b94eda Convert htmlbuilder strings to Template() 2016-06-06 08:16:09 -07:00
ed7ea01f43 Tests fixes and updates 2016-06-03 22:38:51 -07:00
598d715de6 Initial string conversions for variable templates 2016-06-03 17:15:19 -07:00
672b8334fa Initial attempt to move to nose2 2016-05-31 23:40:13 +02:00
41dcf85cbe "Convert strings to python3 in plugins part 4
- Convert strings in plugins/songusage
- Convert missed string in projector/pjlink1
- Updated projectorpjlink1 test

--------------------------------
lp:~alisonken1/openlp/strings-plugins4 (revision 2670)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/1578/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1489/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1427/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Windows_F..."

bzr-revno: 2671
2016-05-31 17:36:28 +02:00
c27b676c8c pep8 2016-05-27 22:55:54 -07:00
546030b64d Convert strings to python3 in plugins part 4 2016-05-27 22:50:31 -07:00
9fdcd30c65 Convert strings from python2 to python3 in plugins part 3 2016-05-27 01:13:14 -07:00
473772c505 Convert strings in plugins part 2
- Convert strings in custom
- Convert strings in images
- Convert strings in media
- Convert strings in presentations
- Update projector-pjlink test

--------------------------------
lp:~alisonken1/openlp/strings-plugins2 (revision 2667)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/1571/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1482/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1420/
[SUCCESS] https://ci.openlp.io/jo...

bzr-revno: 2668
2016-05-24 17:18:25 +01:00
801f508a72 Convert strings in plugins part 2 2016-05-21 11:19:18 -07:00
d52cebdfca Update strings in alerts and bible plugins to python3 2016-05-21 01:31:24 -07:00
7f5096d0f9 core_lib files string conversions 2016-05-20 09:22:06 -07:00
Tim Bentley
7c1e922f10 pep8 2016-05-18 18:06:25 +01:00
306f027b53 Convert strings from python2 to python3 format
- Strings converted except as noted
- Updated projector pjlink test
- Simplify lines with multiple references to single variable

--------------------------------
lp:~alisonken1/openlp/strings-lib (revision 2665)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/1559/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1470/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1408/
[SUCCESS] https://ci.openlp.io/job/Branch-04a...

bzr-revno: 2664
2016-05-17 22:22:24 +01:00
ian@knightly.xyz
05e9e5dca0 Fixes bug 1080596 where presentations in the preview pane display live view rather than preview of selected slide.
In addition, fixes the aspect ratio & quality of thumbnails by saving them in the correct aspect ratio at a higher resolution, and loading them through the image manager.

New test cases implemented, or existing cases modified to test coverage complete for changes.

lp:~knightrider0xd/openlp/preview-shows-live-fix-1080596 (revision 2652)
[SUCCESS] https://ci.openlp.io/job/Branch-...

bzr-revno: 2661
Fixes: https://launchpad.net/bugs/1080596
2016-05-16 17:26:29 +01:00
Ian Knight
a7466f1ea7 Check for Div0 and added unit test cases 2016-05-16 22:05:58 +09:30
7c4671b676 Convert strings to python3 in core.common.lib 2016-05-15 10:33:42 -07:00
07468f0093 Fix oops 2016-05-15 10:32:04 -07:00
f51132e876 core/common convert strings to python3 format 2016-05-13 21:24:46 -07:00
Ian Knight
aac09c0afb Fixed create_thumb_invalid_size_test 2016-05-06 04:33:12 +09:30
Ian Knight
55002518ef Added Functional Tests, cleaned PEP8 errors 2016-05-06 04:27:32 +09:30
72fc30d600 merge trunk 2016-05-05 08:51:07 -07:00
5601e61c0f Convert strings to python3 in mainwindow 2016-04-29 13:25:12 -07:00
ian@knightly.xyz
f4697a6051 Added QR code and link to iOS remote app and test to HTML Builder.
lp:~knightrider0xd/openlp/ios-app (revision 2650)
[SUCCESS] https://ci.openlp.io/job/Branch-01-Pull/1499/
[SUCCESS] https://ci.openlp.io/job/Branch-02-Functional-Tests/1410/
[SUCCESS] https://ci.openlp.io/job/Branch-03-Interface-Tests/1348/
[SUCCESS] https://ci.openlp.io/job/Branch-04a-Windows_Functional_Tests/1145/
[SUCCESS] https://ci.openlp.io/job/Branch-04b-Windows_Interface_Tests/736/
[SUCCESS] https://ci.openlp.io/job/B...

bzr-revno: 2653
2016-04-27 17:57:34 +01:00
Ian Knight
56f5bbac52 Testing 2016-04-26 12:17:38 +09:30
Ian Knight
b8173f7f0e Added Test to HTML Builder 2016-04-26 12:13:29 +09:30
884f060dea Oops and text in projector test 2016-04-24 04:22:04 -07:00
d5b98b7308 Added projector power test 2016-04-23 12:55:47 -07:00
907e1df129 - Update string format to Python3 style
- Added projector multiple lamp values test
- Updated strings for translation (they should all be ok now)
- Fix merge conflicts (projector_pjlink1 and projector_ui tests)

Convert string format from Python2
     '%s %s' % (value1, value2)
to Python3
     '{key1} {key2}'.format(key1=value1, key2=value2)

Jenkins down - local pep8 and tests (except windows tests) passed.

Previous Jenkins test:
--------------------------------
lp:~alisonken1/openlp/string...

bzr-revno: 2650
2016-04-23 14:48:27 +01:00
bec015142b Merge trunk to fix conflicts 2016-04-22 04:41:29 -07:00
Tim Bentley
6767ba504c colorbutton 2016-04-17 19:57:03 +01:00
16ed511a93 Fix notes in multiple lamp test 2016-04-17 02:33:48 -07:00
1288da1b87 Added multiple lamp test 2016-04-17 02:30:30 -07:00
d92757af97 Convert strings to format() method 2016-04-16 01:08:45 -07:00
Tim Bentley
59e3603a3e fix tests 2016-04-05 20:58:40 +01:00
Tim Bentley
1082254f02 fix tests 2016-04-05 20:51:46 +01:00
Tim Bentley
3500c73494 fix tests 2016-04-05 20:44:00 +01:00
Tim Bentley
b6c49450d4 fix tests 2016-04-05 20:33:37 +01:00
Tim Bentley
fb2de75cbc fix tests 2016-04-05 20:11:10 +01:00
6bca1fc455 Fix decode() string error in about text - fix qt try/except error in projector 2016-04-01 20:04:15 -07:00
544319ba92 Add projector: status_change_test 2016-03-03 10:19:42 -08:00
9774618d37 Bugfix 1550891 - non-standard class reply from projector 2016-02-28 02:26:38 -08:00
Tomas Groth
f61ac941d0 Mock FormattingTags in test, instead of loading all tags. 2016-01-23 10:53:34 +01:00
Tomas Groth
4bef5f72f2 trunk 2016-01-22 22:30:26 +01:00
Tomas Groth
e593d77e14 Fix some broken tests that was not being used due to naming. 2016-01-22 22:26:25 +01:00
478d356d2e Oops, forgot a variable 2016-01-15 21:41:14 +02:00
48eeb50d02 Add retries around other db removals 2016-01-15 21:14:24 +02:00
5d21aab539 Make pep8 happy 2016-01-15 20:31:05 +02:00
Jonathan Springer
c07503f5dc Fix import 2016-01-10 17:10:50 -05:00
5a2c3e5abc Ticket 921817 - exception when connecting using PJLink authentication method
Fix incorrect location data when projector instance created.

Fix typo in getting authenticated connection salt setup.

Move salt/pin/test hash to resources file for multiple tests.

Add test for ticket 921817.

Passes local nosetests3 and pep8.

bzr-revno: 2599
2016-01-09 19:44:30 +00:00
bcbb523375 pep8 2016-01-09 09:46:20 -08:00
f8d353efcb Rename test method 2016-01-09 09:43:38 -08:00
94df2d2d86 Fix test for pjlink ticket 921817 2016-01-09 09:21:20 -08:00
8fcae33516 resolve merge conflics 2016-01-09 08:59:42 -08:00
simon.hanna@serve-me.info
04e117181d Strip whitespace from title when importing a Songbeamer song.
bzr-revno: 2596
2016-01-09 16:59:25 +00:00
Tomas Groth
e9e845035a pep8 fixes 2016-01-09 10:09:29 +01:00
Simon Hanna
8ccfde6929 Merge trunk in 2016-01-09 01:03:54 +01:00
simon.hanna@serve-me.info
a6ef19683d CodecForTr was dropped in Qt5
The deletion of songs still depended on that.

Just a minor edit to drop the dependency

bzr-revno: 2590
2016-01-08 17:24:48 +00:00
Tomas Groth
a61430a59f Fix the tests on Windows too 2016-01-07 23:57:01 +02:00
Tomas Groth
f2cccb90ae Fix projector tests 2016-01-07 23:07:55 +02: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
Simon Hanna
9459aff90c Add test for webkit_version function 2016-01-03 12:47:07 +01:00
2edb32ac7f pep8 fix 2016-01-03 00:32:43 -08:00
f0a5e2eddb fix extraneous docstring notes in pjlink1 test 2016-01-03 00:18:58 -08:00
Tim Bentley
3a8b068af8 Year older 2015-12-31 22:46:06 +00: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
3b3c8a35b6 merge trunk 2015-11-29 17:57:37 -05:00
Tomas Groth
a5525e96c1 Fix projector tests. 2015-11-26 21:44:19 +01:00
Jonathan Springer
d178aa1eec Fix tests 2015-11-20 14:30:46 -05:00
Jonathan Springer
4175b18507 Fix color button test 2015-11-16 23:58:30 -05:00
Jonathan Springer
7af1ca1d49 Migrate to PyQt5 2015-11-06 19:49:40 -05:00
Tomas Groth
fe40cb6eec Use patch decorator for test. 2015-06-13 15:48:57 +01:00
Tomas Groth
33a4e00002 Made test work on windows. 2015-06-11 17:11:16 +02:00
Tomas Groth
a97d30f2e5 Added test. 2015-06-10 22:43:03 +01:00
Tomas Groth
335c804e8f Fix support for special characters in theme names. Fixes bug 1438563.
Fixes: https://launchpad.net/bugs/1438563
2015-04-02 10:04:56 +01:00
54c23cc7bd Fix bug #1419300 by checking if we are doing single-click previewing and not engaging preview on double-click
Fixes: https://launchpad.net/bugs/1419300
2015-03-07 00:18:51 +02:00
9c5ba940da Refactor source record test 2015-01-20 07:44:55 -08:00
745a3e3ef8 Remove translations from error code number strings 2015-01-19 14:36:53 -08:00
de213b0f66 Copyright cleanup time,
bzr-revno: 2479
2015-01-19 08:34:29 +00:00
ffcea13021 Updated the copyright. 2015-01-18 15:39:21 +02:00
Tomas Groth
255b7d8495 pep8 fix 2015-01-16 20:23:56 +00:00
3774cf3704 Update the credits in the About dialog 2015-01-11 21:46:41 +02:00
Tim Bentley
f3c09af379 Years go by 2014-12-31 10:58:13 +00:00
Tomas Groth
4ed9e9a722 Added a refresh call to the hide-toolbar so that it gets updated if needed. Makes the blank-to-theme button visible in the toolbar.
Fix for loading songs with linked audio + test. Fixes bug 1398403
Remove dummy initialization of preview_display to solve issue of mediaplayer preview being hidden.
When cloning a song copy the mediafiles as well. Fixes bug 1309998.
Use shutil.which instead of calling which with check_output, when detecting mudraw/gs.
Moved test service files into appropriate folder.
Set the default song search to search as type.

bzr-revno: 2454
2014-12-07 08:21:37 +00:00
Tomas Groth
da7ff60697 Moved test service files into appropriate folder. 2014-12-06 21:05:45 +00:00
Tomas Groth
0038ffcbe6 Add test for loading song with linked audio - the actual test 2014-12-03 22:29:20 +00:00
Phill Ridout
563347c8b8 HEAD 2014-11-30 07:44:57 +00:00
Tim Bentley
21db63b032 remove blank line 2014-11-25 21:36:52 +00:00
Tim Bentley
22a4974d86 Comments 2014-11-22 07:07:08 +00:00
Tim Bentley
4fb0e43c04 New start old bugs 2014-11-20 06:58:33 +00:00
Phill Ridout
5cc1fa2261 Fixes a few typos 2014-11-10 20:48:22 +00:00
Phill Ridout
b464b5613c pep fixes 2014-11-02 17:19:02 +00:00
Phill Ridout
b682117f92 Completed tests for ColorButton 2014-11-02 16:50:18 +00:00
Phill Ridout
8c0f480b0e Start of ColorButton tests 2014-10-29 19:18:01 +00:00
Phill Ridout
3685948ed5 HEAD 2014-10-29 19:11:43 +00:00
Phill Ridout
013e59c527 fixes to FileDialog tests 2014-10-29 19:07:13 +00:00
Ken Roberts
f81903bbcf Merge upstream 2014-10-23 15:16:38 -07:00