PHP 클래스 Visualphpunit\Core\Test

저자: Johannes Skov Frandsen ([email protected])
파일 보기 프로젝트 열기: visualphpunit/visualphpunit 1 사용 예제들

공개 메소드들

메소드 설명
createTable ( Doctrine\DBAL\Connection $connection ) : boolean Create the table if it dos not exists
dropTable ( Doctrine\DBAL\Connection $connection ) : boolean Drop the table if it exists
getTests ( Doctrine\DBAL\Connection $connection, DateTime $start, DateTime $end, String $unit ) : mixed[] Get test per day between dates
store ( Doctrine\DBAL\Connection $connection, mixed[] $result ) : boolean Store a test suite result
truncateTable ( Doctrine\DBAL\Connection $connection ) : boolean Truncate the table

메소드 상세

createTable() 공개 정적인 메소드

Create the table if it dos not exists
public static createTable ( Doctrine\DBAL\Connection $connection ) : boolean
$connection Doctrine\DBAL\Connection
리턴 boolean

dropTable() 공개 정적인 메소드

Drop the table if it exists
public static dropTable ( Doctrine\DBAL\Connection $connection ) : boolean
$connection Doctrine\DBAL\Connection
리턴 boolean

getTests() 공개 정적인 메소드

Get test per day between dates
public static getTests ( Doctrine\DBAL\Connection $connection, DateTime $start, DateTime $end, String $unit ) : mixed[]
$connection Doctrine\DBAL\Connection
$start DateTime
$end DateTime
$unit String
리턴 mixed[]

store() 공개 정적인 메소드

Store a test suite result
public static store ( Doctrine\DBAL\Connection $connection, mixed[] $result ) : boolean
$connection Doctrine\DBAL\Connection
$result mixed[]
리턴 boolean

truncateTable() 공개 정적인 메소드

Truncate the table
public static truncateTable ( Doctrine\DBAL\Connection $connection ) : boolean
$connection Doctrine\DBAL\Connection
리턴 boolean