Commit Graph

103 Commits

Author SHA1 Message Date
Robin Appelman 503922ff6c some tests for the file blacklist 2012-11-03 00:26:36 +01:00
Lukas Reschke fd584f446d Merge pull request #220 from fmms/checkstyle02
Checkstyle: many fixes
2012-11-02 14:59:36 -07:00
Robin Appelman 2dbf2c69de fix inlude path for template test 2012-11-02 21:46:27 +01:00
Felix Moeller afadf93d31 Checkstyle: many fixes 2012-11-02 19:53:02 +01:00
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 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
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 35442e5474 Add unit tests for OC_DB 2012-10-12 15:47:41 +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 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
Robin Appelman f77dc9b30f add test to make sure filepaths that are passed to filesystems hooks are normalized 2012-10-01 14:00:14 +02:00
Robin Appelman a61c820369 code style 2012-10-01 12:57:13 +02:00
Michael Gapczynski f23f719d99 Fix unsharing from self for group shares and add test for it 2012-09-08 20:15:47 -04:00
Thomas Mueller 3829460ab8 adding space between) and { 2012-09-07 15:22:01 +02:00
Thomas Mueller ebb28412ca no more require_once() 2012-09-05 23:28:59 +02:00
Michael Gapczynski 4c065deb55 Listen to post_deleteGroup hook in Share API 2012-09-02 20:01:09 -04:00
Michael Gapczynski f0f2d93908 Restructure generateTarget for the post_addToGroup hook 2012-09-02 18:23:19 -04:00
Michael Gapczynski 95cd48dea8 Fix sharing test case 2012-08-28 14:00:46 -04:00
Thomas Mueller 07df52c998 assert array length and individual content instead of assertEqual on arrays 2012-08-28 00:35:10 +02:00