diff options
-rw-r--r-- | includes/tests/bootstrap.test (renamed from includes/bootstrap.test) | 0 | ||||
-rw-r--r-- | includes/tests/common.test (renamed from includes/common.test) | 0 | ||||
-rw-r--r-- | includes/tests/registry.test (renamed from includes/registry.test) | 0 | ||||
-rw-r--r-- | includes/tests/xmlrpc.test (renamed from includes/xmlrpc.test) | 0 | ||||
-rw-r--r-- | modules/simpletest/simpletest.module | 5 |
5 files changed, 5 insertions, 0 deletions
diff --git a/includes/bootstrap.test b/includes/tests/bootstrap.test index beb94edf0..beb94edf0 100644 --- a/includes/bootstrap.test +++ b/includes/tests/bootstrap.test diff --git a/includes/common.test b/includes/tests/common.test index d3f907608..d3f907608 100644 --- a/includes/common.test +++ b/includes/tests/common.test diff --git a/includes/registry.test b/includes/tests/registry.test index 93fea4009..93fea4009 100644 --- a/includes/registry.test +++ b/includes/tests/registry.test diff --git a/includes/xmlrpc.test b/includes/tests/xmlrpc.test index 72a230e43..72a230e43 100644 --- a/includes/xmlrpc.test +++ b/includes/tests/xmlrpc.test diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module index ee072c275..4d041492b 100644 --- a/modules/simpletest/simpletest.module +++ b/modules/simpletest/simpletest.module @@ -427,6 +427,10 @@ function simpletest_get_all_tests() { } } + foreach (file_scan_directory('includes/tests', '\.test$') as $file) { + $files[] = $file->filename; + } + $existing_classes = get_declared_classes(); foreach ($files as $file) { include_once($file); @@ -459,6 +463,7 @@ function simpletest_categorize_tests($tests) { $info = $instance->getInfo(); $groups[$info['group']][$test] = $instance; } + uksort($groups, 'strnatcasecmp'); return $groups; } |