| 1 |
<?php
|
| 2 |
// $Id: simpletest.api.php,v 1.2 2009/05/24 17:39:34 dries Exp $
|
| 3 |
|
| 4 |
/**
|
| 5 |
* @file
|
| 6 |
* Hooks provided by the SimpleTest module.
|
| 7 |
*/
|
| 8 |
|
| 9 |
/**
|
| 10 |
* @addtogroup hooks
|
| 11 |
* @{
|
| 12 |
*/
|
| 13 |
|
| 14 |
/**
|
| 15 |
* A test group has started.
|
| 16 |
*
|
| 17 |
* This hook is called just once at the beginning of a test group.
|
| 18 |
*/
|
| 19 |
function hook_test_group_started() {
|
| 20 |
}
|
| 21 |
|
| 22 |
/**
|
| 23 |
* A test group has finished.
|
| 24 |
*
|
| 25 |
* This hook is called just once at the end of a test group.
|
| 26 |
*/
|
| 27 |
function hook_test_group_finished() {
|
| 28 |
}
|
| 29 |
|
| 30 |
/**
|
| 31 |
* An individual test has finished.
|
| 32 |
*
|
| 33 |
* This hook is called when an individual test has finished.
|
| 34 |
*
|
| 35 |
* @param
|
| 36 |
* $results The results of the test as gathered by DrupalWebTestCase.
|
| 37 |
*
|
| 38 |
* @see DrupalWebTestCase->results
|
| 39 |
*/
|
| 40 |
function hook_test_finished($results) {
|
| 41 |
}
|
| 42 |
|
| 43 |
|
| 44 |
/**
|
| 45 |
* @} End of "addtogroup hooks".
|
| 46 |
*/
|