PHP Class lithium\tests\cases\test\UnitTest

Inheritance: extends lithium\test\Unit
Datei anzeigen Open project: unionofrad/lithium

Public Properties

Property Type Description
$test

Public Methods

Method 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 method

public setUp ( )

testArrayHasKeyFalse() public method

testArrayHasKeyTrue() public method

public testArrayHasKeyTrue ( )

testArrayHasKeyValueNull() public method

testArrayNotHasKeyFalse() public method

testArrayNotHasKeyTrue() public method

testAssertArrayIdentical() public method

testAssertBacktraces() public method

testAssertContainsFalse() public method

testAssertContainsOnlyFalse() public method

testAssertContainsOnlyInstanceOfFalse() public method

testAssertContainsOnlyInstanceOfTrue() public method

testAssertContainsOnlyTrue() public method

testAssertContainsStringInStrFalse() public method

testAssertContainsStringInStrTrue() public method

testAssertContainsTrue() public method

testAssertCookie() public method

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 method

testAssertCountFalse() public method

testAssertCountTrue() public method

public testAssertCountTrue ( )

testAssertEmptyFalse() public method

testAssertEmptyTrue() public method

public testAssertEmptyTrue ( )

testAssertEqualAssociativeArray() public method

testAssertEqualNumeric() public method

testAssertEqualNumericFail() public method

testAssertEqualThreeDFail() public method

testAssertException() public method

public testAssertException ( )

testAssertExceptionNotThrown() public method

testAssertExceptionWrongException() public method

testAssertFileEqualsFalse() public method

testAssertFileEqualsTrue() public method

testAssertFileExistsFalse() public method

testAssertFileExistsTrue() public method

testAssertFileNotEqualsFalse() public method

testAssertFileNotEqualsTrue() public method

testAssertFileNotExistsFalse() public method

testAssertFileNotExistsTrue() public method

testAssertGreaterThanFalse() public method

testAssertGreaterThanOrEqualFalse() public method

testAssertGreaterThanOrEqualTrue() public method

testAssertGreaterThanTrue() public method

testAssertIdentical() public method

public testAssertIdentical ( )

testAssertIdenticalArray() public method

testAssertInstanceOfFalse() public method

testAssertInstanceOfTrue() public method

testAssertInternalTypeFalse() public method

testAssertInternalTypeTrue() public method

testAssertLessThanFalse() public method

testAssertLessThanOrEqualFalse() public method

testAssertLessThanOrEqualTrue() public method

testAssertLessThanTrue() public method

testAssertNotContainsFalse() public method

testAssertNotContainsOnlyFalse() public method

testAssertNotContainsOnlyTrue() public method

testAssertNotContainsStringInStrFalse() public method

testAssertNotContainsStringInStrTrue() public method

testAssertNotContainsTrue() public method

testAssertNotCountFalse() public method

testAssertNotCountTrue() public method

testAssertNotEmptyFalse() public method

testAssertNotEmptyTrue() public method

testAssertNotEqual() public method

public testAssertNotEqual ( )

testAssertNotExceptionFailsWithBaseException() public method

testAssertNotExceptionFailsWithExactException() public method

testAssertNotExceptionPassesWithNoException() public method

testAssertNotExceptionPassesWithWrongException() public method

testAssertNotIdentical() public method

testAssertNotIdenticalArray() public method

testAssertNotInstanceOfFalse() public method

testAssertNotInstanceOfTrue() public method

testAssertNotInternalTypeFalse() public method

testAssertNotInternalTypeTrue() public method

testAssertNotNullFalse() public method

testAssertNotNullTrue() public method

testAssertNotPattern() public method

testAssertNull() public method

public testAssertNull ( )

testAssertObjects() public method

public testAssertObjects ( )

testAssertPattern() public method

public testAssertPattern ( )

testAssertStringEndsWithFalse() public method

testAssertStringEndsWithTrue() public method

testAssertStringMatchesFormatFalse() public method

testAssertStringMatchesFormatTrue() public method

testAssertStringNotMatchesFormatFalse() public method

testAssertStringNotMatchesFormatTrue() public method

testAssertStringStartsWithFalse() public method

testAssertStringStartsWithTrue() public method

testAssertTags() public method

public testAssertTags ( )

testAssertTagsFailTextEqual() public method

testAssertTagsMissingAttribute() public method

testAssertTagsNoClosingTag() public method

testAssertTagsString() public method

testAssertWithCustomMessage() public method

testBaseAssertions() public method

public testBaseAssertions ( )

testClassHasAttributeClassNotFound() public method

testClassHasAttributeFalse() public method

testClassHasAttributeTrue() public method

testClassHasAttributeWrongClassType() public method

testClassHasStaticAttributeClassNotFound() public method

testClassHasStaticAttributeFalse() public method

testClassHasStaticAttributeTrue() public method

testClassNotHasAttributeClassNotFound() public method

testClassNotHasAttributeFalse() public method

testClassNotHasAttributeTrue() public method

testClassNotHasAttributeWrongClassType() public method

testClassNotHasStaticAttributeClassNotFound() public method

testClassNotHasStaticAttributeFalse() public method

testClassNotHasStaticAttributeTrue() public method

testCleanUp() public method

public testCleanUp ( )

testCleanUpWithFullPath() public method

testCleanUpWithRelativePath() public method

testCompareEqualNullArray() public method

testCompareIdenticalArray() public method

testCompareIdenticalMixedArray() public method

testCompareIdenticalNullArray() public method

testCompareIsEqual() public method

public testCompareIsEqual ( )

testCompareIsIdentical() public method

testCompareTypes() public method

public testCompareTypes ( )

testCompareWithEmptyResult() public method

testErrorHandling() public method

public testErrorHandling ( )

testErrorLevelHonored() public method

testExceptionCatching() public method

testExpectExceptionRegex() public method

testFail() public method

public testFail ( )

testGetTest() public method

public testGetTest ( )

testHandleException() public method

public testHandleException ( )

testIdenticalArrayFail() public method

testObjectHasAttributeFalse() public method

testObjectHasAttributeTrue() public method

testObjectHasAttributeWrongClassType() public method

testObjectNotHasAttributeFalse() public method

testObjectNotHasAttributeTrue() public method

testObjectNotHasAttributeWrongClassType() public method

testResults() public method

public testResults ( )

testRun() public method

public testRun ( )

testSkipIf() public method

public testSkipIf ( )

testSubject() public method

public testSubject ( )

testTestMethods() public method

public testTestMethods ( )

Property Details

$test public_oe property

public $test