simpletestauto.module

Version

1.26.2.16.2.4 (checked in on 2007/10/05 at 14:58:50 by rokZlender)

Constants

Namesort iconDescription
SIMPLETESTAUTO_ERROR
SIMPLETESTAUTO_FAIL
SIMPLETESTAUTO_FINISHED
SIMPLETESTAUTO_IN_PROGRESS
SIMPLETESTAUTO_NOT_TESTED
SIMPLETESTAUTO_OBSOLETE
SIMPLETESTAUTO_PASS
SIMPLETESTAUTO_SUBMITED

Functions

Namesort iconDescription
check_patch_existsFunction checks if same patch was already tested. If it was it marks it obsolete. If it wasnt yet tested we remove it from testing queue and mark it obsolete. Instead of link to test site we provide link to new test.
clean_upCalls xml-rpc hook on test server side to cleanup obsolete test instance
resend_form
resend_form_submit
resend_form_validate
send_test_requestWe use xmlrpc call to send node id into testing queue
simpletestauto_admin_settingsImplementation of hook_settings
simpletestauto_admin_settings_validateSettings form validation
simpletestauto_form_alterImplementation of hook_form_alter Used to unset password fields if they are empty
simpletestauto_getTestDataXML-rpc handler for obtaining test data from a test server. Test server calls this function with node id for which additional data is needed
simpletestauto_menuimplementation of menu hook
simpletestauto_newPatch
simpletestauto_node_infoImplementation of hook_node_info. We only have one node type here.
simpletestauto_permValid permission for this module
simpletestauto_writeResultXML-rpc handler used on testserver side. It receives request to test a patch creates a node and returns this node id back to project server. And it runs a script that will run the tests.
simpletestauto_xmlrpcImplementation of hook_xmlrpc It declares 3 xmlrpv handlers simpletestauto_writeResult: is used when test server wants to return results simpletestauto_getTestData: is used by test server to get needed data for testing simpletestauto_newPatch: enables...
simpletest_resendMenu callback; presents the test resend form