You are here

function ClientsConnectionTestingInterface::test in Web Service Clients 7.3

Execute the test.

Connection test handlers should return the raw data they got back from the connection for display to the user.

Parameters

$connection: The connection handler.

$button_form_values: The form values for the test form element. The values for elements added to the form are in $button_form_values['params'].

Return value

Data from the remote connection. This is output to the form as raw data.

7 methods override ClientsConnectionTestingInterface::test()
ClientsConnectionDrupalRESTTestEntityCreate::test in connections/clients_drupal_rest/clients_drupal_rest.testing.inc
Execute the test.
ClientsConnectionDrupalRESTTestGeneric::test in connections/clients_drupal_rest/clients_drupal_rest.testing.inc
Execute the test.
ClientsConnectionDrupalRESTTestLogin::test in connections/clients_drupal_rest/clients_drupal_rest.testing.inc
Execute the test.
ClientsConnectionDrupalRESTTestNodeRetrieve::test in connections/clients_drupal_rest/clients_drupal_rest.testing.inc
Execute the test.
ClientsConnectionDrupalTestConnect::test in connections/clients_drupal/clients_drupal.testing.inc
Execute the test.

... See full list

File

includes/clients.connection.admin.inc, line 62
clients.connection.admin.inc Page callbacks relating to client connection admin.

Class

ClientsConnectionTestingInterface
Interface for testing handlers.

Code

function test($connection, &$button_form_values);