@@ -181,6 +181,7 @@ function theme_simpletest_test_table($variables) {
|
||||
* Run selected tests.
|
||||
*/
|
||||
function simpletest_test_form_submit($form, &$form_state) {
|
||||
simpletest_classloader_register();
|
||||
// Get list of tests.
|
||||
$tests_list = array();
|
||||
foreach ($form_state['values'] as $class_name => $value) {
|
||||
@@ -233,6 +234,8 @@ function simpletest_result_form($form, &$form_state, $test_id) {
|
||||
'#debug' => 0,
|
||||
);
|
||||
|
||||
simpletest_classloader_register();
|
||||
|
||||
// Cycle through each test group.
|
||||
$header = array(t('Message'), t('Group'), t('Filename'), t('Line'), t('Function'), array('colspan' => 2, 'data' => t('Status')));
|
||||
$form['result']['results'] = array();
|
||||
|
||||
Reference in New Issue
Block a user