ThemekeyDrupalPropertiesTestCase.test in ThemeKey 7
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 node 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. |