You are here

public static function SimpleTestExampleTestCase::getInfo in Examples for Developers 6

Same name and namespace in other branches
  1. 7 simpletest_example/simpletest_example.test \SimpleTestExampleTestCase::getInfo()

getInfo() returns properties that are displayed in the test selection form.

File

simpletest_example/simpletest_example.test, line 22
An example of SimpleTest tests to accompany the tutorial at http://drupal.org/node/395012.

Class

SimpleTestExampleTestCase
Tests the SimpleTest Example module's content type.

Code

public static function getInfo() {
  return array(
    'name' => 'SimpleTest Example',
    'description' => 'Ensure that the simpletest_example content type provided functions properly.',
    'group' => 'Examples',
  );
}