Methods
All methods in the Solar_Test_Suite class.
Public
-
__construct() -
Constructor.
-
__destruct() -
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
-
dump() -
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
-
loadTests() -
Finds tests and loads them into the plan.
-
locale() -
Looks up class-specific locale strings based on a key.
-
run() -
Runs the test suite (or the sub-test series) and logs as it goes.
-
setVerbose() -
Turns 'verbose' mode on and off.
Protected
-
_buildConfig() -
Builds and returns the default config for a class, including all configs inherited from its parents.
-
_done() -
Formats a test line, logs it, and saves the info.
-
_exception() -
Convenience method for returning exceptions with localized text.
-
_fetchTestCaseConfig() -
Finds the config file for a test case.
-
_log() -
Saves an event and message to the log.
-
_newPhp() -
Creates a new Solar_Php instance with some default settings.
-
_postConfig() -
A hook that activates after _buildConfig() in the constructor.
-
_postConstruct() -
Post-construction tasks to complete object construction.
-
_preConfig() -
A hook that activates before _buildConfig() in the constructor.
-
_prepare() -
Prepares class properties for a test run.
-
_report() -
Generates a report from class properties.
-
_testConstruct() -
Test the construction of the test class to see if it works.
-
_testMethod() -
Run a single test method from the test class.
Private
None.