org.teiid.test.framework.datasource
Class DataStore

java.lang.Object
  extended by org.teiid.test.framework.datasource.DataStore

public class DataStore
extends java.lang.Object

This class loads the data in the databases specified, to a known state


Constructor Summary
DataStore()
           
 
Method Summary
static void initialize(ConnectionStrategy connStrategy)
          Called at the start of all the tests to initialize the database to ensure it's in the proper state.
static void setup(ConnectionStrategy connStrategy)
          Called as part of the setup for each test.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataStore

public DataStore()
Method Detail

initialize

public static void initialize(ConnectionStrategy connStrategy)
Called at the start of all the tests to initialize the database to ensure it's in the proper state.

Parameters:
connStrategy -

setup

public static void setup(ConnectionStrategy connStrategy)
Called as part of the setup for each test. This will set the database state as if initialize(ConnectionStrategy) was called. However, for performance reasons, the process goes about removing what's not needed instead of cleaning out everything and reinstalling.

Parameters:
connStrategy -


Copyright © 2011. All Rights Reserved.