Loading modules/simpletest/simpletest.module +3 −3 Original line number Diff line number Diff line Loading @@ -217,7 +217,7 @@ function _simpletest_batch_finished($success, $results, $operations, $elapsed) { $test_id = $operations[0][1][1]; // Retrieve the last database prefix used for testing and the last test // class that was run from. Use the information to read the lgo file // class that was run from. Use the information to read the log file // in case any fatal errors caused the test to crash. list($last_prefix, $last_test_class) = simpletest_last_test_get($test_id); simpletest_log_read($test_id, $last_prefix, $last_test_class); Loading Loading @@ -325,7 +325,7 @@ function simpletest_test_get_all() { $groups = $cache->data; } else { // Select all clases in files ending with .test. // Select all classes in files ending with .test. $classes = db_query("SELECT name FROM {registry} WHERE type = :type AND filename LIKE :name", array(':type' => 'class', ':name' => '%.test'))->fetchCol(); // Also discover PSR-0 test classes, if the PHP version allows it. Loading Loading @@ -492,7 +492,7 @@ function _simpletest_autoload_psr4_psr0($class) { * Implements hook_registry_files_alter(). * * Add the test files for disabled modules so that we get a list containing * all the avialable tests. * all the available tests. */ function simpletest_registry_files_alter(&$files, $modules) { foreach ($modules as $module) { Loading Loading
modules/simpletest/simpletest.module +3 −3 Original line number Diff line number Diff line Loading @@ -217,7 +217,7 @@ function _simpletest_batch_finished($success, $results, $operations, $elapsed) { $test_id = $operations[0][1][1]; // Retrieve the last database prefix used for testing and the last test // class that was run from. Use the information to read the lgo file // class that was run from. Use the information to read the log file // in case any fatal errors caused the test to crash. list($last_prefix, $last_test_class) = simpletest_last_test_get($test_id); simpletest_log_read($test_id, $last_prefix, $last_test_class); Loading Loading @@ -325,7 +325,7 @@ function simpletest_test_get_all() { $groups = $cache->data; } else { // Select all clases in files ending with .test. // Select all classes in files ending with .test. $classes = db_query("SELECT name FROM {registry} WHERE type = :type AND filename LIKE :name", array(':type' => 'class', ':name' => '%.test'))->fetchCol(); // Also discover PSR-0 test classes, if the PHP version allows it. Loading Loading @@ -492,7 +492,7 @@ function _simpletest_autoload_psr4_psr0($class) { * Implements hook_registry_files_alter(). * * Add the test files for disabled modules so that we get a list containing * all the avialable tests. * all the available tests. */ function simpletest_registry_files_alter(&$files, $modules) { foreach ($modules as $module) { Loading