Property | Type | Description | |
---|---|---|---|
$_export | |||
$_fixtures |
Method | Description | |
---|---|---|
setUp ( ) | Creating the test database | |
skip ( ) | Skip the test if no allowed database connection available. | |
tearDown ( ) | Dropping the test database | |
testConnectWithNoDatabase ( ) | ||
testConnectWithWrongHost ( ) | ||
testConnectWithWrongPassword ( ) | ||
testCreateData ( ) | ||
testDistinctResultsInNoDuplicates ( ) | Tests if DISTINCT queries work as expected and do not duplicate records. | |
testExecuteException ( ) | ||
testFields ( ) | ||
testGroup ( ) | ||
testManyToOne ( ) | ||
testOneToMany ( ) | ||
testOneToManyUsingSameKeyName ( ) | ||
testOrder ( ) | ||
testOrderWithHasManyThrowsExceptionIfNonSequential ( ) | ||
testOrderWithHasManyWorksIfOrderByMainIdFirst ( ) | ||
testOrderWithRelationAndLimit ( ) | ||
testRemove ( ) | ||
testSubqueryWithMultipleRecords ( ) | Tests that even when using a subquery the correct number of records is returned. | |
testSwitchingDatabaseDistinctModels ( ) | Prove that two distinct models each having a different connection to a different database are working independently upon the correct databases. | |
testSwitchingDatabaseOnModel ( ) | Prove that one model's connection can be switched while keeping on working upon the correct databases. | |
testUpdate ( ) | ||
testValueWithHardcodedSchema ( ) | Tests if the value() and _cast() methods work correctly when a schema is hardcoded. |
public testDistinctResultsInNoDuplicates ( ) |
public testSubqueryWithMultipleRecords ( ) |
public testSwitchingDatabaseDistinctModels ( ) |
public testSwitchingDatabaseOnModel ( ) |
public testValueWithHardcodedSchema ( ) |