You are here

protected function DrupalWebTestCase::getUrl in SimpleTest 7

Same name and namespace in other branches
  1. 6.2 drupal_web_test_case.php \DrupalWebTestCase::getUrl()
  2. 7.2 drupal_web_test_case.php \DrupalWebTestCase::getUrl()

Get the current url from the cURL handler.

Return value

The current url.

6 calls to DrupalWebTestCase::getUrl()
ActionsConfigurationTestCase::testActionConfiguration in tests/actions.test
Test the configuration of advanced actions through the administration interface.
DrupalWebTestCase::clickLink in ./drupal_web_test_case.php
Follows a link by name.
DrupalWebTestCase::drupalGet in ./drupal_web_test_case.php
Retrieves a Drupal path or an absolute path.
DrupalWebTestCase::drupalPost in ./drupal_web_test_case.php
Execute a POST request on a Drupal page. It will be done as usual POST request with SimpleBrowser.
DrupalWebTestCase::parse in ./drupal_web_test_case.php
Parse content returned from curlExec using DOM and SimpleXML.

... See full list

File

./drupal_web_test_case.php, line 1831

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

protected function getUrl() {
  return $this->url;
}