? customerror_simpletest.patch
? tests
Index: customerror.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/customerror/customerror.module,v
retrieving revision 1.13
diff -u -p -r1.13 customerror.module
--- customerror.module	8 Jan 2007 15:31:55 -0000	1.13
+++ customerror.module	27 Dec 2007 19:10:06 -0000
@@ -113,6 +113,15 @@ function customerror_menu($may_cache) {
 
   return $items;
 }
+
+/**
+* Implementation of hook_simpletest().
+*/
+function customerror_simpletest() {
+  return array_keys(file_scan_directory(
+    drupal_get_path('module', 'customerror') . '/tests', '\.test$'));
+}
+
 /**
  * Implementation of hook_page().
  */
