You are here

public static function PHPUnit_Framework_Assert::assertSelectRegExp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertSelectRegExp()

assertSelectRegExp("#binder .name", "/Mike|Derek/", true, $xml); // any? assertSelectRegExp("#binder .name", "/Mike|Derek/", 3, $xml); // 3?

@since Method available since Release 3.3.0

Parameters

array $selector:

string $pattern:

int|bool|array $count:

mixed $actual:

string $message:

bool $isHtml:

Deprecated

@codeCoverageIgnore

File

vendor/phpunit/phpunit/src/Framework/Assert.php, line 1920

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertSelectRegExp($selector, $pattern, $count, $actual, $message = '', $isHtml = true) {
  trigger_error(__METHOD__ . ' is deprecated', E_USER_DEPRECATED);
  self::assertSelectEquals($selector, "regexp:{$pattern}", $count, $actual, $message, $isHtml);
}