summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/simpletest/tests/path_test.module
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/simpletest/tests/path_test.module')
-rw-r--r--kolab.org/www/drupal-7.26/modules/simpletest/tests/path_test.module23
1 files changed, 23 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/simpletest/tests/path_test.module b/kolab.org/www/drupal-7.26/modules/simpletest/tests/path_test.module
new file mode 100644
index 0000000..d3dc80e
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/simpletest/tests/path_test.module
@@ -0,0 +1,23 @@
+<?php
+
+/**
+ * @file
+ * Helper module for the path tests.
+ */
+
+/**
+ * Resets the path test results.
+ */
+function path_test_reset() {
+ variable_set('path_test_results', array());
+}
+
+/**
+ * Implements hook_path_update().
+ */
+function path_test_path_update($path) {
+ $results = variable_get('path_test_results', array());
+ $results['hook_path_update'] = $path;
+ variable_set('path_test_results', $results);
+}
+