server/tests/lib
Vincent Petry 1af7dab535 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-19 18:51:36 +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-05 13:29:35 +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 Increment number of columns by one 2013-12-18 00:37:09 +01:00
files Fixed quota wrapper to not wrap failed fopen streams 2014-01-19 18:51:36 +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 Ensure memcached extension is there before attempting to create an instance. 2013-12-09 14:33:26 +01: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-10 14:08:29 +13: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-08 13:26:48 +01:00
api.php extended test to also check the status messages 2014-01-14 17:11:04 +01:00
app.php Fixed apps loading order 2013-12-20 17:16:57 +01:00
appconfig.php Fixed apps loading order 2013-12-20 17:16:57 +01: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 Make OC_Avatar unit tests independent of currently loggedin user 2014-01-02 16:08:08 +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 Remove all uses of numRows(). 2013-12-21 19:56:14 +01:00
dbschema.php Remove all uses of numRows(). 2013-12-21 19:56:14 +01: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 Remove all uses of numRows(). 2013-12-21 19:56:14 +01:00
preview.php fix failing preview test on master 2013-10-30 15:39:55 +01:00
request.php Added isUserAgent() method to request 2013-12-19 18:40:22 +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