public static function SimpleTestExampleMockModuleTestCase::getInfo in Examples for Developers 7
Give display information to the SimpleTest system.
getInfo() returns a keyed array of information for SimpleTest to show.
It's a good idea to organize your tests consistently using the 'group' key.
File
- simpletest_example/
simpletest_example.test, line 221 - An example of simpletest tests to accompany the tutorial at http://drupal.org/node/890654.
Class
- SimpleTestExampleMockModuleTestCase
- SimpleTestExampleMockModuleTestCase allows us to demonstrate how you can use a mock module to aid in functional testing in Drupal.
Code
public static function getInfo() {
return array(
'name' => 'SimpleTest Mock Module Example',
'description' => "Ensure that we can modify SimpleTest Example's content types.",
'group' => 'Examples',
);
}