You are here

protected function AssertContentTrait::getUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/simpletest/src/AssertContentTrait.php \Drupal\simpletest\AssertContentTrait::getUrl()

Get the current URL from the cURL handler.

Return value

string The current URL.

21 calls to AssertContentTrait::getUrl()
AssertContentTrait::parse in core/modules/simpletest/src/AssertContentTrait.php
Parse content returned from curlExec using DOM and SimpleXML.
CommentPagerTest::clickLinkWithXPath in core/modules/comment/src/Tests/CommentPagerTest.php
Follows a link found at a give xpath query.
ConfigurationTest::testActionConfiguration in core/modules/action/src/Tests/ConfigurationTest.php
Tests configuration of advanced actions through administration interface.
DateTimeTest::testDateFormatConfiguration in core/modules/system/src/Tests/System/DateTimeTest.php
Test date format configuration.
DisplayFeedTest::testFeedOutput in core/modules/views/src/Tests/Plugin/DisplayFeedTest.php
Tests the rendered output.

... See full list

1 method overrides AssertContentTrait::getUrl()
TextFormatElementFormTest::getUrl in core/modules/filter/src/Tests/TextFormatElementFormTest.php
Get the current URL from the cURL handler.

File

core/modules/simpletest/src/AssertContentTrait.php, line 154
Contains \Drupal\simpletest\AssertContentTrait.

Class

AssertContentTrait
Provides test methods to assert content.

Namespace

Drupal\simpletest

Code

protected function getUrl() {
  return isset($this->url) ? $this->url : 'no-url';
}