nextcloud/tests/lib
Vincent Petry d69243ee51 Fixed FTP and SMB to use rmdir() when deleting folders
Some storages need to use different calls for deleting files or folders,
usually unlink() and rmdir().

Fixes #4532 (SMB dir deletion)
Fixes #5941 (FTP dir deletion)

Note that the extra is_dir() should be fast because it's read from the
stat cache.
2013-11-29 13:01:01 +01:00
..
appframework Fix namespace for OCP\Appframework\Http 2013-10-23 05:57:34 +02:00
archive Add _many_ newlines at the end of files 2013-08-18 11:06:59 +02:00
backgroundjob TimedJob: make PhpUnit happy with asserts 2013-06-28 13:24:24 +02:00
cache OC_Cache namespace changes and add UserCache to server container. 2013-09-17 17:46:33 +02:00
connector/sabre test cases added for create/remove Shared folder and file 2013-10-22 11:22:06 +02:00
db fix DB schema test - no default value 2013-11-12 13:45:28 +01:00
files Fixed FTP and SMB to use rmdir() when deleting folders 2013-11-29 13:01:01 +01:00
group consolidate validity check for users in group class 2013-08-26 17:46:31 +02:00
hooks forward previously registerd hooks 2013-07-08 16:54:26 +02:00
memcache Add ACPu memory cache 2013-07-24 21:50:15 +02:00
ocs testing update and delete 2013-10-31 11:09:52 +01:00
public Use new autoloader class 2013-05-11 22:44:45 +02:00
session make PHPUnit happy and add asserts 2013-06-28 14:37:52 +02:00
share Add tests for OCP\Share::unshareAll(). 2013-11-03 12:31:53 +01:00
template Split locating JS and CSS files to their own class 2013-07-21 21:36:15 +02:00
user Enable user backends to provide avatar images 2013-11-22 13:25:20 +01:00
api.php make use of data providers 2013-11-14 15:37:30 +01:00
app.php Add _many_ newlines at the end of files 2013-08-18 11:06:59 +02:00
appconfig.php Use setUpBeforeClass() and tearDownAfterClass() 2013-08-06 17:30:58 +02:00
archive.php drop SimpleTest compatibility 2013-01-24 16:47:17 +01:00
autoloader.php fix unit tests 2013-10-02 11:25:44 +02:00
avatar.php Round out Avatar Public API 2013-11-21 23:40:25 +01:00
cache.php updating php docs 2013-09-18 22:22:51 +02:00
config.php Revert "fix failing master branch - Test_Config::testWriteData" 2013-07-23 17:36:08 +02:00
db.php Compare objects directly. Also use $expected and $actual. 2013-09-12 23:43:21 +02:00
dbschema.php Clean up \OC\Util 2013-08-15 15:57:32 +02:00
geo.php Add _many_ newlines at the end of files 2013-08-18 11:06:59 +02:00
group.php Test that dispayNamesInGroup(s) always returns uid as key in the result array 2013-10-20 20:56:25 +02:00
helper.php adding test for binary file to test \OC_Helper::streamCopy() 2013-11-04 17:19:04 +01:00
image.php Check for $this->fileInfo and @depend on testData() 2013-09-01 15:50:58 +02:00
l10n.php Some tests for OC_L10N::findLanguage() 2013-10-23 15:41:15 +02:00
preferences.php Convert OC_Preference to object interface 2013-09-19 18:13:06 +02:00
preview.php fix failing preview test on master 2013-10-30 15:39:55 +01:00
request.php fixes #6050 2013-11-26 14:13:33 +01:00
streamwrappers.php better unit tests for static stream wrapper 2013-06-28 19:59:04 +02:00
tags.php Add factory class for the server container. 2013-09-24 17:10:01 +02:00
template.php Added unit tests for relative_modified_date, changed method signature 2013-10-03 13:55:05 +02:00
user.php Add unit tests 2013-10-08 16:33:56 +03:00
util.php Quota storage wrapper is now used for all users in sharing mode 2013-11-21 12:04:54 +01:00
vobject.php Add _many_ newlines at the end of files 2013-08-18 11:06:59 +02:00