PHP Class lithium\console\command\create\Test

li3 create test model Posts li3 create --library=li3_plugin test model Posts
Inheritance: extends lithium\console\command\Create
Show file Open project: unionofrad/lithium Class Usage Examples

Protected Methods

Method Description
_class ( string $request ) : string Get the class name for the test case.
_methods ( string $request ) : string Get the methods to test.
_name ( string $request ) : string Get the class to be tested
_namespace ( string $request, array $options = [] ) : string Get the namespace for the test case.
_use ( string $request ) : string Get the class used by the test case.

Method Details

_class() protected method

Get the class name for the test case.
protected _class ( string $request ) : string
$request string
return string

_methods() protected method

Get the methods to test.
protected _methods ( string $request ) : string
$request string
return string

_name() protected method

Get the class to be tested
protected _name ( string $request ) : string
$request string
return string

_namespace() protected method

Get the namespace for the test case.
protected _namespace ( string $request, array $options = [] ) : string
$request string
$options array
return string

_use() protected method

Get the class used by the test case.
protected _use ( string $request ) : string
$request string
return string