PHP 클래스 Visualphpunit\Core\Suite

저자: 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
getSnapshots ( Doctrine\DBAL\Connection $connection ) : mixed[] Get all test suite results
getSuite ( Doctrine\DBAL\Connection $connection, integer $id ) : mixed[] Get test suite results
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

getSnapshots() 공개 정적인 메소드

Get all test suite results
public static getSnapshots ( Doctrine\DBAL\Connection $connection ) : mixed[]
$connection Doctrine\DBAL\Connection
리턴 mixed[]

getSuite() 공개 정적인 메소드

Get test suite results
public static getSuite ( Doctrine\DBAL\Connection $connection, integer $id ) : mixed[]
$connection Doctrine\DBAL\Connection
$id integer
리턴 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