diff options
author | David Rothstein <drothstein@gmail.com> | 2015-10-14 15:37:30 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-10-14 15:37:30 -0400 |
commit | 6df765676a35f8f7ed471ef29394d44233f6d61f (patch) | |
tree | b3d74bec1f4415bc5f0041445b45a90d7d94cb21 /modules/simpletest/simpletest.module | |
parent | 7933ac459dd752a07896aa7f8b8073020df7e0fc (diff) | |
download | brdo-6df765676a35f8f7ed471ef29394d44233f6d61f.tar.gz brdo-6df765676a35f8f7ed471ef29394d44233f6d61f.tar.bz2 |
Issue #2195183 by cleaver, zopa, elgordogrande, sandykadam, jhodgdon, joachim, Eda: document Batch API callbacks as callback implementations
Diffstat (limited to 'modules/simpletest/simpletest.module')
-rw-r--r-- | modules/simpletest/simpletest.module | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module index a98e5cfbe..29a20bb4c 100644 --- a/modules/simpletest/simpletest.module +++ b/modules/simpletest/simpletest.module @@ -154,7 +154,7 @@ function simpletest_run_tests($test_list, $reporter = 'drupal') { } /** - * Batch operation callback. + * Implements callback_batch_operation(). */ function _simpletest_batch_operation($test_list_init, $test_id, &$context) { simpletest_classloader_register(); @@ -205,6 +205,9 @@ function _simpletest_batch_operation($test_list_init, $test_id, &$context) { $context['finished'] = 1 - $size / $max; } +/** + * Implements callback_batch_finished(). + */ function _simpletest_batch_finished($success, $results, $operations, $elapsed) { if ($success) { drupal_set_message(t('The test run finished in @elapsed.', array('@elapsed' => $elapsed))); |