FixtureTest
extends TestCase
in package
uses
FixturePath, PDO, AssertTableExists, AssertTableContainsRow
Table of Contents
Properties
Methods
- assertTableContainsRow() : void
- assertTableDoesNotContainRow() : void
- assertTableDoesNotExist() : void
- assertTableExists() : void
- createPDO() : PDO
- destroyPDO() : void
- getPDO() : PDO
- testEquals() : void
- testGetTableNames() : void
- testSetUp() : void
- testTearDown() : void
- setUp() : void
- getArray() : array<string|int, mixed>
- getFixture() : Fixture
- getSchema() : Query
- testFromArray() : void
Properties
$array
private
array<string|int, mixed>|null
$array
= null
$fixture
private
Fixture|null
$fixture
= null
$pdo
private
static PDO|null
$pdo
= null
$schema
private
Query|null
$schema
= null
Methods
assertTableContainsRow()
public
static assertTableContainsRow(Row $needle, Table $haystack, PDO $context) : void
Parameters
assertTableDoesNotContainRow()
public
static assertTableDoesNotContainRow(Row $needle, Table $haystack, PDO $context) : void
Parameters
assertTableDoesNotExist()
public
static assertTableDoesNotExist(Table $needle, PDO $haystack) : void
Parameters
- $needle : Table
- $haystack : PDO
assertTableExists()
public
static assertTableExists(Table $needle, PDO $haystack) : void
Parameters
- $needle : Table
- $haystack : PDO
createPDO()
public
static createPDO() : PDO
Return values
PDOdestroyPDO()
public
static destroyPDO() : void
getPDO()
public
static getPDO() : PDO
Return values
PDOtestEquals()
public
testEquals() : void
testGetTableNames()
public
testGetTableNames() : void
testSetUp()
public
testSetUp() : void
testTearDown()
public
testTearDown() : void
setUp()
protected
setUp() : void
getArray()
private
getArray() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getFixture()
private
getFixture() : Fixture
Return values
FixturegetSchema()
private
getSchema() : Query
Return values
QuerytestFromArray()
private
testFromArray() : void