PHP 클래스 Jamm\Tester\ResultsPrinter

파일 보기 프로젝트 열기: jamm/memory

공개 메소드들

메소드 설명
__construct ( array $tests = null )
addTests ( array $tests )
getExitStatusCode ( boolean $print_failed_tests = true ) : integer Will return 1 if at least one of tests is not passed, 0 if all tests are successful
printAndExit ( )
printFailedTests ( )
printResultsLine ( )
setLineSeparator ( $line_separator )
setNewlineSeparator ( $newline )
setPrintErrorsTraces ( $print_errors_traces = true )

메소드 상세

__construct() 공개 메소드

public __construct ( array $tests = null )
$tests array

addTests() 공개 메소드

public addTests ( array $tests )
$tests array

getExitStatusCode() 공개 메소드

Will return 1 if at least one of tests is not passed, 0 if all tests are successful
public getExitStatusCode ( boolean $print_failed_tests = true ) : integer
$print_failed_tests boolean
리턴 integer

printAndExit() 공개 메소드

public printAndExit ( )

printFailedTests() 공개 메소드

public printFailedTests ( )

printResultsLine() 공개 메소드

public printResultsLine ( )

setLineSeparator() 공개 메소드

public setLineSeparator ( $line_separator )

setNewlineSeparator() 공개 메소드

public setNewlineSeparator ( $newline )

setPrintErrorsTraces() 공개 메소드

public setPrintErrorsTraces ( $print_errors_traces = true )