forked from matthewmueller/PHPUnit-Test-Report
-
Notifications
You must be signed in to change notification settings - Fork 0
/
assertionsPHPUnit.txt
65 lines (65 loc) · 4.91 KB
/
assertionsPHPUnit.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
assertArrayHasKey($key, array $array, $message = '')
assertArrayNotHasKey($key, array $array, $message = '')
assertAttributeContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = FALSE)
assertAttributeContainsOnly($type, $haystackAttributeName, $haystackClassOrObject, $isNativeType = NULL, $message = '')
assertAttributeEquals($expected, $actualAttributeName, $actualClassOrObject, $message = '', $delta = 0, $maxDepth = 10, $canonicalizeEol = FALSE, $ignoreCase = FALSE)
assertAttributeGreaterThan($expected, $actualAttributeName, $actualClassOrObject, $message = '')
assertAttributeGreaterThanOrEqual($expected, $actualAttributeName, $actualClassOrObject, $message = '')
assertAttributeLessThan($expected, $actualAttributeName, $actualClassOrObject, $message = '')
assertAttributeLessThanOrEqual($expected, $actualAttributeName, $actualClassOrObject, $message = '')
assertAttributeNotContains($needle, $haystackAttributeName, $haystackClassOrObject, $message = '', $ignoreCase = FALSE)
assertAttributeNotContainsOnly($type, $haystackAttributeName, $haystackClassOrObject, $isNativeType = NULL, $message = '')
assertAttributeNotEquals($expected, $actualAttributeName, $actualClassOrObject, $message = '', $delta = 0, $maxDepth = 10, $canonicalizeEol = FALSE, $ignoreCase = FALSE)
assertAttributeNotSame($expected, $actualAttributeName, $actualClassOrObject, $message = '')
assertAttributeNotType($expected, $attributeName, $classOrObject, $message = '')
assertAttributeSame($expected, $actualAttributeName, $actualClassOrObject, $message = '')
assertAttributeType($expected, $attributeName, $classOrObject, $message = '')
assertClassHasAttribute($attributeName, $className, $message = '')
assertClassHasStaticAttribute($attributeName, $className, $message = '')
assertClassNotHasAttribute($attributeName, $className, $message = '')
assertClassNotHasStaticAttribute($attributeName, $className, $message = '')
assertContains($needle, $haystack, $message = '', $ignoreCase = FALSE)
assertContainsOnly($type, $haystack, $isNativeType = NULL, $message = '')
assertEqualXMLStructure(DOMNode $expectedNode, DOMNode $actualNode, $checkAttributes = FALSE, $message = '')
assertEquals($expected, $actual, $message = '', $delta = 0, $maxDepth = 10, $canonicalizeEol = FALSE, $ignoreCase = FALSE)
assertFalse($condition, $message = '')
assertFileEquals($expected, $actual, $message = '', $canonicalizeEol = FALSE, $ignoreCase = FALSE)
assertFileExists($filename, $message = '')
assertFileNotEquals($expected, $actual, $message = '', $canonicalizeEol = FALSE, $ignoreCase = FALSE)
assertFileNotExists($filename, $message = '')
assertGreaterThan($expected, $actual, $message = '')
assertGreaterThanOrEqual($expected, $actual, $message = '')
assertLessThan($expected, $actual, $message = '')
assertLessThanOrEqual($expected, $actual, $message = '')
assertNotContains($needle, $haystack, $message = '', $ignoreCase = FALSE)
assertNotContainsOnly($type, $haystack, $isNativeType = NULL, $message = '')
assertNotEquals($expected, $actual, $message = '', $delta = 0, $maxDepth = 10, $canonicalizeEol = FALSE, $ignoreCase = FALSE)
assertNotNull($actual, $message = '')
assertNotRegExp($pattern, $string, $message = '')
assertNotSame($expected, $actual, $message = '')
assertNotTag($matcher, $actual, $message = '', $isHtml = TRUE)
assertNotType($expected, $actual, $message = '')
assertNull($actual, $message = '')
assertObjectHasAttribute($attributeName, $object, $message = '')
assertObjectNotHasAttribute($attributeName, $object, $message = '')
assertRegExp($pattern, $string, $message = '')
assertSame($expected, $actual, $message = '')
assertSelectCount($selector, $count, $actual, $message = '', $isHtml = TRUE)
assertSelectEquals($selector, $content, $count, $actual, $message = '', $isHtml = TRUE)
assertSelectRegExp($selector, $pattern, $count, $actual, $message = '', $isHtml = TRUE)
assertStringEndsNotWith($suffix, $string, $message = '')
assertStringEndsWith($suffix, $string, $message = '')
assertStringEqualsFile($expectedFile, $actualString, $message = '', $canonicalizeEol = FALSE, $ignoreCase = FALSE)
assertStringNotEqualsFile($expectedFile, $actualString, $message = '', $canonicalizeEol = FALSE, $ignoreCase = FALSE)
assertStringStartsNotWith($prefix, $string, $message = '')
assertStringStartsWith($prefix, $string, $message = '')
assertTag($matcher, $actual, $message = '', $isHtml = TRUE)
assertThat($value, PHPUnit_Framework_Constraint $constraint, $message = '')
assertTrue($condition, $message = '')
assertType($expected, $actual, $message = '')
assertXmlFileEqualsXmlFile($expectedFile, $actualFile, $message = '')
assertXmlFileNotEqualsXmlFile($expectedFile, $actualFile, $message = '')
assertXmlStringEqualsXmlFile($expectedFile, $actualXml, $message = '')
assertXmlStringEqualsXmlString($expectedXml, $actualXml, $message = '')
assertXmlStringNotEqualsXmlFile($expectedFile, $actualXml, $message = '')
assertXmlStringNotEqualsXmlString($expectedXml, $actualXml, $message = '')