nextcloud/tests
Bernhard Posselt 95239ad21e AppFramework StreamResponse
First stab at the StreamResponse, see #12988

The idea is to use an interface ICallbackResponse (I'm not 100% happy with the name yet, suggestions?) that allow the response to output things in its own way, for instance stream the file using readfile

Unittests are atm lacking, plan is to

check if a mock of ICallbackResponse will be used by calling its callback (also unhappy with this name) method
Usage is:

$response = new StreamResponse('path/to/file');

rename io to output, add additional methods and handle error and not modified cases when using StreamResponse

fix indention and uppercasing, also handle forbidden cases

fix indention

fix indention

no forbidden, figuring out if a file is really readable is too complicated to get to work across OSes and streams

remove useless import

remove useless import

fix intendation
2015-02-27 15:42:33 +01:00
..
acceptance correct delete-icon to icon-delete, fix #11128 2014-09-22 18:17:33 +02:00
core/lostpassword/controller Mock l10n in the setup 2015-02-01 17:46:48 +01:00
data implement php code checker to detect usage of not allowed private APIs - including console command to check local code to be used by developers 2015-02-10 11:51:24 +01:00
lib AppFramework StreamResponse 2015-02-27 15:42:33 +01:00
settings fixing unit tests in UsersControllerTest 2015-02-16 19:45:40 +01:00
apps.php load test cases from enabled apps 2012-10-08 14:26:51 +02:00
bootstrap.php Check for PHP configuration before executing unit tests 2015-02-21 11:51:52 +01:00
enable_all.php Add provisioning_api app 2014-12-24 22:15:20 +01:00
karma.config.js Added unit test for app filter 2015-02-23 15:29:25 +01:00
phpunit-autotest-external.xml Setup a docker container that holds a webdav instance to test files_external 2014-12-17 21:50:35 +01:00
phpunit-autotest.xml Add provisioning_api app 2014-12-24 22:15:20 +01:00
phpunit.xml.dist Add provisioning_api app 2014-12-24 22:15:20 +01:00
preseed-config.php adding new config parameter for sqlite to specify the journal mode 2014-11-25 16:29:06 +01:00
startsessionlistener.php kill OC::$session 2014-08-29 10:22:21 +02:00