From 83b87790c77c30e0c9def0baf38702b9adfeac44 Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Sun, 19 Oct 2008 15:20:16 -0400 Subject: pts-core: Pass select variables to PTS modules and describe the functionality in pts_module_interface --- pts-core/objects/pts_module_interface.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pts-core/objects/pts_module_interface.php') diff --git a/pts-core/objects/pts_module_interface.php b/pts-core/objects/pts_module_interface.php index 4b6dd83..e368839 100644 --- a/pts-core/objects/pts_module_interface.php +++ b/pts-core/objects/pts_module_interface.php @@ -58,18 +58,22 @@ class pts_module_interface public static function __pre_install_process($obj = null) { + // Passed is an array of the test identifiers for all tests about to be installed return; } public static function __pre_test_install($obj = null) { + // Passed as the first argument to this function is the test identifier for the name of the test about to be installed return; } public static function __post_test_install($obj = null) { + // Passed as the first argument to this function is the test identifier for the name of the test just installed return; } public static function __post_install_process($obj = null) { + // Passed is an array of the test identifiers for all tests that were supposed to be just installed return; } @@ -79,22 +83,27 @@ class pts_module_interface public static function __pre_run_process($obj = null) { + // Passed is an array of test identifiers for all tests scheduled to run return; } public static function __pre_test_run($obj = null) { + // Passed is a read-only copy of the current pts_test_result for the given test return; } public static function __interim_test_run($obj = null) { + // Passed is a read-only copy of the current pts_test_result for the given test return; } public static function __post_test_run($obj = null) { + // Passed is a read-only copy of the current pts_test_result for the given test return; } public static function __post_run_process($obj = null) { + // Passed is an array of test identifiers for all tests that were scheduled to run return; } } -- cgit