Example: Simpletest

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

Functions & methods

NameDescription
simpletest_example_accessImplementation of hook_access().
simpletest_example_formImplementation of hook_form().
simpletest_example_menuImplementation of hook_menu().
simpletest_example_node_infoImplementation of hook_node_info().
simpletest_example_permImplementation of hook_perm().
_simpletest_example_explanationPage to explain this example.

examples/simpletest_example/simpletest_example.module, line 12