Метод |
Описание |
|
providePDO ( ) : PDO[][] |
Provides the PDO. |
|
provideTestInvalidErrorMode ( ) : int[][] |
Provides test cases for testInvalidErrorMode() |
|
testBootstrapAddsRow ( PDO $pdo ) |
Tests bootstrap() adds a row to an existing table. |
|
testBootstrapFailsForExistingRow ( PDO $pdo ) |
Tests bootstrap() would add a row to an existing table, but fails. |
|
testInvalidErrorMode ( integer $errorMode ) |
Tests instantiation with PDO in wrong error mode should fail. |
|
testLongName ( ) |
Tests instantiation with a long name should not fail. |
|
testRemoveOneRow ( PDO $pdo ) |
Tests remove() removes only one row. |
|
testRemoveTable ( PDO $pdo ) |
Tests remove() removes the table after the last row. |
|
testTooLongNameFails ( ) |
Tests instantiation with a too long name should fail. |
|
testValidErrorMode ( ) |
Tests instantiation with PDO in valid error mode. |
|