nextcloud/tests/lib
Vincent Petry 1cbe1896e7 Prevent deleting storage root
Storage mount points are not deletable, so make sure that the unlink
operation and its hooks aren't run in such cases.

Note that some storages might recursively delete their contents when
calling unlink on their root. This fix prevents that as well.

Backport of f642ad3 to stable6
2014-01-10 16:50:26 +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 add test case for removing background jobs that are throwing exceptions 2013-12-06 20:58:12 +01: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 DB: Support DECIMAL(precision,scale) syntax in XML 2014-01-07 16:07:54 +01:00
files Prevent deleting storage root 2014-01-10 16:50:26 +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 add tests for user counting 2014-01-09 17:00:28 +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 DB: Support DECIMAL(precision,scale) syntax in XML 2014-01-07 16:07:54 +01: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 Added isUserAgent() method to request 2014-01-07 22:11:39 +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