- examples
An example of simpletest tests to accompany the tutorial at http://drupal.org/node/890654.
This is built on a traditional node-type implementation.
Functions & methods
| Name | Description |
|---|---|
| simpletest_example_empty_mysql_date | A simple self-contained function used to demonstrate unit tests. |
| simpletest_example_form | Implements hook_form(). |
| simpletest_example_menu | Implements hook_menu(). |
| simpletest_example_node_access | Implements hook_node_access(). |
| simpletest_example_node_info | Implements hook_node_info(). |
| simpletest_example_permission | Implements hook_permission(). |
| _simpletest_example_explanation | Returns an explanation of this module. |
File
- simpletest_example/
simpletest_example.module, line 8 - Module file for simpletest_example