You are here

ThemekeyDrupalPropertiesTestCase.test in ThemeKey 7

Implements tests for the theme switching rules.

File

tests/ThemekeyDrupalPropertiesTestCase.test
View 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

Namesort descending Description
ThemekeyDrupalPropertiesTestCase @file Implements tests for the theme switching rules.