public static function PHPUnit_Framework_Assert::attributeEqualTo in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::attributeEqualTo()
Returns a PHPUnit_Framework_Constraint_IsEqual matcher object that is wrapped in a PHPUnit_Framework_Constraint_Attribute matcher object.
@since Method available since Release 3.1.0
Parameters
string $attributeName:
mixed $value:
float $delta:
int $maxDepth:
bool $canonicalize:
bool $ignoreCase:
Return value
PHPUnit_Framework_Constraint_Attribute
5 calls to PHPUnit_Framework_Assert::attributeEqualTo()
- Framework_AssertTest::testAssertThatAttributeEqualTo in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::attribute @covers PHPUnit_Framework_Assert::equalTo
- Framework_ConstraintTest::testAttributeEqualTo in vendor/
phpunit/ phpunit/ tests/ Framework/ ConstraintTest.php - @covers PHPUnit_Framework_Assert::attributeEqualTo @covers PHPUnit_Framework_Constraint_Attribute @covers PHPUnit_Framework_TestFailure::exceptionToString
- Framework_ConstraintTest::testAttributeEqualTo2 in vendor/
phpunit/ phpunit/ tests/ Framework/ ConstraintTest.php - @covers PHPUnit_Framework_Assert::attributeEqualTo @covers PHPUnit_Framework_Constraint_Attribute @covers PHPUnit_Framework_TestFailure::exceptionToString
- Framework_ConstraintTest::testAttributeNotEqualTo in vendor/
phpunit/ phpunit/ tests/ Framework/ ConstraintTest.php - @covers PHPUnit_Framework_Assert::attributeEqualTo @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_Constraint_Attribute @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_TestFailure::exceptionToString
- Framework_ConstraintTest::testAttributeNotEqualTo2 in vendor/
phpunit/ phpunit/ tests/ Framework/ ConstraintTest.php - @covers PHPUnit_Framework_Assert::attributeEqualTo @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_Constraint_Attribute @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_TestFailure::exceptionToString
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 2572
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function attributeEqualTo($attributeName, $value, $delta = 0.0, $maxDepth = 10, $canonicalize = false, $ignoreCase = false) {
return self::attribute(self::equalTo($value, $delta, $maxDepth, $canonicalize, $ignoreCase), $attributeName);
}