Property | Type | Description | |
---|---|---|---|
$databaseConnection | PHPUnit_Extensions_Database_DB_IDatabaseConnection | ||
$query | string | ||
$tableName | string |
Method | Description | |
---|---|---|
__construct ( $tableName, string $query, PHPUnit_Extensions_Database_DB_IDatabaseConnection $databaseConnection ) | Creates a new database query table object. | |
assertEquals ( PHPUnit_Extensions_Database_DataSet_ITable $other ) | Asserts that the given table matches this table. | |
getRow ( integer $row ) : array | Returns the an associative array keyed by columns for the given row. | |
getRowCount ( ) : integer | Returns the number of rows in this table. | |
getTableMetaData ( ) : PHPUnit_Extensions_Database_DataSet_ITableMetaData | Returns the table's meta data. | |
getValue ( integer $row, integer $column ) | Returns the value for the given column on the given row. |
Method | Description | |
---|---|---|
createTableMetaData ( ) | ||
loadData ( ) |
public __construct ( $tableName, string $query, PHPUnit_Extensions_Database_DB_IDatabaseConnection $databaseConnection ) | ||
$query | string | |
$databaseConnection | PHPUnit_Extensions_Database_DB_IDatabaseConnection |
public assertEquals ( PHPUnit_Extensions_Database_DataSet_ITable $other ) | ||
$other | PHPUnit_Extensions_Database_DataSet_ITable |
public getRowCount ( ) : integer | ||
return | integer |
public getTableMetaData ( ) : PHPUnit_Extensions_Database_DataSet_ITableMetaData | ||
return | PHPUnit_Extensions_Database_DataSet_ITableMetaData |
protected PHPUnit_Extensions_Database_DB_IDatabaseConnection $databaseConnection | ||
return | PHPUnit_Extensions_Database_DB_IDatabaseConnection |