aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Template
Commit message (Collapse)AuthorAgeFilesLines
* Fix testsJulius Härtl2017-06-161-20/+31
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Implement scss variable injection by OC_DefaultsJulius Haertl2017-04-251-23/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Haertl <jus@bitgrid.net> Add Scss variables to example theme and theming app Signed-off-by: Julius Haertl <jus@bitgrid.net> Use SCSSCacher to build theming css Signed-off-by: Julius Härtl <jus@bitgrid.net> Update theming.scss Signed-off-by: Julius Härtl <jus@bitgrid.net> Code cleanup Signed-off-by: Julius Härtl <jus@bitgrid.net> Fix tests Signed-off-by: Julius Härtl <jus@bitgrid.net> Inject SCSSCacher for easier testing Signed-off-by: Julius Härtl <jus@bitgrid.net> Fix typehint Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Generate absolute URLs Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Fix tests to always use absolute urls for theming images Signed-off-by: Julius Härtl <jus@bitgrid.net> MailheaderColor -> ColorPrimary Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-2/+0
| | | | | | | | | | | | | * 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>
* Fix gzip files for SafariMorris Jobke2017-03-292-10/+10
| | | | | | | * Safari support gzip only if the filename does not end on .gz - so this renames them to .gzip Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsRoeland Jago Douma2017-03-282-28/+116
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Don't run JSCombiner when not installedLukas Reschke2017-03-251-26/+200
| | | | | | When the instance is not installed don't run the JSCombiner as the appdata folder does not yet exist. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* TestsRoeland Jago Douma2017-03-244-0/+274
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsRoeland Jago Douma2017-03-221-31/+89
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Cache SCSS dependency file in memcacheRoeland Jago Douma2017-03-221-2/+4
| | | | | | | Since reading a file from disks can be costly. Lets store the dependency json also in memcache. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix testsJulius Härtl2017-03-201-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add tests for SCSSCacherJulius Härtl2017-03-201-30/+200
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add tests for SCSSCacherJulius Haertl2017-03-201-0/+108
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix unit testsMorris Jobke2017-02-031-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix getMock TemplateRoeland Jago Douma2016-09-071-1/+2
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-201-0/+95
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader