Commit graph

127 commits

Author SHA1 Message Date
Thomas Mueller
dca80c55a9 fixing Test_TemplateFunctions 2012-10-31 00:22:26 +01:00
Bernhard Posselt
3ca5927b59 fixed copy paste error. 4th test will now test print_unescaped instead of p 2012-10-30 21:20:21 +01:00
Bernhard Posselt
aef3c6010b splitted two tests with two assertions each into four tests with one assertion 2012-10-30 17:30:39 +01:00
Bernhard Posselt
f591382147 assert in proper order 2012-10-29 21:33:43 +01:00
Bernhard Posselt
a31c230f22 added tests for p and print_unescaped 2012-10-29 21:22:53 +01:00
Thomas Müller
2248fe9f3e disble breaking test cases for now 2012-10-28 16:33:11 +01:00
Robin Appelman
6695b29053 fix running app tests 2012-10-28 16:03:52 +01:00
Thomas Müller
6f5d0ec9a9 don't enable user_external 2012-10-27 19:44:35 +02:00
Thomas Müller
b390da3eba don't enable apps twice 2012-10-27 19:37:10 +02:00
Thomas Müller
0c40a061e4 fix paths in preeseed-config.php 2012-10-27 12:59:28 +02:00
Thomas Müller
74665faec5 exeuting tests now on apps as well - the apps repo shall be cloned into the sub folder apps2 2012-10-27 11:43:24 +02:00
Thomas Müller
8a03abec0d Filter added to get all files into coderage report 2012-10-19 10:45:51 +03:00
Thomas Müller
59c2414439 Fixing typo 2012-10-18 23:27:49 +03:00
Thomas Müller
a707fd639d Fixing expectation - comma was stupid anyhow 2012-10-18 22:22:41 +03:00
Thomas Müller
e417ad6b16 Removing strange character 2012-10-18 22:11:41 +03:00
Lukas Reschke
3fc9fbeef7 Expectation should be first parameter 2012-10-18 18:35:19 +03:00
Lukas Reschke
665100b471 Expectation should be first parameter 2012-10-18 18:34:24 +03:00
Bart Visscher
5713dcfd11 Use $SERVERROOT/tests/data for testGetMimeType 2012-10-13 21:02:12 +02:00
Bart Visscher
3fef4564f0 Give share test users a unique prefix 2012-10-13 20:23:02 +02:00
Bart Visscher
730d7c4e7d Disable loading apps before starting tests 2012-10-13 20:23:02 +02:00
Lukas Reschke
41d1494898 Remove not reliable test 2012-10-13 16:53:36 +03:00
Lukas Reschke
0f26228d99 Some tests 2012-10-13 15:51:40 +02:00
Bart Visscher
95c8adba19 Swap values for assertEqual to get better error message, also renamed the function to phpunit name 2012-10-13 15:10:19 +02:00
Lukas Reschke
3c3e8c6c98 Test for geo.php 2012-10-13 14:35:20 +02:00
Lukas Reschke
8a87585c9d Little test for some util.php functions 2012-10-13 14:35:20 +02:00
Bart Visscher
8c281a456d PHPUnit 3.6 does not support @expectedException with the generic exception class 2012-10-12 19:28:24 +02:00
Bart Visscher
a0b15dcb12 Fix syntax error in postgres table check code 2012-10-12 19:26:15 +02:00
Bart Visscher
70c7ee6fc7 Skip apc test when apc is not enabled for CLI 2012-10-12 19:08:47 +02:00
Bart Visscher
f242e658c3 Fix the db tests when running all tests 2012-10-12 18:49:51 +02:00
Bart Visscher
316ed0ccc7 Add missing test files 2012-10-12 15:59:19 +02:00
Bart Visscher
35442e5474 Add unit tests for OC_DB 2012-10-12 15:47:41 +02:00
Robin Appelman
d589869a34 disable log when running tests 2012-10-12 15:45:05 +02:00
Robin Appelman
6f3e039e78 clear all hooks when running tests 2012-10-12 15:44:48 +02:00
Robin Appelman
ee28e35ba9 fix storage test case 2012-10-11 22:39:50 +02:00
Robin Appelman
517354580d remove ctime tests for filestorage, ctime will be removed from the storage api in the future 2012-10-11 22:18:34 +02:00
Robin Appelman
29c43b7d61 some test cases for fopen of storage backends 2012-10-11 22:18:34 +02:00
Robin Appelman
c4e301d48f code style 2012-10-11 22:18:34 +02:00
Robin Appelman
7b64ab9294 make sure the share backend test case can find the correct interface 2012-10-10 11:40:40 +02:00
Robin Appelman
aa13a58513 Merge branch 'phpunit' 2012-10-10 11:05:19 +02:00
Michael Gapczynski
dc767798c6 Manually change appconfig value for share policy so tests work correctly 2012-10-09 17:16:59 -04:00
Robin Appelman
3757950562 test data for archive tests 2012-10-08 18:07:26 +02:00
Robin Appelman
07eb1c159d load test cases from enabled apps 2012-10-08 14:26:51 +02:00
Robin Appelman
2de94f9c85 merge master into phpunit 2012-10-08 13:39:01 +02:00
Robin Appelman
671c8b94b1 better detect if we need to init the filesystem for the hooks test 2012-10-07 00:56:59 +02:00
Robin Appelman
4cdfc72d58 fix hook test when not logged in 2012-10-07 00:19:58 +02:00
Robin Appelman
f5b62fb2eb skip some test for storage backends that don't support touch 2012-10-06 13:45:46 +02:00
Robin Appelman
c4c8dd4e3a make archive test cases work again 2012-10-05 22:24:36 +02:00
Robin Appelman
30c2c2c5cd remove cache ttl tests, take a lot of time and don't work correctly for most backends anyway 2012-10-03 21:31:56 +02:00
Robin Appelman
22f8f50e05 initual phpunit support 2012-10-03 21:29:50 +02:00
Robin Appelman
804372947a fix test case for when a user is logged in 2012-10-01 14:07:34 +02:00