Commit Graph

94 Commits (3f85432df9d269908fc1bea66133246d4efce656)

Author SHA1 Message Date
Thomas Müller 59c2414439 Fixing typo 13 years ago
Thomas Müller a707fd639d Fixing expectation - comma was stupid anyhow 13 years ago
Thomas Müller e417ad6b16 Removing strange character 13 years ago
Lukas Reschke 3fc9fbeef7 Expectation should be first parameter 13 years ago
Lukas Reschke 665100b471 Expectation should be first parameter 13 years ago
Bart Visscher 5713dcfd11 Use $SERVERROOT/tests/data for testGetMimeType 13 years ago
Bart Visscher 3fef4564f0 Give share test users a unique prefix 13 years ago
Lukas Reschke 41d1494898 Remove not reliable test 13 years ago
Lukas Reschke 0f26228d99 Some tests 13 years ago
Bart Visscher 95c8adba19 Swap values for assertEqual to get better error message, also renamed the function to phpunit name 13 years ago
Lukas Reschke 3c3e8c6c98 Test for geo.php 13 years ago
Lukas Reschke 8a87585c9d Little test for some util.php functions 13 years ago
Bart Visscher 8c281a456d PHPUnit 3.6 does not support @expectedException with the generic exception class 13 years ago
Bart Visscher a0b15dcb12 Fix syntax error in postgres table check code 13 years ago
Bart Visscher 70c7ee6fc7 Skip apc test when apc is not enabled for CLI 13 years ago
Bart Visscher f242e658c3 Fix the db tests when running all tests 13 years ago
Bart Visscher 35442e5474 Add unit tests for OC_DB 13 years ago
Robin Appelman ee28e35ba9 fix storage test case 13 years ago
Robin Appelman 517354580d remove ctime tests for filestorage, ctime will be removed from the storage api in the future 13 years ago
Robin Appelman 29c43b7d61 some test cases for fopen of storage backends 13 years ago
Robin Appelman c4e301d48f code style 13 years ago
Robin Appelman 7b64ab9294 make sure the share backend test case can find the correct interface 13 years ago
Michael Gapczynski dc767798c6 Manually change appconfig value for share policy so tests work correctly 13 years ago
Robin Appelman 671c8b94b1 better detect if we need to init the filesystem for the hooks test 13 years ago
Robin Appelman 4cdfc72d58 fix hook test when not logged in 13 years ago
Robin Appelman f5b62fb2eb skip some test for storage backends that don't support touch 13 years ago
Robin Appelman c4c8dd4e3a make archive test cases work again 13 years ago
Robin Appelman 30c2c2c5cd remove cache ttl tests, take a lot of time and don't work correctly for most backends anyway 13 years ago
Robin Appelman 22f8f50e05 initual phpunit support 13 years ago
Robin Appelman 804372947a fix test case for when a user is logged in 13 years ago
Robin Appelman f77dc9b30f add test to make sure filepaths that are passed to filesystems hooks are normalized 13 years ago
Robin Appelman a61c820369 code style 13 years ago
Michael Gapczynski f23f719d99 Fix unsharing from self for group shares and add test for it 13 years ago
Thomas Mueller 3829460ab8 adding space between) and { 13 years ago
Thomas Mueller ebb28412ca no more require_once() 13 years ago
Michael Gapczynski 4c065deb55 Listen to post_deleteGroup hook in Share API 13 years ago
Michael Gapczynski f0f2d93908 Restructure generateTarget for the post_addToGroup hook 13 years ago
Michael Gapczynski 95cd48dea8 Fix sharing test case 13 years ago
Thomas Mueller 07df52c998 assert array length and individual content instead of assertEqual on arrays 13 years ago
Thomas Mueller 2abb63de70 assert array length and individual content instead of assertEqual on arrays 13 years ago
Jörn Friedrich Dreyer fa3497f6ed add backticks to SQL, use limit parameter instead of LIMIT SQL 13 years ago
Michael Gapczynski 9699ff03bd Revert using item name, no longer allowing the same item source exist for a user 13 years ago
Michael Gapczynski 5eca531f99 Refactor again so we can tell what item is being reshared in case the same source shows up. This is the end of the share_api branch, moving to master. 13 years ago
Michael Gapczynski f987e22d85 Large refactoring to allow for the same item to be shared to a group and again with a user in the group with different permissions 13 years ago
Robin Appelman 9b44d0cb32 add OC_FileStorage::getLocalFolder 13 years ago
Robin Appelman 5962469892 add OC_Archive::addRecursive 13 years ago
Robin Appelman 53a888cc81 more path normalization 13 years ago
Michael Gapczynski df8a2e5361 File sharing cleanup, works perfectly I think :) 13 years ago
Michael Gapczynski 137e4cb342 Add tests for Share API, all tests passing :) 13 years ago
Robin Appelman 0c8ce0bb32 some basic path normalization 13 years ago