Example: Simpletest in Examples for Developers 6
Same name and namespace in other branches
- 7 simpletest_example/simpletest_example.module \simpletest_example
Creating tests. (drupal 6)
This example accompanies the tutorial at http://drupal.org/node/395012.
This is built on a traditional node-type implementation.
This example is part of the Examples for Developers Project which you can download and experiment with here: http://drupal.org/project/examples
Parent topics
File
- simpletest_example/simpletest_example.module, line 11 
- An example of simpletest tests to accompany the tutorial at http://drupal.org/node/395012.
Functions
| Name   | Location | Description | 
|---|---|---|
| simpletest_example_access | simpletest_example/ | Implementation of hook_access(). | 
| simpletest_example_form | simpletest_example/ | Implementation of hook_form(). | 
| simpletest_example_menu | simpletest_example/ | Implementation of hook_menu(). | 
| simpletest_example_node_info | simpletest_example/ | Implementation of hook_node_info(). | 
| simpletest_example_perm | simpletest_example/ | Implementation of hook_perm(). | 
| _simpletest_example_explanation | simpletest_example/ | Page to explain this example. | 
