ERXEOAccessUtilitiesTest Class Reference

Inherits er::erxtest::ERXTestCase.

Collaboration diagram for ERXEOAccessUtilitiesTest:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void _testAttributePathForKeyPath ()
void _testAttributeWithColumnNameFromEntity ()
void _testBatchFetchRelationshipEODatabaseContextEORelationshipNSArrayEOEditingContextBoolean ()
void _testBatchFetchRelationshipEODatabaseContextStringStringNSArrayEOEditingContextBoolean ()
void _testClassPropertiesNotInParent ()
void _testClone ()
void _testCloseDatabaseConnections ()
void _testCreateAggregateAttributeEOEditingContextStringStringString ()
void _testCreateAggregateAttributeEOEditingContextStringStringStringClassString ()
void _testCreateAggregateAttributeEOEditingContextStringStringStringClassStringString ()
void _testCreateAggregateAttributeEOEditingContextStringStringStringClassStringStringString ()
void _testCreateFlattenedRelationship ()
void _testCreateIndexSQLForEntitiesForOracle ()
void _testCreateIndexSQLForEntitiesNSArray ()
void _testCreateIndexSQLForEntitiesNSArrayNSArray ()
void _testCreateLogString ()
void _testCreateRelationship ()
void _testCreateSchemaSQLForEntitiesInDatabaseContext ()
void _testCreateSchemaSQLForEntitiesInModelWithName ()
void _testCreateSchemaSQLForEntitiesInModelWithNameAndOptions ()
void _testCreateSchemaSQLForEntitiesInModelWithNameAndOptionsForOracle9 ()
void _testCreateSchemaSQLForEntitiesWithOptions ()
void _testDatabaseContextForEntityNamed ()
void _testDatabaseContextForObject ()
void _testDeleteRowsDescribedByQualifier ()
void _testDestinationEntityForKeyPath ()
void _testEntityForEo ()
void _testEntityUsesSeparateTable ()
void _testEquals ()
void _testEvaluateSQLWithEntity ()
void _testEvaluateSQLWithEntityNamed ()
void _testExternalNamesForEntity ()
void _testExternalNamesForEntityNamed ()
void _testFinalize ()
void _testGetClass ()
void _testGetNextValFromSequenceNamed ()
void _testGuessPluginName ()
void _testGuessPluginNameForConnectionDictionary ()
void _testHashCode ()
void _testInsertRow ()
void _testInsertRows ()
void _testIsOptimisticLockingFailure ()
void _testLastRelationship ()
void _testLocalizeFetchSpecification ()
void _testLogExpression ()
void _testMakeEditableSharedEntityNamed ()
void _testNotify ()
void _testNotifyAll ()
void _testObject ()
void _testPrimaryKeyDictionaryForEntity ()
void _testPrimaryKeysForNewRows ()
void _testPrimaryKeysForObjects ()
void _testQualifierFromAttributes ()
void _testRawRowsForSQLExpressionEOEditingContextEOModelEOSQLExpressionNSArrayOfEOAttribute ()
void _testRawRowsForSQLExpressionEOEditingContextStringEOSQLExpression ()
void _testReapplyChanges ()
void _testRefetchFailedObject ()
void _testRelationshipsForAttribute ()
void _testRootEntityForEntity ()
void _testRootEntityForEntityNamed ()
void _testRowCountForFetchSpecification ()
void _testSnapshotsForObjectsFromRelationshipNamed ()
void _testSourceAttributeForRelationshipEOEntityString ()
void _testSourceAttributeForRelationshipEORelationship ()
void _testSourceColumnForRelationshipEOEntityString ()
void _testSourceColumnForRelationshipEORelationship ()
void _testSqlExpressionForFetchSpecification ()
void _testSqlForFetchSpecification ()
void _testSqlWhereClauseStringForKey ()
void _testToString ()
void _testUpdateRowsDescribedByQualifier ()
void _testVerifyAllSnapshots ()
void _testWait ()
void _testWaitLong ()
void _testWaitLongInt ()
 ERXEOAccessUtilitiesTest (String adaptorName)
void setUp () throws Exception
void testEntityMatchingString ()
void testEntityNamed ()
void testEntityUsingTable ()
void testEntityWithNamedIsShared ()
void testModelGroup ()

Static Package Attributes

static boolean modelDataLoaded = false

Private Attributes

EOEntity companyEntity
EOEditingContext ec
EOEntity employeeEntity
EOModel model


Detailed Description

Test the static methods in the ERXEOAccessUtilities class. This class has an inner class that actually contains the test methods. We can take the available models (or the ones compatible with these tests) and run the tests multiple times. The tests can be parameterized to use different models or different configurations.

Constructor & Destructor Documentation

ERXEOAccessUtilitiesTest ( String  adaptorName  ) 


Member Function Documentation

void _testAttributePathForKeyPath (  ) 

void _testAttributeWithColumnNameFromEntity (  ) 

void _testBatchFetchRelationshipEODatabaseContextEORelationshipNSArrayEOEditingContextBoolean (  ) 

void _testBatchFetchRelationshipEODatabaseContextStringStringNSArrayEOEditingContextBoolean (  ) 

void _testClassPropertiesNotInParent (  ) 

void _testClone (  ) 

Test method for java.lang.Object#clone().

void _testCloseDatabaseConnections (  ) 

void _testCreateAggregateAttributeEOEditingContextStringStringString (  ) 

void _testCreateAggregateAttributeEOEditingContextStringStringStringClassString (  ) 

void _testCreateAggregateAttributeEOEditingContextStringStringStringClassStringString (  ) 

void _testCreateAggregateAttributeEOEditingContextStringStringStringClassStringStringString (  ) 

void _testCreateFlattenedRelationship (  ) 

void _testCreateIndexSQLForEntitiesForOracle (  ) 

void _testCreateIndexSQLForEntitiesNSArray (  ) 

void _testCreateIndexSQLForEntitiesNSArrayNSArray (  ) 

void _testCreateLogString (  ) 

void _testCreateRelationship (  ) 

void _testCreateSchemaSQLForEntitiesInDatabaseContext (  ) 

void _testCreateSchemaSQLForEntitiesInModelWithName (  ) 

void _testCreateSchemaSQLForEntitiesInModelWithNameAndOptions (  ) 

void _testCreateSchemaSQLForEntitiesInModelWithNameAndOptionsForOracle9 (  ) 

void _testCreateSchemaSQLForEntitiesWithOptions (  ) 

void _testDatabaseContextForEntityNamed (  ) 

void _testDatabaseContextForObject (  ) 

void _testDeleteRowsDescribedByQualifier (  ) 

void _testDestinationEntityForKeyPath (  ) 

void _testEntityForEo (  ) 

void _testEntityUsesSeparateTable (  ) 

void _testEquals (  ) 

void _testEvaluateSQLWithEntity (  ) 

void _testEvaluateSQLWithEntityNamed (  ) 

void _testExternalNamesForEntity (  ) 

void _testExternalNamesForEntityNamed (  ) 

void _testFinalize (  ) 

Test method for java.lang.Object#finalize().

void _testGetClass (  ) 

Test method for java.lang.Object#getClass().

void _testGetNextValFromSequenceNamed (  ) 

void _testGuessPluginName (  ) 

void _testGuessPluginNameForConnectionDictionary (  ) 

void _testHashCode (  ) 

Test method for java.lang.Object#hashCode().

void _testInsertRow (  ) 

void _testInsertRows (  ) 

void _testIsOptimisticLockingFailure (  ) 

void _testLastRelationship (  ) 

void _testLocalizeFetchSpecification (  ) 

void _testLogExpression (  ) 

void _testMakeEditableSharedEntityNamed (  ) 

void _testNotify (  ) 

Test method for java.lang.Object#notify().

void _testNotifyAll (  ) 

Test method for java.lang.Object#notifyAll().

void _testObject (  ) 

Test method for java.lang.Object#Object().

void _testPrimaryKeyDictionaryForEntity (  ) 

void _testPrimaryKeysForNewRows (  ) 

void _testPrimaryKeysForObjects (  ) 

void _testQualifierFromAttributes (  ) 

void _testRawRowsForSQLExpressionEOEditingContextEOModelEOSQLExpressionNSArrayOfEOAttribute (  ) 

void _testRawRowsForSQLExpressionEOEditingContextStringEOSQLExpression (  ) 

void _testReapplyChanges (  ) 

void _testRefetchFailedObject (  ) 

void _testRelationshipsForAttribute (  ) 

void _testRootEntityForEntity (  ) 

void _testRootEntityForEntityNamed (  ) 

void _testRowCountForFetchSpecification (  ) 

void _testSnapshotsForObjectsFromRelationshipNamed (  ) 

void _testSourceAttributeForRelationshipEOEntityString (  ) 

void _testSourceAttributeForRelationshipEORelationship (  ) 

void _testSourceColumnForRelationshipEOEntityString (  ) 

void _testSourceColumnForRelationshipEORelationship (  ) 

void _testSqlExpressionForFetchSpecification (  ) 

void _testSqlForFetchSpecification (  ) 

void _testSqlWhereClauseStringForKey (  ) 

void _testToString (  ) 

Test method for java.lang.Object#toString().

void _testUpdateRowsDescribedByQualifier (  ) 

void _testVerifyAllSnapshots (  ) 

void _testWait (  ) 

Test method for java.lang.Object#wait().

void _testWaitLong (  ) 

Test method for java.lang.Object#wait(long).

void _testWaitLongInt (  ) 

void setUp (  )  throws Exception

void testEntityMatchingString (  ) 

void testEntityNamed (  ) 

void testEntityUsingTable (  ) 

void testEntityWithNamedIsShared (  ) 

void testModelGroup (  ) 


Member Data Documentation

EOEntity companyEntity [private]

EOEditingContext ec [private]

EOEntity employeeEntity [private]

EOModel model [private]

boolean modelDataLoaded = false [static, package]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:10 2012 for Project Wonder by  doxygen 1.5.8