summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2015-10-10 13:26:16 -0400
committerDavid Rothstein <drothstein@gmail.com>2015-10-10 13:26:16 -0400
commitc60d7b098a9db9abd9a8de3b6f125df3a2bfda24 (patch)
tree31e502258c9991500f338ffecfec39ad274572e4 /modules/simpletest
parent56bbd4ba0165c8c8f902ee6ebde66a4d5fdfb1a0 (diff)
downloadbrdo-c60d7b098a9db9abd9a8de3b6f125df3a2bfda24.tar.gz
brdo-c60d7b098a9db9abd9a8de3b6f125df3a2bfda24.tar.bz2
Issue #2205271 by trobey, jhedstrom, hass, alexpott, chx, joachim, jhodgdon: Add an optional project namespace for dependencies
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/system_project_namespace_test.info7
-rw-r--r--modules/simpletest/tests/system_project_namespace_test.module1
-rw-r--r--modules/simpletest/tests/system_test.module3
3 files changed, 11 insertions, 0 deletions
diff --git a/modules/simpletest/tests/system_project_namespace_test.info b/modules/simpletest/tests/system_project_namespace_test.info
new file mode 100644
index 000000000..98d33afdd
--- /dev/null
+++ b/modules/simpletest/tests/system_project_namespace_test.info
@@ -0,0 +1,7 @@
+name = "System project namespace test"
+description = "Support module for testing project namespace dependencies."
+package = Testing
+version = VERSION
+core = 7.x
+hidden = TRUE
+dependencies[] = drupal:filter
diff --git a/modules/simpletest/tests/system_project_namespace_test.module b/modules/simpletest/tests/system_project_namespace_test.module
new file mode 100644
index 000000000..b3d9bbc7f
--- /dev/null
+++ b/modules/simpletest/tests/system_project_namespace_test.module
@@ -0,0 +1 @@
+<?php
diff --git a/modules/simpletest/tests/system_test.module b/modules/simpletest/tests/system_test.module
index 8c4432996..3d5a11ada 100644
--- a/modules/simpletest/tests/system_test.module
+++ b/modules/simpletest/tests/system_test.module
@@ -296,6 +296,9 @@ function system_test_system_info_alter(&$info, $file, $type) {
}
}
+ if ($file->name == 'system_project_namespace_test') {
+ $info['hidden'] = FALSE;
+ }
// Make the system_dependencies_test visible by default.
if ($file->name == 'system_dependencies_test') {
$info['hidden'] = FALSE;