ThemekeyDrupalPropertiesTestCase.test in ThemeKey 7.3
Same filename and directory in other branches
Implements tests for the theme switching rules.
File
tests/ThemekeyDrupalPropertiesTestCase.testView source
<?php
/**
* @file
* Implements tests for the theme switching rules.
*/
class ThemekeyDrupalPropertiesTestCase extends ThemekeyWebTestCase {
public static function getInfo() {
return array(
'name' => 'ThemeKey Drupal Properties',
'description' => 'Test the ThemeKey drupal properties (drupal:).',
'group' => 'ThemeKey',
);
}
public function testPropertyDrupalIsFrontPage() {
$this
->simplePropertyTest('drupal:is_front_page', '=', 'true');
}
}
Classes
Name | Description |
---|---|
ThemekeyDrupalPropertiesTestCase | @file Implements tests for the theme switching rules. |