Syntro\SilverstripeKlaro\Tests\KlaroRequirements_BackendTest
Test the Backend class
- Author: Matthias Leutenegger <hello@syntro.ch>
Synopsis
class KlaroRequirements_BackendTest
extends SapphireTest
{
- // constants
- const HTMLCONTENT = " <html> <head> </head> <body> </body> </html> ";
- // methods
- public void testKlaroScriptAdd()
- public void testCustomKlaroScriptAdd()
- public void testKlaroCssAdd()
- public void testKlaroScriptClear()
- public void testIncludeInHTMLForKlaroScript()
- public void testIncludeInHTMLForCustomKlaroScript()
- public void testIncludeInHTMLForKlaroCss()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Constants
Name | Value |
---|---|
HTMLCONTENT | " <html> <head> </head> <body> </body> </html> " |
Methods
public
- testCustomKlaroScriptAdd() — test
- testIncludeInHTMLForCustomKlaroScript() — test - By default, scripts are pushed to bottom
- testIncludeInHTMLForKlaroCss() — test
- testIncludeInHTMLForKlaroScript() — test - By default, scripts are pushed to bottom
- testKlaroCssAdd() — test
- testKlaroScriptAdd() — test
- testKlaroScriptClear() — test