PHP Class lithium\tests\cases\test\UnitTest

Inheritance: extends lithium\test\Unit
Afficher le fichier Open project: unionofrad/lithium

Méthodes publiques

Свойство Type Description
$test

Méthodes publiques

Méthode Description
setUp ( )
testArrayHasKeyFalse ( )
testArrayHasKeyTrue ( )
testArrayHasKeyValueNull ( )
testArrayNotHasKeyFalse ( )
testArrayNotHasKeyTrue ( )
testAssertArrayIdentical ( )
testAssertBacktraces ( )
testAssertContainsFalse ( )
testAssertContainsOnlyFalse ( )
testAssertContainsOnlyInstanceOfFalse ( )
testAssertContainsOnlyInstanceOfTrue ( )
testAssertContainsOnlyTrue ( )
testAssertContainsStringInStrFalse ( )
testAssertContainsStringInStrTrue ( )
testAssertContainsTrue ( )
testAssertCookie ( ) With a fresh PHP environment this might throw an exception: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. See also http://php.net/function.date-default-timezone-get.php
testAssertCookieWithHeaders ( )
testAssertCountFalse ( )
testAssertCountTrue ( )
testAssertEmptyFalse ( )
testAssertEmptyTrue ( )
testAssertEqualAssociativeArray ( )
testAssertEqualNumeric ( )
testAssertEqualNumericFail ( )
testAssertEqualThreeDFail ( )
testAssertException ( )
testAssertExceptionNotThrown ( )
testAssertExceptionWrongException ( )
testAssertFileEqualsFalse ( )
testAssertFileEqualsTrue ( )
testAssertFileExistsFalse ( )
testAssertFileExistsTrue ( )
testAssertFileNotEqualsFalse ( )
testAssertFileNotEqualsTrue ( )
testAssertFileNotExistsFalse ( )
testAssertFileNotExistsTrue ( )
testAssertGreaterThanFalse ( )
testAssertGreaterThanOrEqualFalse ( )
testAssertGreaterThanOrEqualTrue ( )
testAssertGreaterThanTrue ( )
testAssertIdentical ( )
testAssertIdenticalArray ( )
testAssertInstanceOfFalse ( )
testAssertInstanceOfTrue ( )
testAssertInternalTypeFalse ( )
testAssertInternalTypeTrue ( )
testAssertLessThanFalse ( )
testAssertLessThanOrEqualFalse ( )
testAssertLessThanOrEqualTrue ( )
testAssertLessThanTrue ( )
testAssertNotContainsFalse ( )
testAssertNotContainsOnlyFalse ( )
testAssertNotContainsOnlyTrue ( )
testAssertNotContainsStringInStrFalse ( )
testAssertNotContainsStringInStrTrue ( )
testAssertNotContainsTrue ( )
testAssertNotCountFalse ( )
testAssertNotCountTrue ( )
testAssertNotEmptyFalse ( )
testAssertNotEmptyTrue ( )
testAssertNotEqual ( )
testAssertNotExceptionFailsWithBaseException ( )
testAssertNotExceptionFailsWithExactException ( )
testAssertNotExceptionPassesWithNoException ( )
testAssertNotExceptionPassesWithWrongException ( )
testAssertNotIdentical ( )
testAssertNotIdenticalArray ( )
testAssertNotInstanceOfFalse ( )
testAssertNotInstanceOfTrue ( )
testAssertNotInternalTypeFalse ( )
testAssertNotInternalTypeTrue ( )
testAssertNotNullFalse ( )
testAssertNotNullTrue ( )
testAssertNotPattern ( )
testAssertNull ( )
testAssertObjects ( )
testAssertPattern ( )
testAssertStringEndsWithFalse ( )
testAssertStringEndsWithTrue ( )
testAssertStringMatchesFormatFalse ( )
testAssertStringMatchesFormatTrue ( )
testAssertStringNotMatchesFormatFalse ( )
testAssertStringNotMatchesFormatTrue ( )
testAssertStringStartsWithFalse ( )
testAssertStringStartsWithTrue ( )
testAssertTags ( )
testAssertTagsFailTextEqual ( )
testAssertTagsMissingAttribute ( )
testAssertTagsNoClosingTag ( )
testAssertTagsString ( )
testAssertWithCustomMessage ( )
testBaseAssertions ( )
testClassHasAttributeClassNotFound ( )
testClassHasAttributeFalse ( )
testClassHasAttributeTrue ( )
testClassHasAttributeWrongClassType ( )
testClassHasStaticAttributeClassNotFound ( )
testClassHasStaticAttributeFalse ( )
testClassHasStaticAttributeTrue ( )
testClassNotHasAttributeClassNotFound ( )
testClassNotHasAttributeFalse ( )
testClassNotHasAttributeTrue ( )
testClassNotHasAttributeWrongClassType ( )
testClassNotHasStaticAttributeClassNotFound ( )
testClassNotHasStaticAttributeFalse ( )
testClassNotHasStaticAttributeTrue ( )
testCleanUp ( )
testCleanUpWithFullPath ( )
testCleanUpWithRelativePath ( )
testCompareEqualNullArray ( )
testCompareIdenticalArray ( )
testCompareIdenticalMixedArray ( )
testCompareIdenticalNullArray ( )
testCompareIsEqual ( )
testCompareIsIdentical ( )
testCompareTypes ( )
testCompareWithEmptyResult ( )
testErrorHandling ( )
testErrorLevelHonored ( )
testExceptionCatching ( )
testExpectExceptionRegex ( )
testFail ( )
testGetTest ( )
testHandleException ( )
testIdenticalArrayFail ( )
testObjectHasAttributeFalse ( )
testObjectHasAttributeTrue ( )
testObjectHasAttributeWrongClassType ( )
testObjectNotHasAttributeFalse ( )
testObjectNotHasAttributeTrue ( )
testObjectNotHasAttributeWrongClassType ( )
testResults ( )
testRun ( )
testSkipIf ( )
testSubject ( )
testTestMethods ( )

Method Details

setUp() public méthode

public setUp ( )

testArrayHasKeyFalse() public méthode

testArrayHasKeyTrue() public méthode

public testArrayHasKeyTrue ( )

testArrayHasKeyValueNull() public méthode

testArrayNotHasKeyFalse() public méthode

testArrayNotHasKeyTrue() public méthode

testAssertArrayIdentical() public méthode

testAssertBacktraces() public méthode

testAssertContainsFalse() public méthode

testAssertContainsOnlyFalse() public méthode

testAssertContainsOnlyInstanceOfFalse() public méthode

testAssertContainsOnlyInstanceOfTrue() public méthode

testAssertContainsOnlyTrue() public méthode

testAssertContainsStringInStrFalse() public méthode

testAssertContainsStringInStrTrue() public méthode

testAssertContainsTrue() public méthode

testAssertCookie() public méthode

With a fresh PHP environment this might throw an exception: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. See also http://php.net/function.date-default-timezone-get.php
public testAssertCookie ( )

testAssertCookieWithHeaders() public méthode

testAssertCountFalse() public méthode

testAssertCountTrue() public méthode

public testAssertCountTrue ( )

testAssertEmptyFalse() public méthode

testAssertEmptyTrue() public méthode

public testAssertEmptyTrue ( )

testAssertEqualAssociativeArray() public méthode

testAssertEqualNumeric() public méthode

testAssertEqualNumericFail() public méthode

testAssertEqualThreeDFail() public méthode

testAssertException() public méthode

public testAssertException ( )

testAssertExceptionNotThrown() public méthode

testAssertExceptionWrongException() public méthode

testAssertFileEqualsFalse() public méthode

testAssertFileEqualsTrue() public méthode

testAssertFileExistsFalse() public méthode

testAssertFileExistsTrue() public méthode

testAssertFileNotEqualsFalse() public méthode

testAssertFileNotEqualsTrue() public méthode

testAssertFileNotExistsFalse() public méthode

testAssertFileNotExistsTrue() public méthode

testAssertGreaterThanFalse() public méthode

testAssertGreaterThanOrEqualFalse() public méthode

testAssertGreaterThanOrEqualTrue() public méthode

testAssertGreaterThanTrue() public méthode

testAssertIdentical() public méthode

public testAssertIdentical ( )

testAssertIdenticalArray() public méthode

testAssertInstanceOfFalse() public méthode

testAssertInstanceOfTrue() public méthode

testAssertInternalTypeFalse() public méthode

testAssertInternalTypeTrue() public méthode

testAssertLessThanFalse() public méthode

testAssertLessThanOrEqualFalse() public méthode

testAssertLessThanOrEqualTrue() public méthode

testAssertLessThanTrue() public méthode

testAssertNotContainsFalse() public méthode

testAssertNotContainsOnlyFalse() public méthode

testAssertNotContainsOnlyTrue() public méthode

testAssertNotContainsStringInStrFalse() public méthode

testAssertNotContainsStringInStrTrue() public méthode

testAssertNotContainsTrue() public méthode

testAssertNotCountFalse() public méthode

testAssertNotCountTrue() public méthode

testAssertNotEmptyFalse() public méthode

testAssertNotEmptyTrue() public méthode

testAssertNotEqual() public méthode

public testAssertNotEqual ( )

testAssertNotExceptionFailsWithBaseException() public méthode

testAssertNotExceptionFailsWithExactException() public méthode

testAssertNotExceptionPassesWithNoException() public méthode

testAssertNotExceptionPassesWithWrongException() public méthode

testAssertNotIdentical() public méthode

testAssertNotIdenticalArray() public méthode

testAssertNotInstanceOfFalse() public méthode

testAssertNotInstanceOfTrue() public méthode

testAssertNotInternalTypeFalse() public méthode

testAssertNotInternalTypeTrue() public méthode

testAssertNotNullFalse() public méthode

testAssertNotNullTrue() public méthode

testAssertNotPattern() public méthode

testAssertNull() public méthode

public testAssertNull ( )

testAssertObjects() public méthode

public testAssertObjects ( )

testAssertPattern() public méthode

public testAssertPattern ( )

testAssertStringEndsWithFalse() public méthode

testAssertStringEndsWithTrue() public méthode

testAssertStringMatchesFormatFalse() public méthode

testAssertStringMatchesFormatTrue() public méthode

testAssertStringNotMatchesFormatFalse() public méthode

testAssertStringNotMatchesFormatTrue() public méthode

testAssertStringStartsWithFalse() public méthode

testAssertStringStartsWithTrue() public méthode

testAssertTags() public méthode

public testAssertTags ( )

testAssertTagsFailTextEqual() public méthode

testAssertTagsMissingAttribute() public méthode

testAssertTagsNoClosingTag() public méthode

testAssertTagsString() public méthode

testAssertWithCustomMessage() public méthode

testBaseAssertions() public méthode

public testBaseAssertions ( )

testClassHasAttributeClassNotFound() public méthode

testClassHasAttributeFalse() public méthode

testClassHasAttributeTrue() public méthode

testClassHasAttributeWrongClassType() public méthode

testClassHasStaticAttributeClassNotFound() public méthode

testClassHasStaticAttributeFalse() public méthode

testClassHasStaticAttributeTrue() public méthode

testClassNotHasAttributeClassNotFound() public méthode

testClassNotHasAttributeFalse() public méthode

testClassNotHasAttributeTrue() public méthode

testClassNotHasAttributeWrongClassType() public méthode

testClassNotHasStaticAttributeClassNotFound() public méthode

testClassNotHasStaticAttributeFalse() public méthode

testClassNotHasStaticAttributeTrue() public méthode

testCleanUp() public méthode

public testCleanUp ( )

testCleanUpWithFullPath() public méthode

testCleanUpWithRelativePath() public méthode

testCompareEqualNullArray() public méthode

testCompareIdenticalArray() public méthode

testCompareIdenticalMixedArray() public méthode

testCompareIdenticalNullArray() public méthode

testCompareIsEqual() public méthode

public testCompareIsEqual ( )

testCompareIsIdentical() public méthode

testCompareTypes() public méthode

public testCompareTypes ( )

testCompareWithEmptyResult() public méthode

testErrorHandling() public méthode

public testErrorHandling ( )

testErrorLevelHonored() public méthode

testExceptionCatching() public méthode

testExpectExceptionRegex() public méthode

testFail() public méthode

public testFail ( )

testGetTest() public méthode

public testGetTest ( )

testHandleException() public méthode

public testHandleException ( )

testIdenticalArrayFail() public méthode

testObjectHasAttributeFalse() public méthode

testObjectHasAttributeTrue() public méthode

testObjectHasAttributeWrongClassType() public méthode

testObjectNotHasAttributeFalse() public méthode

testObjectNotHasAttributeTrue() public méthode

testObjectNotHasAttributeWrongClassType() public méthode

testResults() public méthode

public testResults ( )

testRun() public méthode

public testRun ( )

testSkipIf() public méthode

public testSkipIf ( )

testSubject() public méthode

public testSubject ( )

testTestMethods() public méthode

public testTestMethods ( )

Property Details

$test public_oe property

public $test