|
Previous Page |
Solar_Cli_MakeTests |
Next Page |
Properties
Public
None.
Protected
$_class
(string) The source class to work with.
$_code
(string) The code in the test file.
$_config
(array) Collection point for configuration values.
Inherited from Solar_Base.
Note that you do not define config defaults in $_config directly.
<?php
// DO NOT DO THIS
protected $_config = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
Instead, define config defaults in a protected property named for the class, withan underscore prefix.
For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.
<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
$_console
(Solar_Controller_Console) The Solar_Controller_Console object (if any) that invoked this command.
Inherited from Solar_Controller_Command.
$_file
(string) Name of the test file to work with.
$_getopt
(Solar_Getopt) A Solar_Getopt object to manage options and parameters.
Inherited from Solar_Controller_Command.
$_options
(array) Option flags and values extracted from the command-line arguments.
Inherited from Solar_Controller_Command.
$_stderr
(resource) File handle pointing to STDERR for error output.
Inherited from Solar_Controller_Command.
$_stdout
(resource) File handle pointing to STDOUT for normal output.
Inherited from Solar_Controller_Command.
$_target
(string) The target directory for writing tests.
$_tpl
(array) Skeleton templates for classes and methods.
$_vt100
(array) Array of format conversions for use on a variety of pre-set console style combinations.
Inherited from Solar_Controller_Command.
Based on ANSI VT100 Color/Style Codes, according to the VT100 User Guide[1] and the ANSI/VT100 Terminal Control[2] reference.
Private
None.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _addTestMethods()
- _err()
- _errln()
- _exception()
- _exec()
- _getOptionSettings()
- _loadTemplates()
- _out()
- _outln()
- _postExec()
- _preExec()
- _setFile()
- _setTarget()
- _setup()
- _vt100()
- apiVersion()
- dump()
- exec()
- getInfoHelp()
- getInfoOptions()
- locale()
- setConsoleController()