PHP Класс Visualphpunit\Core\Suite

Автор: Johannes Skov Frandsen ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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