| checkSyntax | test_it.php | Checky syntax of files that are patched with patch at patch_url.
Syntax is checked with php -l |
| check_bins | test_it.php | Checks if all files in array are where they are supposed to be. If not terminates
testing with a proper msg |
| check_patch_exists | simpletestauto.module | Function 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_up | simpletestauto.module | Calls xml-rpc hook on test server side to cleanup obsolete test instance |
| enableModule | enable_module.inc | |
| execute | test_it.php | Executes command |
| getVersion | test_it.php | Returns Drupal major version. Basically this function strips down minor Drupal versions. |
| get_latest_tag | test_it.php | Turns module name and Drupal version into the correct CVS tag for the given module, favors stable tags over branches |
| installDrupal | install_drupal.inc | |
| installDrupal47 | install_drupal.inc | |
| parseResults | test_it.php | Parses result text and returns number of fails and passes |
| resend_form | simpletestauto.module | |
| resend_form_submit | simpletestauto.module | |
| resend_form_validate | simpletestauto.module | |
| send_test_request | simpletestauto.module | We use xmlrpc call to send node id into testing queue |
| setBaseUrl | install_drupal.inc | Appends a base url directive into a file |
| simpletestauto_admin_settings | simpletestauto.module | Implementation of hook_settings |
| simpletestauto_admin_settings_validate | simpletestauto.module | Settings form validation |
| simpletestauto_clean_up | simpletestauto_server.module | |
| simpletestauto_form_alter | simpletestauto.module | Implementation of hook_form_alter
Used to unset password fields if they are empty |
| simpletestauto_getTestData | simpletestauto.module | XML-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_menu | simpletestauto.module | implementation of menu hook |
| simpletestauto_newPatch | simpletestauto.module | |
| simpletestauto_node_info | simpletestauto.module | Implementation of hook_node_info.
We only have one node type here. |
| simpletestauto_perm | simpletestauto.module | Valid permission for this module |
| simpletestauto_server_admin_settings | simpletestauto_server.module | Implementation of hook_settings |
| simpletestauto_server_cron | simpletestauto_server.module | Implementation of hook_cron
used to delete old tests only on testing server |
| simpletestauto_server_form_alter | simpletestauto_server.module | Implementation of hook_form_alter
Used to unset password fields if they are empty |
| simpletestauto_server_help | simpletestauto_server.module | Display help and module information
* |
| simpletestauto_server_menu | simpletestauto_server.module | implementation of menu hook |
| simpletestauto_server_remove_test | simpletestauto_server.module | XML-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_testPatch | simpletestauto_server.module | XML-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_1 | simpletestauto_server.install | |
| simpletestauto_server_xmlrpc | simpletestauto_server.module | Implementation of hook_xmlrpc
Used on testserver side to receive |
| simpletestauto_test_access | simpletestauto.inc | |
| simpletestauto_test_content | simpletestauto.inc | Implementation of hook_content(). |
| simpletestauto_test_delete | simpletestauto.inc | |
| simpletestauto_test_form | simpletestauto.inc | |
| simpletestauto_test_insert | simpletestauto.inc | Inserts 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_load | simpletestauto.inc | |
| simpletestauto_test_node_form_validate | simpletestauto.inc | |
| simpletestauto_test_update | simpletestauto.inc | |
| simpletestauto_test_view | simpletestauto.inc | |
| simpletestauto_update_1 | simpletestauto.install | |
| simpletestauto_update_2 | simpletestauto.install | |
| simpletestauto_update_3 | simpletestauto.install | |
| simpletestauto_views_arguments | simpletestauto_views.inc | |
| simpletestauto_views_tables | simpletestauto_views.inc | Exposing internal simpletest fields to views module |
| simpletestauto_writeResult | simpletestauto.module | XML-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_xmlrpc | simpletestauto.module | Implementation 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... |