summaryrefslogtreecommitdiffstats
path: root/apps/theming/tests/Controller/IconControllerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersMorris Jobke2017-11-061-10/+13
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-241-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Inject FileAccessHelper for proper testingJulius Härtl2017-05-181-1/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add proper Content-Type to iconsJulius Härtl2017-05-171-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fallback to default faviconJulius Härtl2017-05-171-6/+19
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix theming testsJoas Schilling2017-04-201-6/+6
| | | | | | | Trying to configure method "shouldReplaceIcons" which cannot be configured because it does not exist, has not been specified, is final, or is static Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-3/+3
| | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Error handling and tests if file was not foundJulius Haertl2016-11-181-6/+3
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Sanitize input and small fixesJulius Haertl2016-11-181-6/+5
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Replace null return with NotFoundExceptionJulius Haertl2016-11-181-0/+7
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Improve cachingJulius Haertl2016-11-181-9/+16
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Caching for icon files using AppDataJulius Haertl2016-11-181-66/+67
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Theming: Code cleanup and cache buster for mime iconsJulius Haertl2016-11-181-22/+5
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Check if dynamic icons can be usedJulius Haertl2016-11-181-17/+76
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Add IconBuilder class to encapsulate icon generationJulius Haertl2016-11-181-43/+1
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Improve unit tests for image generationJulius Haertl2016-11-181-69/+58
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Theming: Add IconController testsJulius Haertl2016-11-181-0/+201
Signed-off-by: Julius Haertl <jus@bitgrid.net>