nextcloud/tests/lib/files
Vincent Petry d6ce45fe61 Correctly read the full stream in file_get_contents
When using user-defined stream wrappers, PHP will
return a maximum of 8192 bytes even if more was
requested.

This fix uses stream_get_contents to make sure the full stream is read
and not only the first 8 KB.

Added unit test with a bigger test file to cover this case.
2014-04-01 10:07:16 +02:00
..
cache Merge pull request #7420 from owncloud/cachehooks-first 2014-03-25 22:41:09 +01:00
mount fix storage wrapper namespaces 2013-06-28 18:18:12 +02:00
node Scrutinizer Auto-Fixes 2014-02-19 09:31:54 +01:00
storage Correctly read the full stream in file_get_contents 2014-04-01 10:07:16 +02:00
stream Scrutinizer Auto-Fixes 2014-02-19 09:31:54 +01:00
utils Scanner: additional tests for reusing etags during scanning 2013-08-12 15:37:15 +02:00
etagtest.php use assertSame and assertNotSame for etag checks 2014-02-27 09:39:34 +01:00
filesystem.php Added unit tests for external cache folder 2014-03-24 14:32:04 +01:00
mapper.php Update mapper.php 2013-06-08 19:44:58 +03:00
view.php use assertSame and assertNotSame for etag checks 2014-02-27 09:39:34 +01:00