PHP Class Lazer\Classes\DatabaseTest

Inheritance: extends PHPUnit_Framework_TestCase, use trait vfsHelper\Config
Show file Open project: greg0/lazer-database

Protected Properties

Property Type Description
$object Database

Public Methods

Method Description
testAddFields ( )
testAsArray ( $table ) Lazer\Classes\Database::asArray
testCreateExistingTable ( )
testCreateTable ( )
testDelete ( )
testDeleteFields ( )
testFind ( $table )
testFindAll ( $table )
testGet ( )
testGroupBy ( )
testIsCountable ( $table ) Lazer\Classes\Database::count
testIsset ( )
testLimit ( $table )
testOrderBy ( )
testRemoveExistingTable ( )
testRemoveNotExistingTable ( )
testSave ( )
testTableExists ( )
testTableNotExists ( )
testUpdate ( )
testWhere ( )

Protected Methods

Method Description
setUp ( ) Sets up the fixture, for example, opens a network connection.

Method Details

setUp() protected method

This method is called before a test is executed.
protected setUp ( )

testAddFields() public method

public testAddFields ( )

testAsArray() public method

Lazer\Classes\Database::asArray
public testAsArray ( $table )

testCreateExistingTable() public method

testCreateTable() public method

public testCreateTable ( )

testDelete() public method

public testDelete ( )

testDeleteFields() public method

public testDeleteFields ( )

testFind() public method

public testFind ( $table )

testFindAll() public method

public testFindAll ( $table )

testGet() public method

public testGet ( )

testGroupBy() public method

public testGroupBy ( )

testIsCountable() public method

Lazer\Classes\Database::count
public testIsCountable ( $table )

testIsset() public method

public testIsset ( )

testLimit() public method

public testLimit ( $table )

testOrderBy() public method

public testOrderBy ( )

testRemoveExistingTable() public method

testRemoveNotExistingTable() public method

testSave() public method

public testSave ( )

testTableExists() public method

public testTableExists ( )

testTableNotExists() public method

public testTableNotExists ( )

testUpdate() public method

public testUpdate ( )

testWhere() public method

public testWhere ( )

Property Details

$object protected property

protected Database $object
return Database