You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nextcloud/tests/data
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.
10 years ago
..
l10n fix wrong test data in l10n 11 years ago
data.tar.gz test data for archive tests 12 years ago
data.zip test data for archive tests 12 years ago
db_structure.xml let's name the column 'select' because this is a keyword on all platforms 10 years ago
db_structure2.xml let's name the column 'select' because this is a keyword on all platforms 10 years ago
logo-wide.png Optimized image size 12 years ago
logo-wide.svg dummy data for tests cases 12 years ago
lorem-big.txt Correctly read the full stream in file_get_contents 10 years ago
lorem.txt dummy data for tests cases 12 years ago
openssl.cnf on windows we supply an openssl.cnf file in order to execute the unit tests properly 11 years ago
testavatar.png Add unittests & check filetype in setLocalAvatar() 11 years ago
testcal.ics add test data for cal and contact preview 11 years ago
testcontact.vcf add test data for cal and contact preview 11 years ago
testimage.gif Add OC_Image Unit Test 11 years ago
testimage.jpg Add OC_Image Unit Test 11 years ago
testimage.png Optimize image and skip mimetype test 11 years ago