diff options
Diffstat (limited to 'modules/simpletest/simpletest.api.php')
-rw-r--r-- | modules/simpletest/simpletest.api.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/simpletest/simpletest.api.php b/modules/simpletest/simpletest.api.php index 7de67d29d..c3507c9f2 100644 --- a/modules/simpletest/simpletest.api.php +++ b/modules/simpletest/simpletest.api.php @@ -12,6 +12,21 @@ */ /** + * Alter the list of tests. + * + * @param $groups + * A two dimension array, the first key is the test group (as defined in + * getInfo) the second is the name of the class and the value is the return + * value of the getInfo method. + */ +function hook_simpletest_alter(&$groups) { + // An alternative session handler module would not want to run the original + // Session https handling test because it checks the sessions table in the + // database. + unset($groups['Session']['testHttpsSession']); +} + +/** * A test group has started. * * This hook is called just once at the beginning of a test group. |