nextcloud/tests/lib/files
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
..
cache Fix array access syntax for older PHP 2014-01-17 14:39:49 +01:00
mount fix storage wrapper namespaces 2013-06-28 18:18:12 +02:00
node - giving the user a new id for each test run in order to prevent reuse of e.g. permissions data in the database 2013-09-13 21:44:31 +02:00
storage Fixed quota wrapper to not wrap failed fopen streams 2014-01-20 14:32:57 +01:00
stream Fixed quota stream's fseek method 2013-10-25 12:09:46 +02:00
utils Scanner: additional tests for reusing etags during scanning 2013-08-12 15:37:15 +02:00
etagtest.php get rid of failing test that don't cause additional downloads 2013-12-06 19:19:10 +01:00
filesystem.php get rid of failing test that don't cause additional downloads 2013-12-06 19:19:10 +01:00
mapper.php Update mapper.php 2013-06-08 19:44:58 +03:00
view.php Use storage_mtime when determining if we can reuse cached data while scanning 2014-01-15 10:36:32 +01:00