diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-07 23:06:08 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-06-07 23:06:08 -0400 |
commit | fe4804789791da17d40413373d56ab71466ad4f7 (patch) | |
tree | 902d786cd3aa86166a8fd94c06ca34e498288b60 /pts-core/objects/pts_module_interface.php | |
parent | 8a32a92dc66680e3a8aa7929e0d44b8b4edbf909 (diff) | |
download | phoronix-test-suite-upstream-fe4804789791da17d40413373d56ab71466ad4f7.tar.gz phoronix-test-suite-upstream-fe4804789791da17d40413373d56ab71466ad4f7.tar.xz phoronix-test-suite-upstream-fe4804789791da17d40413373d56ab71466ad4f7.zip |
Start to push forward some Phoronix Test Suite modules / plug-in
framework support... Some basic bits are now in there but nothing to
keep end-users, yet.
Diffstat (limited to 'pts-core/objects/pts_module_interface.php')
-rw-r--r-- | pts-core/objects/pts_module_interface.php | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/pts-core/objects/pts_module_interface.php b/pts-core/objects/pts_module_interface.php new file mode 100644 index 0000000..56cba1d --- /dev/null +++ b/pts-core/objects/pts_module_interface.php @@ -0,0 +1,78 @@ +<?php + +/* + Phoronix Test Suite "Trondheim" + URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/ + Copyright (C) 2008, Phoronix Media + Copyright (C) 2004-2008, Michael Larabel + pts_module_interface.php: The generic Phoronix Test Suite module object that is extended by the specific modules/plug-ins +*/ + +class pts_module_interface +{ + const module_name = "Generic Module"; + const module_version = "1.0.0"; + const module_description = "A description of the module."; + const module_author = "Module Creator"; + + // + // General Functions + // + + public static function __startup($obj) + { + return; + } + public static function __shutdown($obj) + { + return; + } + + // + // Installation Functions + // + + public static function __pre_install_process($obj) + { + return; + } + public static function __pre_test_install($obj) + { + return; + } + public static function __post_test_install($obj) + { + return; + } + public static function __post_install_process($obj) + { + return; + } + + // + // Run Functions + // + + public static function __pre_run_process($obj) + { + return; + } + public static function __pre_test_run($obj) + { + return; + } + public static function __interim_test_run($obj) + { + return; + } + public static function __post_test_run($obj) + { + return; + } + public static function __post_run_process($obj) + { + return; + } +} + +?> |