|
Previous Page |
Solar_Cli_MakeTests |
Next Page |
_setFile()
protected
void
_setFile (
string $class,
array $api
)
Sets the file name for the test file, creating it if needed.
Parameters
- (string)
$class: The class name to work with. - (array)
$api: The list of methods in the class API to write test stubs for.
Returns
- (void)
Description
Sets the file name for the test file, creating it if needed.
Uses a different class template for abstract, factory, and normal (concrete) classes. Also looks to see if this is an Adapter-based class and takes that into account.
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()