nextcloud/tests/lib
Vincent Petry 09cc0c5cc9 Fixed quota wrapper to not wrap failed fopen streams
When calling fopen() on some storage types, these return false instead
of throwing an exception.

This fix makes sure that in case the stream wasn't opened (for example
when a file doesn't exist any more) the stream isn't wrapped.

Also added 'rb' as another case that doesn't need to be wrapped.

Fixes #6832
2014-01-20 14:32:57 +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 Fixed quota wrapper to not wrap failed fopen streams 2014-01-20 14:32:57 +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 updated the unit test for OCP\Share::unshareAll() to verify that shares by all users are removed for an item. 2014-01-16 12:14:53 +01:00
template Split locating JS and CSS files to their own class 2013-07-21 21:36:15 +02:00
user Merge pull request #6612 from owncloud/user-no-change-displayname-stable 2014-01-14 07:13:21 -08:00
api.php extended test to also check the status messages 2014-01-15 16:10:31 +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