APIs

Namesort iconLocationDescription
checkSyntaxtest_it.phpChecky syntax of files that are patched with patch at patch_url. Syntax is checked with php -l
check_binstest_it.phpChecks if all files in array are where they are supposed to be. If not terminates testing with a proper msg
check_patch_existssimpletestauto.moduleFunction 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_upsimpletestauto.moduleCalls xml-rpc hook on test server side to cleanup obsolete test instance
enableModuleenable_module.inc
executetest_it.phpExecutes command
getVersiontest_it.phpReturns Drupal major version. Basically this function strips down minor Drupal versions.
get_latest_tagtest_it.phpTurns module name and Drupal version into the correct CVS tag for the given module, favors stable tags over branches
installDrupalinstall_drupal.inc
installDrupal47install_drupal.inc
parseResultstest_it.phpParses result text and returns number of fails and passes
resend_formsimpletestauto.module
resend_form_submitsimpletestauto.module
resend_form_validatesimpletestauto.module
send_test_requestsimpletestauto.moduleWe use xmlrpc call to send node id into testing queue
setBaseUrlinstall_drupal.incAppends a base url directive into a file
simpletestauto_admin_settingssimpletestauto.moduleImplementation of hook_settings
simpletestauto_admin_settings_validatesimpletestauto.moduleSettings form validation
simpletestauto_clean_upsimpletestauto_server.module
simpletestauto_form_altersimpletestauto.moduleImplementation of hook_form_alter Used to unset password fields if they are empty
simpletestauto_getTestDatasimpletestauto.moduleXML-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_menusimpletestauto.moduleimplementation of menu hook
simpletestauto_newPatchsimpletestauto.module
simpletestauto_node_infosimpletestauto.moduleImplementation of hook_node_info. We only have one node type here.
simpletestauto_permsimpletestauto.moduleValid permission for this module
simpletestauto_server_admin_settingssimpletestauto_server.moduleImplementation of hook_settings
simpletestauto_server_cronsimpletestauto_server.moduleImplementation of hook_cron used to delete old tests only on testing server
simpletestauto_server_form_altersimpletestauto_server.moduleImplementation of hook_form_alter Used to unset password fields if they are empty
simpletestauto_server_helpsimpletestauto_server.moduleDisplay help and module information *
simpletestauto_server_menusimpletestauto_server.moduleimplementation of menu hook
simpletestauto_server_remove_testsimpletestauto_server.moduleXML-RPC handler used on testserver side. This function marks tests for deletion by putting empty file 'clean' into tests root dir this is later cleaned up by cron run.
simpletestauto_server_testPatchsimpletestauto_server.moduleXML-rpc handler used on testserver side. It receives request to test a patch. It adds test node id into queue and runs test_it.php script
simpletestauto_server_update_1simpletestauto_server.install
simpletestauto_server_xmlrpcsimpletestauto_server.moduleImplementation of hook_xmlrpc Used on testserver side to receive
simpletestauto_test_accesssimpletestauto.inc
simpletestauto_test_contentsimpletestauto.incImplementation of hook_content().
simpletestauto_test_deletesimpletestauto.inc
simpletestauto_test_formsimpletestauto.inc
simpletestauto_test_insertsimpletestauto.incInserts test fields into table. Second step in test workflow. This function calls test server with test node id. This basically means it adds patch to test queue.
simpletestauto_test_loadsimpletestauto.inc
simpletestauto_test_node_form_validatesimpletestauto.inc
simpletestauto_test_updatesimpletestauto.inc
simpletestauto_test_viewsimpletestauto.inc
simpletestauto_update_1simpletestauto.install
simpletestauto_update_2simpletestauto.install
simpletestauto_update_3simpletestauto.install
simpletestauto_views_argumentssimpletestauto_views.inc
simpletestauto_views_tablessimpletestauto_views.incExposing internal simpletest fields to views module
simpletestauto_writeResultsimpletestauto.moduleXML-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_xmlrpcsimpletestauto.moduleImplementation 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...