AddressBookTest
extends TestCase
in package
Uses
DbTestHelperTrait
Table of Contents
- $driver : mixed
- Should be "mysql", "pgsql", "sqlite".
- $ab : AddressBook
- $backend : mixed
- createSchema() : mixed
- Uses .sql files from the examples directory to initialize the database.
- dropTables() : mixed
- Drops tables, if they exist.
- getDb() : PDO
- Returns a fully configured PDO object.
- getPDO() : PDO
- Alias for getDb.
- setup() : void
- tearDown() : void
- testACLMethods() : mixed
- testCreateDirectory() : mixed
- testCreateFile() : mixed
- testDelete() : mixed
- testGetChangesNoSyncSupport() : mixed
- testGetChild() : mixed
- testGetChildNotFound() : mixed
- testGetChildren() : mixed
- testGetLastModified() : mixed
- testGetName() : mixed
- testGetProperties() : mixed
- testGetSupportedPrivilegeSet() : mixed
- testGetSyncToken() : mixed
- testGetSyncToken2() : mixed
- testGetSyncTokenNoSyncSupport() : mixed
- testSetACL() : mixed
- testSetName() : mixed
- testUpdateProperties() : mixed
Properties
$driver
Should be "mysql", "pgsql", "sqlite".
public
mixed
$driver
= null
$ab
protected
AddressBook
$ab
$backend
protected
mixed
$backend
Methods
createSchema()
Uses .sql files from the examples directory to initialize the database.
public
createSchema(string $schemaName) : mixed
Parameters
- $schemaName : string
Return values
mixed —dropTables()
Drops tables, if they exist.
public
dropTables(string|array<string|int, string> $tableNames) : mixed
Parameters
- $tableNames : string|array<string|int, string>
Return values
mixed —getDb()
Returns a fully configured PDO object.
public
getDb() : PDO
Return values
PDO —getPDO()
Alias for getDb.
public
getPDO() : PDO
Return values
PDO —setup()
public
setup() : void
Return values
void —tearDown()
public
tearDown() : void
Return values
void —testACLMethods()
public
testACLMethods() : mixed
Return values
mixed —testCreateDirectory()
public
testCreateDirectory() : mixed
Return values
mixed —testCreateFile()
public
testCreateFile() : mixed
Return values
mixed —testDelete()
public
testDelete() : mixed
Return values
mixed —testGetChangesNoSyncSupport()
public
testGetChangesNoSyncSupport() : mixed
Return values
mixed —testGetChild()
public
testGetChild() : mixed
Return values
mixed —testGetChildNotFound()
public
testGetChildNotFound() : mixed
Return values
mixed —testGetChildren()
public
testGetChildren() : mixed
Return values
mixed —testGetLastModified()
public
testGetLastModified() : mixed
Return values
mixed —testGetName()
public
testGetName() : mixed
Return values
mixed —testGetProperties()
public
testGetProperties() : mixed
Return values
mixed —testGetSupportedPrivilegeSet()
public
testGetSupportedPrivilegeSet() : mixed
Return values
mixed —testGetSyncToken()
public
testGetSyncToken() : mixed
Return values
mixed —testGetSyncToken2()
public
testGetSyncToken2() : mixed
Return values
mixed —testGetSyncTokenNoSyncSupport()
public
testGetSyncTokenNoSyncSupport() : mixed
Return values
mixed —testSetACL()
public
testSetACL() : mixed
Return values
mixed —testSetName()
public
testSetName() : mixed
Return values
mixed —testUpdateProperties()
public
testUpdateProperties() : mixed