PHP 클래스 Clinner\Command\Tests\CommandTest

저자: José Nahuel Cuesta Luengo ([email protected])
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: ncuesta/clinner

공개 메소드들

메소드 설명
getDataSetsForGetOutputAsArray ( ) : array Data provider for getOutputAsArray
testConstructorDefaults ( )
testConstructorWithValues ( )
testGetArguments ( )
testGetErrorOutput ( )
testGetExitCode ( )
testGetName ( )
testGetOptionNoDefault ( )
testGetOptionWithDefault ( )
testGetOptions ( )
testGetOutput ( )
testGetOutputAsArray ( $output, $delimiter, $expectedResponse )
testGetPipedCommand ( )
testHasPipedCommandWithCommand ( )
testHasPipedCommandWithoutCommand ( )
testPipe ( )
testRun ( )
testSetArgumentsWithArray ( )
testSetArgumentsWithValueHolder ( )
testSetName ( )
testSetOption ( )
testSetOptionsWithArray ( )
testSetOptionsWithValueHolder ( )
testStaticCreateNoArgsNoOpts ( )
testStaticCreateWithArgsAndOpts ( )
testStaticFromStringManyCommands ( )
testStaticFromStringNoCommands ( )
testStaticFromStringOneCommand ( )
testToCommandStringNoArgsNoPipedCommands ( )
testToCommandStringNoArgsWithPipedCommands ( )
testToCommandStringWithArgsNoPipedCommands ( )
testToString ( )

보호된 메소드들

메소드 설명
_getPrivateProperty ( Command $object, string $name ) : mixed Get the value of a private property from a Command $object.
_setPrivateProperty ( Command $object, string $name, mixed $value ) Set a private property to a Command $object.

메소드 상세

_getPrivateProperty() 보호된 메소드

Get the value of a private property from a Command $object.
protected _getPrivateProperty ( Command $object, string $name ) : mixed
$object Clinner\Command\Command The object to inspect.
$name string The private property name.
리턴 mixed

_setPrivateProperty() 보호된 메소드

Set a private property to a Command $object.
protected _setPrivateProperty ( Command $object, string $name, mixed $value )
$object Clinner\Command\Command The object to update.
$name string The private property name.
$value mixed The new value for the property.

getDataSetsForGetOutputAsArray() 공개 메소드

Data provider for getOutputAsArray

testConstructorDefaults() 공개 메소드

testConstructorWithValues() 공개 메소드

testGetArguments() 공개 메소드

public testGetArguments ( )

testGetErrorOutput() 공개 메소드

public testGetErrorOutput ( )

testGetExitCode() 공개 메소드

public testGetExitCode ( )

testGetName() 공개 메소드

public testGetName ( )

testGetOptionNoDefault() 공개 메소드

testGetOptionWithDefault() 공개 메소드

testGetOptions() 공개 메소드

public testGetOptions ( )

testGetOutput() 공개 메소드

public testGetOutput ( )

testGetOutputAsArray() 공개 메소드

public testGetOutputAsArray ( $output, $delimiter, $expectedResponse )

testGetPipedCommand() 공개 메소드

public testGetPipedCommand ( )

testHasPipedCommandWithCommand() 공개 메소드

testHasPipedCommandWithoutCommand() 공개 메소드

testPipe() 공개 메소드

public testPipe ( )

testRun() 공개 메소드

public testRun ( )

testSetArgumentsWithArray() 공개 메소드

testSetArgumentsWithValueHolder() 공개 메소드

testSetName() 공개 메소드

public testSetName ( )

testSetOption() 공개 메소드

public testSetOption ( )

testSetOptionsWithArray() 공개 메소드

testSetOptionsWithValueHolder() 공개 메소드

testStaticCreateNoArgsNoOpts() 공개 메소드

testStaticCreateWithArgsAndOpts() 공개 메소드

testStaticFromStringManyCommands() 공개 메소드

testStaticFromStringNoCommands() 공개 메소드

testStaticFromStringOneCommand() 공개 메소드

testToCommandStringNoArgsNoPipedCommands() 공개 메소드

testToCommandStringNoArgsWithPipedCommands() 공개 메소드

testToCommandStringWithArgsNoPipedCommands() 공개 메소드

testToString() 공개 메소드

public testToString ( )