protected function DrupalWebTestCase::getUrl in SimpleTest 7.2
Same name and namespace in other branches
- 6.2 drupal_web_test_case.php \DrupalWebTestCase::getUrl()
- 7 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()
- DrupalWebTestCase::assertUrl in ./
drupal_web_test_case.php - Pass if the internal browser's URL matches the given path.
- 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.
File
- ./
drupal_web_test_case.php, line 2542 - Provides DrupalTestCase, DrupalUnitTestCase, and DrupalWebTestCase classes.
Class
- DrupalWebTestCase
- Test case for typical Drupal tests.
Code
protected function getUrl() {
return $this->url;
}