Previous Page
Properties

Solar_Cli_MakeTests
Methods

Next Page
__construct()

Methods

Public

__construct()
Constructor.
__destruct()
Destructor; closes STDOUT and STDERR file handles.
apiVersion()
Reports the API version for this class.
dump()
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
exec()
Public interface to execute the command.
getInfoHelp()
Returns the help text for this command.
getInfoOptions()
Returns an array of option flags and descriptions for this command.
locale()
Looks up class-specific locale strings based on a key.
setConsoleController()
Injects the console-controller object (if any) that invoked this command.

Protected

_addTestMethods()
Adds test methods to the code for a test file.
_err()
Prints text to STDERR without a trailing newline.
_errln()
Prints text to STDERR and appends a newline.
_exception()
Convenience method for returning exceptions with localized text.
_exec()
Builds one or more test files starting at the requested class, usually descending recursively into subdirectories of that class.
_getOptionSettings()
Gets the option settings from the class hierarchy.
_loadTemplates()
Loads the template array from skeleton files.
_out()
Prints text to STDOUT without a trailing newline.
_outln()
Prints text to STDOUT and appends a newline.
_postExec()
Post-execution logic.
_preExec()
Pre-exec logic.
_setFile()
Sets the file name for the test file, creating it if needed.
_setTarget()
Sets the base directory target.
_setup()
Post-construction setup logic.
_vt100()
Frontend to locale() that replaces style-format codes for VT100 shell output.

Private

None.