Previous Class
Solar_Struct

Solar_Test
Overview

Next Page
Constants

Solar_Test

A single unit test.

Catalog

This class is part of the Solar_Test package.

Inheritance:

Constants

None.

Public Properties

The Solar_Test class has no public properties; try the list of all properties.

Public Methods

These are all the public methods in the Solar_Test class.

You can also view the list of all public, protected, and private methods.

__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.