PHP 클래스 SensioLabs\DeprecationDetector\Tests\Console\Command\CheckCommand\CheckCommandTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: sensiolabs-de/deprecation-detector

공개 메소드들

메소드 설명
invalidPathsProvider ( ) : array returns invalid sourcePath and rulesetPath pairs, together with the argument, that should be mentioned in the exception message.
setUp ( )
testCommandThrowsHelpfulExceptionWithInvalidPaths ( $sourcePath, $rulesetPath, $mentionedArgument )
testCommandWithExampleCodeWorks ( )
testCommandWithFailOption ( )
testCommandWithFilterMethodOption ( )

비공개 메소드들

메소드 설명
executeCommand ( string $sourcePath, string $rulesetPath, array $options = [] ) Helper method for simplified executing of CheckCommand.

메소드 상세

invalidPathsProvider() 공개 메소드

returns invalid sourcePath and rulesetPath pairs, together with the argument, that should be mentioned in the exception message.
public invalidPathsProvider ( ) : array
리턴 array

setUp() 공개 메소드

public setUp ( )

testCommandThrowsHelpfulExceptionWithInvalidPaths() 공개 메소드

public testCommandThrowsHelpfulExceptionWithInvalidPaths ( $sourcePath, $rulesetPath, $mentionedArgument )
$sourcePath
$rulesetPath
$mentionedArgument

testCommandWithExampleCodeWorks() 공개 메소드

testCommandWithFailOption() 공개 메소드

testCommandWithFilterMethodOption() 공개 메소드