nextcloud/tests/lib/files
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
..
cache Fix array access syntax for older PHP 2014-01-17 12:31:22 +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-19 18:51:36 +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 remove duplicate test class 2014-01-14 15:11:41 +01:00
filesystem.php get rid of failing test that don't cause additional downloads 2013-12-06 18:26:38 +01:00
mapper.php Update mapper.php 2013-06-08 19:44:58 +03:00
view.php remove duplicate test class 2014-01-14 15:11:41 +01:00