You are here

answers_theme.test in Answers 7.4

File

answers_theme/answers_theme.test
View source
<?php

/**
 * @file
 * Tests for answers_best_answer.module.
 */

/**
 * Tests the functionality of the answers module with answers_theme enabled.
 */
class AnswersThemeTestCase extends AnswersTestCase {

  /**
   * Test getInfo.
   */
  public static function getInfo() {
    return array(
      'name' => 'Answers Theme',
      'description' => 'Answers Theme Tests',
      'group' => 'Answers',
    );
  }

  /**
   * Enable modules and create users with specific permissions.
   */
  public function setUp() {
    parent::setUp('answers_theme');
  }

}

/**
 * Tests the functionality of the answers views with answers_theme enabled.
 */
class AnswersThemeViewTestCase extends AnswersViewTestCase {

  /**
   * Test getInfo.
   */
  public static function getInfo() {
    return array(
      'name' => 'Answers Theme Views',
      'description' => 'Answers Theme View Tests',
      'group' => 'Answers',
    );
  }

  /**
   * Enable modules and create users with specific permissions.
   */
  public function setUp() {
    parent::setUp('answers_theme');
  }

}

/**
 * Tests the functionality of the answers views with answers_theme enabled.
 */
class AnswersThemeBestTestCase extends AnswersBestTestCase {

  /**
   * Test getInfo.
   */
  public static function getInfo() {
    return array(
      'name' => 'Answers Theme Views',
      'description' => 'Answers Theme Best Answer Tests',
      'group' => 'Answers',
    );
  }

  /**
   * Enable modules and create users with specific permissions.
   */
  public function setUp() {
    parent::setUp('answers_theme');
  }

}

/**
 * Tests the functionality of the answers views with answers_theme enabled.
 */
class AnswersThemeBestViewTestCase extends AnswersBestViewTestCase {

  /**
   * Test getInfo.
   */
  public static function getInfo() {
    return array(
      'name' => 'Answers Theme Best Answer Views',
      'description' => 'Answers Theme Best Answer View Tests',
      'group' => 'Answers',
    );
  }

  /**
   * Enable modules and create users with specific permissions.
   */
  public function setUp() {
    parent::setUp('answers_theme');
  }

}

/**
 * Tests the functionality of the answers views with answers_theme enabled.
 */
class AnswersThemeTaxonomyTestCase extends AnswersTaxonomyTestCase {

  /**
   * Test getInfo.
   */
  public static function getInfo() {
    return array(
      'name' => 'Answers Theme Taxonomy',
      'description' => 'Answers Theme Taxonomy Tests',
      'group' => 'Answers',
    );
  }

  /**
   * Enable modules and create users with specific permissions.
   */
  public function setUp() {
    parent::setUp('answers_theme');
  }

}

/**
 * Tests the functionality of the answers views with answers_theme enabled.
 */
class AnswersThemeUserPointsTestCase extends AnswersUserPointsTestCase {

  /**
   * Test getInfo.
   */
  public static function getInfo() {
    return array(
      'name' => 'Answers Theme Userpoints',
      'description' => 'Answers Userpoints Tests.',
      'group' => 'Answers',
    );
  }

  /**
   * Enable modules and create users with specific permissions.
   */
  public function setUp() {
    parent::setUp('answers_theme');
  }

}

/**
 * Tests the functionality of the answers views with answers_theme enabled.
 */
class AnswersThemeVotingTestCase extends AnswersVotingTestCase {

  /**
   * Test getInfo.
   */
  public static function getInfo() {
    return array(
      'name' => 'Answers Theme Voting',
      'description' => 'Answers Voting Tests.',
      'group' => 'Answers',
    );
  }

  /**
   * Enable modules and create users with specific permissions.
   */
  public function setUp() {
    parent::setUp('answers_theme');
  }

}

Classes

Namesort descending Description
AnswersThemeBestTestCase Tests the functionality of the answers views with answers_theme enabled.
AnswersThemeBestViewTestCase Tests the functionality of the answers views with answers_theme enabled.
AnswersThemeTaxonomyTestCase Tests the functionality of the answers views with answers_theme enabled.
AnswersThemeTestCase Tests the functionality of the answers module with answers_theme enabled.
AnswersThemeUserPointsTestCase Tests the functionality of the answers views with answers_theme enabled.
AnswersThemeViewTestCase Tests the functionality of the answers views with answers_theme enabled.
AnswersThemeVotingTestCase Tests the functionality of the answers views with answers_theme enabled.