|
Previous Page |
Solar_Test |
Next Page |
Methods
Public
__construct()- Setup before the entire unit test.
__destruct()- Teardown after the entire unit test.
apiVersion()- Reports the API version for this class.
assertEquals()- Asserts that two variables are equal; type is not strict.
assertFalse()- Asserts that a variable is boolean false.
assertInstance()- Asserts that a object is an instance of a class.
assertNotEquals()- Asserts that two variables are not equal; type is not strict.
assertNotFalse()- Asserts that a variable is not boolean false.
assertNotInstance()- Asserts that a object is not an instance of a class.
assertNotNull()- Asserts that a variable is not PHP null.
assertNotRegex()- Asserts that a value does not match a regular expression pattern using preg_match().
assertNotSame()- Asserts that two variables are not the same type and value.
assertNotTrue()- Asserts that a variable is not boolean true.
assertNull()- Asserts that a variable is PHP null.
assertProperty()- Asserts that an object property meets criteria.
assertRegex()- Asserts that a value matches a regular expression pattern using preg_match().
assertSame()- Asserts that two variables have the same type and value.
assertTrue()- Asserts that a variable is boolean true.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
error()- Error handler for this test; throws a test failure.
fail()- Throws an exception indicating a failed test.
getAssertCount()- Returns the number of assertions made by this test.
locale()- Looks up class-specific locale strings based on a key.
resetAssertCount()- Resets the assertion counter to zero.
setup()- Setup before each method test.
skip()- Throws an exception indicating a skipped test.
teardown()- Teardown after each method test.
todo()- Throws an exception indicating an incomplete test.
Protected
_exception()- Convenience method for returning exceptions with localized text.
_export()- Returns the output from Solar_Debug_Var::fetch() for a variable.
_ksort()- Recursively ksort() an array.
Private
None.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _exception()
- _export()
- _ksort()
- apiVersion()
- assertEquals()
- assertFalse()
- assertInstance()
- assertNotEquals()
- assertNotFalse()
- assertNotInstance()
- assertNotNull()
- assertNotRegex()
- assertNotSame()
- assertNotTrue()
- assertNull()
- assertProperty()
- assertRegex()
- assertSame()
- assertTrue()
- dump()
- error()
- fail()
- getAssertCount()
- locale()
- resetAssertCount()
- setup()
- skip()
- teardown()
- todo()