diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-19 15:20:16 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-10-19 15:20:16 -0400 |
commit | 83b87790c77c30e0c9def0baf38702b9adfeac44 (patch) | |
tree | f558814194cad9e49c9ce1589c7e3a1bd4c05d52 /pts-core/objects/pts_module_interface.php | |
parent | bb589068b2339ca7a1f03fc26af7cacf926c8c5b (diff) | |
download | phoronix-test-suite-upstream-83b87790c77c30e0c9def0baf38702b9adfeac44.tar.gz phoronix-test-suite-upstream-83b87790c77c30e0c9def0baf38702b9adfeac44.tar.xz phoronix-test-suite-upstream-83b87790c77c30e0c9def0baf38702b9adfeac44.zip |
pts-core: Pass select variables to PTS modules and describe the
functionality in pts_module_interface
Diffstat (limited to 'pts-core/objects/pts_module_interface.php')
-rw-r--r-- | pts-core/objects/pts_module_interface.php | 9 |
1 files changed, 9 insertions, 0 deletions
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; } } |