summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/profiles/testing/modules
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/profiles/testing/modules')
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info13
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module1
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test37
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info15
-rw-r--r--kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module1
5 files changed, 67 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info
new file mode 100644
index 0000000..7c14427
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.info
@@ -0,0 +1,13 @@
+name = "Drupal system listing compatible test"
+description = "Support module for testing the drupal_system_listing function."
+package = Testing
+version = VERSION
+core = 7.x
+hidden = TRUE
+files[] = drupal_system_listing_compatible_test.test
+
+; Information added by Drupal.org packaging script on 2014-01-15
+version = "7.26"
+project = "drupal"
+datestamp = "1389815930"
+
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module
new file mode 100644
index 0000000..b3d9bbc
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.module
@@ -0,0 +1 @@
+<?php
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test
new file mode 100644
index 0000000..198c1d8
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test
@@ -0,0 +1,37 @@
+<?php
+
+/**
+ * Helper to verify tests in installation profile modules.
+ */
+class DrupalSystemListingCompatibleTestCase extends DrupalWebTestCase {
+ /**
+ * Use the Minimal profile.
+ *
+ * This test needs to use a different installation profile than the test which
+ * asserts that this test is found.
+ *
+ * @see SimpleTestInstallationProfileModuleTestsTestCase
+ */
+ protected $profile = 'minimal';
+
+ public static function getInfo() {
+ return array(
+ 'name' => 'Installation profile module tests helper',
+ 'description' => 'Verifies that tests in installation profile modules are found and may use another profile for running tests.',
+ 'group' => 'Installation profile',
+ );
+ }
+
+ function setUp() {
+ // Attempt to install a module in Testing profile, while this test runs with
+ // a different profile.
+ parent::setUp(array('drupal_system_listing_compatible_test'));
+ }
+
+ /**
+ * Non-empty test* method required to executed the test case class.
+ */
+ function testDrupalSystemListing() {
+ $this->pass(__CLASS__ . ' test executed.');
+ }
+}
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info
new file mode 100644
index 0000000..e805fb4
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.info
@@ -0,0 +1,15 @@
+name = "Drupal system listing incompatible test"
+description = "Support module for testing the drupal_system_listing function."
+package = Testing
+version = VERSION
+; This deliberately has the wrong core version, to test that it does not take
+; precedence over the version of the same module that is in the
+; modules/simpletest/tests directory.
+core = 6.x
+hidden = TRUE
+
+; Information added by Drupal.org packaging script on 2014-01-15
+version = "7.26"
+project = "drupal"
+datestamp = "1389815930"
+
diff --git a/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module
new file mode 100644
index 0000000..b3d9bbc
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_incompatible_test/drupal_system_listing_incompatible_test.module
@@ -0,0 +1 @@
+<?php