function SimpleTestExampleTestCase::getInfo
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 36
Class
- SimpleTestExampleTestCase
- The SimpleTestExampleTestCase is a functional test case, meaning that it actually exercises a particular sequence of actions through the web UI. The majority of core test cases are done this way, but the SimpleTest suite also provides unit tests as…
Code
public static function getInfo() {
return array(
'name' => 'SimpleTest Example',
'description' => 'Ensure that the simpletest_example content type provided functions properly.',
'group' => 'Examples',
);
}