PHP 클래스 Pheasant\Tests\MysqlTestCase

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: lox/pheasant 1 사용 예제들

공개 메소드들

메소드 설명
assertConnectionExists ( )
assertRowCount ( $count, $sql )
assertTableExists ( $table )
connection ( ) Helper to return a connection
initialize ( $class, $callback = null ) Helper to initialize a domain object
migrate ( $tableName, $schema )
setUp ( )
table ( $name, $columns ) Helper to drop and re-create a table
tearDown ( )

메소드 상세

assertConnectionExists() 공개 메소드

assertRowCount() 공개 메소드

public assertRowCount ( $count, $sql )

assertTableExists() 공개 메소드

public assertTableExists ( $table )

connection() 공개 메소드

Helper to return a connection
public connection ( )

initialize() 공개 메소드

Helper to initialize a domain object
public initialize ( $class, $callback = null )

migrate() 공개 메소드

public migrate ( $tableName, $schema )

setUp() 공개 메소드

public setUp ( )

table() 공개 메소드

Helper to drop and re-create a table
public table ( $name, $columns )

tearDown() 공개 메소드

public tearDown ( )