Functions

Primary tabs

Name Locationsort ascending Description Direct uses Strings
assertNotInternalType drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a variable is not of a given type.
assertNotNull drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a variable is not NULL. 1
assertNotRegExp drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a string does not match a given regular expression.
assertNotSame drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that two variables do not have the same type and value. Used on objects, it asserts that two variables do not reference the same object.
assertNotSameSize drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Assert that the size of two arrays (or `Countable` or `Iterator` objects) is not the same.
assertNotTag drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php This assertion is the exact opposite of assertTag().
assertNull drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a variable is NULL. 1
assertObjectHasAttribute drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that an object has a specified attribute.
assertObjectNotHasAttribute drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that an object does not have a specified attribute.
assertRegExp drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a string matches a given regular expression.
assertSame drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that two variables have the same type and value. Used on objects, it asserts that two variables reference the same object.
assertSameSize drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Assert that the size of two arrays (or `Countable` or `Iterator` objects) is the same.
assertSelectCount drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Assert the presence, absence, or count of elements in a document matching the CSS $selector, regardless of the contents of those elements.
assertSelectEquals drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php assertSelectEquals("#binder .name", "Chuck", true, $xml); // any? assertSelectEquals("#binder .name", "Chuck", false, $xml); // none?
assertSelectRegExp drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php assertSelectRegExp("#binder .name", "/Mike|Derek/", true, $xml); // any? assertSelectRegExp("#binder .name", "/Mike|Derek/", 3, $xml);// 3?
assertStringEndsNotWith drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a string ends not with a given prefix.
assertStringEndsWith drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a string ends with a given prefix.
assertStringEqualsFile drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that the contents of a string is equal to the contents of a file.
assertStringMatchesFormat drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a string matches a given format string.
assertStringMatchesFormatFile drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a string matches a given format file.
assertStringNotEqualsFile drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that the contents of a string is not equal to the contents of a file.
assertStringNotMatchesFormat drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a string does not match a given format string.
assertStringNotMatchesFormatFile drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a string does not match a given format string.
assertStringStartsNotWith drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a string starts not with a given prefix.
assertStringStartsWith drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a string starts with a given prefix.
assertTag drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Evaluate an HTML or XML string and assert its structure and/or contents.
assertThat drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Evaluates a PHPUnit_Framework_Constraint matcher object.
assertTrue drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that a condition is true. 1
assertXmlFileEqualsXmlFile drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that two XML files are equal.
assertXmlFileNotEqualsXmlFile drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that two XML files are not equal.
assertXmlStringEqualsXmlFile drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that two XML documents are equal.
assertXmlStringEqualsXmlString drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that two XML documents are equal.
assertXmlStringNotEqualsXmlFile drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that two XML documents are not equal.
assertXmlStringNotEqualsXmlString drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Asserts that two XML documents are not equal.
at drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a matcher that matches when the method it is evaluated for is invoked at the given $index. 2
atLeastOnce drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a matcher that matches when the method it is evaluated for is executed at least once.
attribute drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_Attribute matcher object. 20
attributeEqualTo drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_IsEqual matcher object that is wrapped in a PHPUnit_Framework_Constraint_Attribute matcher object.
callback drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_Callback matcher object. 3
classHasAttribute drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_ClassHasAttribute matcher object.
classHasStaticAttribute drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_ClassHasStaticAttribute matcher object.
contains drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_TraversableContains matcher object. 4
containsOnly drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.
containsOnlyInstancesOf drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.
equalTo drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_IsEqual matcher object.
exactly drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a matcher that matches when the method it is evaluated for is executed exactly $count times.
fileExists drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_FileExists matcher object.
greaterThan drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_GreaterThan matcher object.
greaterThanOrEqual drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_GreaterThan matcher object.
identicalTo drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php Returns a PHPUnit_Framework_Constraint_IsIdentical matcher object.

Pages

Other projects