You are here

public static function ScaleTestCase::getInfo in Quiz 7.5

Same name and namespace in other branches
  1. 8.6 question_types/quiz_scale/quiz_scale.test \ScaleTestCase::getInfo()
  2. 8.5 question_types/quiz_scale/quiz_scale.test \ScaleTestCase::getInfo()
  3. 7.6 question_types/scale/scale.test \ScaleTestCase::getInfo()

The getInfo() method provides information about the test.

In order for the test to be run, the getInfo() method needs to be implemented.

File

question_types/scale/scale.test, line 21
Test suite for scale question type module.

Class

ScaleTestCase
Test class for scale questions.

Code

public static function getInfo() {
  return array(
    'name' => t('Scale'),
    'description' => t('Unit test for scale question type.'),
    'group' => t('Quiz'),
  );
}