Example: Simpletest

Same name in other branches
  1. 7.x-1.x 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

Functions

Title Sort descending File name Summary
simpletest_example_access simpletest_example/simpletest_example.module Implementation of hook_access().
simpletest_example_form simpletest_example/simpletest_example.module Implementation of hook_form().
simpletest_example_menu simpletest_example/simpletest_example.module Implementation of hook_menu().
simpletest_example_node_info simpletest_example/simpletest_example.module Implementation of hook_node_info().
simpletest_example_perm simpletest_example/simpletest_example.module Implementation of hook_perm().
_simpletest_example_explanation simpletest_example/simpletest_example.module Page to explain this example.