AssertHelperTrait |
core/tests/Drupal/Tests/AssertHelperTrait.php |
trait |
in drupal:9.2.0 and is removed from drupal:10.0.0. There is no
replacement. |
|
|
|
|
AssertHelperTrait::castSafeStrings |
core/tests/Drupal/Tests/AssertHelperTrait.php |
function |
in drupal:9.2.0 and is removed from drupal:10.0.0. There is no
replacement, just use assertEquals in tests. |
|
1 |
|
|
AssertLegacyTrait |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
trait |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
the methods from \Drupal\Tests\WebAssert instead. |
|
|
|
2 |
AssertLegacyTrait |
core/tests/Drupal/KernelTests/AssertLegacyTrait.php |
trait |
in drupal:8.0.0 and is removed from drupal:10.0.0. Use
PHPUnit's native assert methods instead. |
|
|
|
1 |
AssertLegacyTrait::assert |
core/tests/Drupal/KernelTests/AssertLegacyTrait.php |
function |
in drupal:8.0.0 and is removed from drupal:10.0.0. Use
$this->assertTrue() instead. |
|
1 |
|
|
AssertLegacyTrait::assertCacheTag |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->responseHeaderContains() instead. |
|
1 |
|
|
AssertLegacyTrait::assertElementNotPresent |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->elementNotExists() instead. |
|
1 |
|
|
AssertLegacyTrait::assertElementPresent |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->elementExists() instead. |
|
1 |
|
|
AssertLegacyTrait::assertEqual |
core/tests/Drupal/KernelTests/AssertLegacyTrait.php |
function |
in drupal:8.0.0 and is removed from drupal:10.0.0. Use
$this->assertEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::assertEscaped |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->assertEscaped() instead. |
|
1 |
|
|
AssertLegacyTrait::assertField |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->fieldExists() or
$this->assertSession()->buttonExists() instead. |
|
1 |
|
|
AssertLegacyTrait::assertFieldById |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->fieldExists() or
$this->assertSession()->buttonExists() or
$this->assertSession()->fieldValueEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::assertFieldByName |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->fieldExists() or
$this->assertSession()->buttonExists() or
$this->assertSession()->fieldValueEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::assertFieldByXPath |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.3.0 and is removed from drupal:10.0.0. Use
$this->xpath() instead and check the values directly in the test. |
|
4 |
|
|
AssertLegacyTrait::assertFieldChecked |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->checkboxChecked() instead. |
|
1 |
|
|
AssertLegacyTrait::assertFieldsByValue |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.3.0 and is removed from drupal:10.0.0. Use
iteration over the fields yourself instead and directly check the values
in the test. |
|
3 |
|
|
AssertLegacyTrait::assertHeader |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.3.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->responseHeaderEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::assertIdentical |
core/tests/Drupal/KernelTests/AssertLegacyTrait.php |
function |
in drupal:8.0.0 and is removed from drupal:10.0.0. Use
$this->assertSame() instead. |
|
1 |
|
|
AssertLegacyTrait::assertIdenticalObject |
core/tests/Drupal/KernelTests/AssertLegacyTrait.php |
function |
in drupal:8.0.0 and is removed from drupal:10.0.0. Use
$this->assertEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::assertLink |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->linkExists() instead. |
|
|
|
|
AssertLegacyTrait::assertLinkByHref |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->linkByHrefExists() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoCacheTag |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.4.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->responseHeaderNotContains() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoEscaped |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->assertNoEscaped() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoField |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->fieldNotExists() or
$this->assertSession()->buttonNotExists() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoFieldById |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->fieldNotExists() or
$this->assertSession()->buttonNotExists() or
$this->assertSession()->fieldValueNotEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoFieldByName |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->fieldNotExists() or
$this->assertSession()->buttonNotExists() or
$this->assertSession()->fieldValueNotEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoFieldByXPath |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.3.0 and is removed from drupal:10.0.0. Use
$this->xpath() instead and assert that the result is empty. |
|
4 |
|
|
AssertLegacyTrait::assertNoFieldChecked |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->checkboxNotChecked() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoLink |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->linkNotExists() instead. |
|
|
|
|
AssertLegacyTrait::assertNoLinkByHref |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->linkByHrefNotExists() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoOption |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->optionNotExists() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoPattern |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.4.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->responseNotMatches() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoRaw |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->responseNotContains() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNotEqual |
core/tests/Drupal/KernelTests/AssertLegacyTrait.php |
function |
in drupal:8.0.0 and is removed from drupal:10.0.0. Use
$this->assertNotEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoText |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->responseNotContains() for non-HTML responses,
like XML or Json.
$this->assertSession()->pageTextNotContains() for HTML responses.
Unlike the deprecated assertNoText(), the passed text should be HTML
decoded, exactly as a human sees it in the browser.
|
|
1 |
|
|
AssertLegacyTrait::assertNotIdentical |
core/tests/Drupal/KernelTests/AssertLegacyTrait.php |
function |
in drupal:8.0.0 and is removed from drupal:10.0.0. Use
$this->assertNotSame() instead. |
|
1 |
|
|
AssertLegacyTrait::assertNoUniqueText |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Instead,
use $this->getSession()->pageTextMatchesCount() if you know the
cardinality in advance, or $this->getSession()->getPage()->getText()
and substr_count(). |
|
4 |
|
|
AssertLegacyTrait::assertOption |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->optionExists() instead. |
|
1 |
|
|
AssertLegacyTrait::assertOptionByText |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.4.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->optionExists() instead. |
|
1 |
|
|
AssertLegacyTrait::assertOptionSelected |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->optionExists() instead and check the
"selected" attribute yourself. |
|
2 |
|
|
AssertLegacyTrait::assertPattern |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->responseMatches() instead. |
|
1 |
|
|
AssertLegacyTrait::assertRaw |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->responseContains() instead. |
|
1 |
|
|
AssertLegacyTrait::assertResponse |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->statusCodeEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::assertText |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->responseContains() for non-HTML responses,
like XML or Json.
$this->assertSession()->pageTextContains() for HTML responses. Unlike
the deprecated assertText(), the passed text should be HTML decoded,
exactly as a human sees it in the browser.
|
|
1 |
|
|
AssertLegacyTrait::assertTextHelper |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->pageTextContains() or
$this->assertSession()->pageTextNotContains() instead. |
|
1 |
|
|
AssertLegacyTrait::assertTitle |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->titleEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::assertUniqueText |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->getSession()->pageTextContainsOnce() or
$this->getSession()->pageTextMatchesCount() instead. |
|
4 |
|
|
AssertLegacyTrait::assertUrl |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->addressEquals() instead. |
|
1 |
|
|
AssertLegacyTrait::buildXPathQuery |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.2.0 and is removed from drupal:10.0.0. Use
$this->assertSession()->buildXPathQuery() instead. |
|
1 |
|
|
AssertLegacyTrait::constructFieldXpath |
core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php |
function |
in drupal:8.5.0 and is removed from drupal:10.0.0. Use
$this->getSession()->getPage()->findField() instead. |
|
1 |
|
|