Patrick Zimmermann
8c8cd3b867
Replace DuplicateSongFinder class with a set of functions.
2013-02-18 21:27:11 +01:00
Tim Bentley
17e367c6ba
Fix up tests
2013-02-18 19:34:36 +00:00
Patrick Zimmermann
570b8e1f45
Merge master.
2013-02-18 19:56:26 +01:00
Patrick Zimmermann
10d9b506a6
Even more variables adapted to PEP8. Sentencify lots of comments.
2013-02-18 19:46:50 +01:00
Andreas Preikschat
4366d8307d
fixed interface test
2013-02-18 12:09:09 +01:00
Tim Bentley
748d9d9d30
Ahhhh blank line
2013-02-17 20:25:42 +00:00
Tim Bentley
219fec12d2
Revert some changes - functional Ok. Interfaces mess
2013-02-17 20:21:15 +00:00
Tim Bentley
5c0fa26289
Revert some changes - functional Ok. Interfaces mess
2013-02-17 20:11:37 +00:00
phill-ridout
ca2b2db640
fixed duplicates in verse order when adding verses with the same tag.
...
fixed handling of part verses eg (1a, 1b, 1.5, etc) in SongShowPlus importer
2013-02-17 19:37:59 +00:00
Andreas Preikschat
b58773cbfe
fixed tests
2013-02-17 14:03:59 +01:00
Tim Bentley
62b1653c46
Fix the unit test framework
2013-02-17 07:54:43 +00:00
Tim Bentley
2fab6cfb39
Head
2013-02-16 20:45:36 +00:00
Tim Bentley
a14f624a81
Fixes
2013-02-16 20:45:15 +00:00
Tim Bentley
e921e63e35
Head
2013-02-16 20:43:47 +00:00
Andreas Preikschat
e9ac83bf47
use own ScreenList() call instead of using parents to access it
...
And more tests
bzr-revno: 2184
2013-02-16 20:42:29 +00:00
Andreas Preikschat
ead6da8cbf
Added UiStrings test
...
Added FormattingTags test
bzr-revno: 2183
2013-02-16 20:41:33 +00:00
Tim Bentley
6f9126dc95
Fix messages
2013-02-16 20:40:05 +00:00
Tim Bentley
b736c24a47
More updates for Service Item Tests
2013-02-16 20:04:26 +00:00
Andreas Preikschat
573f687d9e
fixed spaces/lines
2013-02-16 21:00:31 +01:00
Tim Bentley
0c0742bbbf
Add Service Item Tests 2
2013-02-16 18:27:38 +00:00
Tim Bentley
a463314b7a
Add Service Item Tests
2013-02-16 18:24:31 +00:00
Andreas Preikschat
5b4e285782
created constant; changed test method description
2013-02-16 19:14:41 +01:00
Andreas Preikschat
db00a864fc
fixed test method descriptions; created costant
2013-02-16 19:11:22 +01: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
Tim Bentley
8dc7c6ae65
Head
2013-02-16 13:25:18 +00:00
Tim Bentley
0d6e9389b9
Clean up Song Usage dialog
2013-02-16 13:02:20 +00:00
Andreas Preikschat
479244fde2
fixed import I just removed :/
2013-02-16 13:42:25 +01:00
Andreas Preikschat
b76656420b
moved file to match file name
2013-02-16 13:40:19 +01:00
Andreas Preikschat
ce1d5b6539
fixed import order
2013-02-16 13:33:54 +01:00
Andreas Preikschat
9ecb575d5b
clean up
2013-02-16 13:30:16 +01:00
Andreas Preikschat
b1ec7aa187
completed screen list test
2013-02-16 13:27:13 +01:00
a8fafc3363
HEAD
2013-02-16 14:01:10 +02:00
Andreas Preikschat
434349b47d
fixed test
2013-02-16 12:46:57 +01:00
Andreas Preikschat
a40defdeab
r2181
2013-02-16 12:46:12 +01:00
Tim Bentley
616684d9ad
Merge and fixes
2013-02-16 10:40:05 +00:00
Andreas Preikschat
74f983207c
r2180
2013-02-16 11:28:48 +01:00
Andreas Preikschat
7e0ea578ee
started with screen tests
2013-02-16 11:28:37 +01: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
Andreas Preikschat
7c9506af4a
- fixed Bug #1100277 (Songs don't load with latest build)
...
- added nose to check_dependencies.py
- fixed version number compare in create_separated_list
bzr-revno: 2178
2013-02-16 06:48:52 +00:00
phill-ridout
1b6a54c55d
started on tests for SongShowPlusImport
2013-02-15 19:57:05 +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
Andreas Preikschat
cd83142d77
fixed test
2013-02-15 12:55:47 +01:00
Andreas Preikschat
b77ae7a187
fixed test
2013-02-15 12:09:51 +01:00
Tim Bentley
bd0ff619a9
Clean up settings and alerts
2013-02-14 21:31:17 +00:00
Patrick Zimmermann
ab88b77f9c
Merge master.
2013-02-14 22:04:12 +01:00
Patrick Zimmermann
2a16a6ebcb
Rename lots of variables and methods. Shorten some too long lines.
2013-02-14 21:57:13 +01: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
Andreas Preikschat
6b2274645a
added test for UiStrings, started with FormattingTags tests
2013-02-14 15:54:45 +01:00
Patrick Zimmermann
bbd491baa8
Make songsProbablyEqual test more standard like.
2013-02-14 00:15:21 +01:00
Tim Bentley
89856e0e9a
Cleanup
2013-02-13 19:22:43 +00:00
Tim Bentley
bc5334fa1a
Add new tests to system
2013-02-13 19:10:41 +00:00
Tim Bentley
b7cd1456a9
Head
2013-02-13 17:33:57 +00:00
Tim Bentley
6be6a54d6e
Fix tests in the correct manner
2013-02-13 17:33:37 +00:00
Patrick Zimmermann
e16a3c6dea
Merge trunk.
2013-02-12 22:51:04 +01:00
Patrick Zimmermann
e807c9cb93
Add basic test logic & tune duplicate identification logic a bit.
2013-02-12 21:38:43 +01:00
phill-ridout
f419108e61
Removed spacing from comments.
2013-02-12 19:26:19 +00:00
Tim Bentley
a73d4cce08
Fix review comments
2013-02-12 16:42:09 +00:00
98311d9ad1
Add an interface test for the find_plugins method.
...
Not sure if this should be an interface test or a scenario test, but it does very little mocking, tries to let the bits of OpenLP run for real, and checks that all the plugins are imported.
Remove the superfluous argument to the find_plugins method.
2013-02-11 23:16:30 +02:00
phill-ridout
35eebb2a8e
Added validator test
2013-02-11 20:47:53 +00:00
Tim Bentley
5bc10bf1a9
Fix delete issue
2013-02-11 19:54:18 +00:00
Tim Bentley
19f9cb8c24
Fix key error in tests
2013-02-11 19:48:38 +00:00
3b3eab52c5
Additional fixes and tweaks
2013-02-11 21:44:04 +02:00
Tim Bentley
b4a3833858
Fix up tests - initial
2013-02-11 19:20:08 +00:00
Tim Bentley
b119783a2c
Start of settings tests
2013-02-11 18:08:32 +00:00
b5f3e46ad4
Pedantics.
2013-02-11 19:41:32 +02:00
Raoul Snyman
f822aed40f
Add some tests around the PluginManager class.
2013-02-11 15:22:13 +02:00
00a0748423
Try to add the SIP initialisation in a base module.
2013-02-10 22:09:39 +02:00
761bb6339d
More code cleanups.
...
- Corrected more naming conventions
- Changed old-style signal-slot connections
- Added properties to the author form
2013-02-10 22:04:47 +02:00
Andreas Preikschat
d0104bf795
fixed comments
2013-02-10 19:59:00 +01:00
phill-ridout
17200d85fc
some more changes to the test
2013-02-09 21:23:43 +00:00
Tim Bentley
536bee40d4
Test fixes
2013-02-09 17:07:33 +00:00
phill-ridout
7d7da00848
made changes according to Superfly's instructions.
2013-02-08 21:49:26 +00:00
phill-ridout
e1552ddce1
actually added test file
2013-02-08 19:13:18 +00:00
Tim Bentley
fae34b1b4d
Head + fix merge problems
2013-02-07 07:17:19 +00:00
Andreas Preikschat
947cfce931
cough...
2013-02-06 22:50:55 +01:00
Andreas Preikschat
396d0b1cd2
remove pytest and renamed mocked function
2013-02-06 22:39:52 +01:00
Andreas Preikschat
ed38ba3519
fixed comments
2013-02-06 21:47:57 +01:00
Andreas Preikschat
fe74e66400
docs ;)
2013-02-06 20:55:28 +01:00
Andreas Preikschat
2c8f0e66b2
comleted tests
2013-02-06 20:45:11 +01:00
Tim Bentley
d491997ca7
old test code
2013-02-06 19:25:16 +00:00
Andreas Preikschat
022f0e0184
started with tests
2013-02-06 18:36:36 +01:00
Andreas Preikschat
86912ec2c3
removed not needed imports; removed not needed script
2013-02-04 22:22:12 +01:00
Tim Bentley
b7b19a4180
Fix up Registry function processing
2013-02-04 19:25:12 +00:00
Tim Bentley
6ef4db5ce8
Tests restructure
2013-01-31 19:41:45 +00:00
Tim Bentley
72920494a6
Head and merge fixes
2013-01-30 22:01:52 +00:00
Tim Bentley
074dff44d3
spelling
2013-01-30 18:55:46 +00:00
Tim Bentley
d6d6acf6a0
spelling
2013-01-30 18:51:37 +00:00
Andreas Preikschat
68128af18f
fixed test
2013-01-30 19:42:22 +01:00
Tim Bentley
d72bc1b340
correct error text
2013-01-30 18:18:28 +00:00
Tim Bentley
8f9b20a6cc
fix exception texts
2013-01-29 22:05:58 +00:00
Tim Bentley
81aaf6dab9
fix exception texts
2013-01-29 22:05:32 +00:00
Tim Bentley
552111629b
fix exception texts
2013-01-29 20:10:09 +00:00
Tim Bentley
47b4c5694d
fix text
2013-01-29 20:00:13 +00:00
Tim Bentley
a2dfd3b176
fix text
2013-01-29 19:55:22 +00:00
Tim Bentley
0a1f91af8b
Review fixes
2013-01-29 17:19:19 +00:00
Tim Bentley
9719645edd
Fix up tests and amened Register
2013-01-27 20:59:02 +00:00
Tim Bentley
80a2a7449e
Move var cleanups
2013-01-27 20:36:18 +00:00
Tim Bentley
bdb9089409
Cleanup ServiceManager code
2013-01-27 07:36:04 +00:00
Tim Bentley
96afb2a737
Fix tests so they work better. Pylint fixes and bug fixex
2013-01-25 20:50:18 +00:00
Tim Bentley
88119d58ab
fix tests to run
2013-01-24 20:14:30 +00:00
Tim Bentley
c0aca32660
Head
2013-01-24 20:08:52 +00:00
Tim Bentley
0e6b7c705d
fix up testing bugs
2013-01-24 20:04:18 +00:00
Tim Bentley
c78fc8d99e
tests
2013-01-24 19:38:38 +00:00
Tim Bentley
afe9f9ba0e
fix test
2013-01-24 19:08:47 +00:00
Tim Bentley
97b6592be8
remove test for now
2013-01-24 19:07:11 +00:00
Tim Bentley
1e3590a152
Clean up complete for now
2013-01-24 06:00:51 +00:00
Tim Bentley
c801e45668
remove unused
2013-01-23 21:51:45 +00:00
Tim Bentley
f8ab805c7a
fix test bug
2013-01-23 21:01:30 +00:00
Tim Bentley
aafef12bf8
Head with fixes
2013-01-23 20:29:43 +00:00
Tim Bentley
9a107e627b
Head
2013-01-23 19:53:02 +00:00
Tim Bentley
a62cf5dca6
Updates to tests
2013-01-23 19:51:39 +00:00
Tim Bentley
9067b16e0e
fix up some tests
2013-01-22 21:59:45 +00:00
Raoul Snyman
cdfc423456
Attempt to fix a test which breaks on our CI server because it uses an older version of Mock.
2013-01-21 22:15:10 +02:00
Tim Bentley
895215715c
Move text changes
2013-01-21 17:22:10 +00:00
Tim Bentley
2bbe629c43
Head
2013-01-21 16:51:11 +00:00
Raoul Snyman
007b87ea9c
Add some tests to cover validate_thumb()
2013-01-21 15:57:09 +02:00
Raoul Snyman
47ecdbd74c
Make the test pass, too.
2013-01-21 15:17:27 +02:00
Raoul Snyman
d5bb154354
Whoops, we need datetime imported.
2013-01-21 15:16:41 +02:00
Raoul Snyman
d1bd72a508
Add a test for Jonathan to complete.
2013-01-21 15:04:18 +02:00
Tim Bentley
b04a6bba79
Code tidy ups to make pylint happier
2013-01-21 07:29:43 +00:00
Raoul Snyman
ac795d8439
Fix up the openlp_core_ui tests so that they run and they don't segfault at the end
2013-01-21 09:26:36 +02:00
Tim Bentley
a54d02f81c
Fix merges
2013-01-21 06:52:55 +00:00
Raoul Snyman
2b0ac109e3
Added another tests for the check_item_selected() function.
2013-01-20 23:09:52 +02:00
Raoul Snyman
198f7843cf
Removed some seemingly stray files
2013-01-20 22:55:03 +02:00
Raoul Snyman
1f51426a78
Moved some stuff around and added some more tests
2013-01-20 22:53:58 +02:00
Raoul Snyman
8c916254e4
HEAD
2013-01-20 21:33:26 +02:00
Tim Bentley
3681ef911c
Updates
2013-01-20 17:12:33 +00:00
Tim Bentley
d4db88d2a4
More Service item tests
2013-01-20 10:01:51 +00:00
Tim Bentley
40ac589470
Fix tests take 2
2013-01-19 21:34:16 +00:00
Tim Bentley
02fc8dbb56
Fix tests
2013-01-19 20:46:11 +00:00
Tim Bentley
db9d2a4a56
Fix up unit tests
2013-01-19 18:31:22 +00:00
Tim Bentley
9d8fc508b0
Head
2013-01-16 19:37:11 +00:00
Tim Bentley
f2ef685cf1
tidy ups
2013-01-16 19:35:44 +00:00
Tim Bentley
9f7725573d
Fix tests
2013-01-09 19:56:16 +00:00
Raoul Snyman
6531224cec
Fix an erroneous and unused import in a test.
2013-01-08 08:20:49 +02:00
Raoul Snyman
b438fa2218
HEAD
2013-01-07 22:22:11 +02:00
Raoul Snyman
cbb8ad02b6
Add tests for build_icon.
2013-01-07 22:21:14 +02:00
Raoul Snyman
69daaa3d5d
Fix failing get_data_path_with_custom_location_test()
...
Fix the test that fails after our upgrade to use SIP API version 2 and the changes to the Settings class. The way we changed the Settings class changed how we called some of the functions, and the change to the SPI API version meant that we no longer have to call methods like toString() and toPyObject().
Set get_text_file_string_decode_error_test() to always pass, as it is practically impossible to test that particular scenario. Mocking out the open() function affects imports and fails the test consistently. Perhaps we can come back to this test at a later stage.
2013-01-07 14:05:19 +02:00
Tim Bentley
e03a265ba9
Style updates and more tests
2013-01-02 21:50:20 +00:00
Tim Bentley
174905b991
update tests
2012-12-30 22:10:51 +00:00
Tim Bentley
8f7c53c1fc
Add some more tests
2012-12-30 19:03:10 +00:00
Tim Bentley
e79250c06b
Fix seek slider code - and Head
2012-12-30 08:33:42 +00:00
Raoul Snyman
e195cc0c56
Writing some more tests
2012-12-10 22:48:37 +02:00
Tim Bentley
5a4a33b9b8
Updates
2012-12-09 20:57:41 +00:00
Tim Bentley
96f302b1c2
More tests
2012-12-08 12:45:04 +00:00
Tim Bentley
e8b578c8a2
Head
2012-12-08 11:27:22 +00:00
Tim Bentley
85f9d44609
More tests
2012-12-08 11:21:57 +00:00
Tim Bentley
597e15a50b
Missing files
2012-12-08 08:50:21 +00:00
Tim Bentley
5be9ba5b2c
Cleanup Service Item Validation and start tests
2012-12-08 08:40:41 +00:00
Raoul Snyman
94224beed5
Fully qualified the module path to patch.
2012-12-07 23:38:02 +02:00
Raoul Snyman
25c64d5651
Renamed some tests.
2012-12-07 23:15:10 +02:00
Raoul Snyman
9934a41d48
Fleshed out get_filesystem_encoding_test thanks to Jonathan C
2012-12-07 23:08:38 +02:00
Raoul Snyman
000b06ffe6
Moved the _get_frozen_path() test to the proper test case.
2012-12-07 22:52:55 +02:00
Raoul Snyman
e5b8a1b1ad
Stubbed out a new test.
2012-12-07 22:50:38 +02:00
Raoul Snyman
93fd476383
Expanded the check_directory_exists() test.
2012-12-07 21:08:28 +02:00
Raoul Snyman
4de4a1823c
Test check_directory_exists.
2012-12-07 20:10:24 +02:00
Raoul Snyman
23150fefe8
Added a test for the translate() function.
2012-12-07 19:47:33 +02:00
Raoul Snyman
6a1fac1d51
Fixed up some comments.
2012-12-07 00:21:19 +02:00
Raoul Snyman
9e898d6067
Yay! More tests!
2012-12-07 00:19:17 +02:00
Raoul Snyman
392dc31223
Tried to fix a problem with a test on Jenkins.
2012-12-06 14:58:19 +02:00
Raoul Snyman
745bf0e1ee
More tests
2012-12-06 12:55:12 +02:00
Raoul Snyman
ebdd1d35dc
Removed some unnecessary imports in the tests.
2012-12-05 23:22:29 +02:00
Raoul Snyman
0483fdc8ea
Forgot to mock out another method.
2012-12-05 22:55:28 +02:00
Raoul Snyman
ee6495e08f
Expanded the tests.
2012-12-05 22:44:42 +02:00
Raoul Snyman
8a4f143878
First couple of (example) tests and a README file to go with it.
2012-12-05 20:52:31 +02:00
Raoul Snyman
0450866e73
Renamed testing to tests
2012-12-05 20:13:10 +02:00