diff options
Diffstat (limited to 'modules/simpletest/tests/drupal_autoload_test')
4 files changed, 36 insertions, 0 deletions
diff --git a/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test.info b/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test.info new file mode 100644 index 000000000..4660de367 --- /dev/null +++ b/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test.info @@ -0,0 +1,8 @@ +name = "Drupal code registry test" +description = "Support module for testing the code registry." +files[] = drupal_autoload_test_interface.inc +files[] = drupal_autoload_test_class.inc +package = Testing +version = VERSION +core = 7.x +hidden = TRUE diff --git a/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test.module b/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test.module new file mode 100644 index 000000000..37aa94eb8 --- /dev/null +++ b/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test.module @@ -0,0 +1,6 @@ +<?php + +/** + * @file + * Test module to check code registry. + */ diff --git a/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_class.inc b/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_class.inc new file mode 100644 index 000000000..afd72fe64 --- /dev/null +++ b/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_class.inc @@ -0,0 +1,11 @@ +<?php + +/** + * @file + * Test classes for code registry testing. + */ + +/** + * This class is empty because we only care if Drupal can find it. + */ +class DrupalAutoloadTestClass implements DrupalAutoloadTestInterface {} diff --git a/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_interface.inc b/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_interface.inc new file mode 100644 index 000000000..d20ce5234 --- /dev/null +++ b/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_interface.inc @@ -0,0 +1,11 @@ +<?php + +/** + * @file + * Test interfaces for code registry testing. + */ + +/** + * This interface is empty because we only care if Drupal can find it. + */ +interface DrupalAutoloadTestInterface {} |