comparison core/modules/simpletest/simpletest.api.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
11 */ 11 */
12 12
13 /** 13 /**
14 * Alter the list of tests. 14 * Alter the list of tests.
15 * 15 *
16 * This hook will not be invoked by the phpunit tool.
17 *
16 * @param $groups 18 * @param $groups
17 * A two dimensional array, the first key is the test group, the second is the 19 * A two dimensional array, the first key is the test group, the second is the
18 * name of the test class, and the value is in associative array containing 20 * name of the test class, and the value is in associative array containing
19 * 'name', 'description', 'group', and 'requires' keys. 21 * 'name', 'description', 'group', and 'requires' keys.
22 *
23 * @deprecated in Drupal 8.6.x and will be removed before Drupal 9.0.0. Convert
24 * your test to a PHPUnit-based one and implement test listeners.
25 *
26 * @see https://www.drupal.org/node/2939892
20 */ 27 */
21 function hook_simpletest_alter(&$groups) { 28 function hook_simpletest_alter(&$groups) {
22 // An alternative session handler module would not want to run the original 29 // An alternative session handler module would not want to run the original
23 // Session HTTPS handling test because it checks the sessions table in the 30 // Session HTTPS handling test because it checks the sessions table in the
24 // database. 31 // database.
53 * @see \Drupal\simpletest\WebTestBase::results() 60 * @see \Drupal\simpletest\WebTestBase::results()
54 */ 61 */
55 function hook_test_finished($results) { 62 function hook_test_finished($results) {
56 } 63 }
57 64
58
59 /** 65 /**
60 * @} End of "addtogroup hooks". 66 * @} End of "addtogroup hooks".
61 */ 67 */