org.kuali.rice.test.lifecycles
Class PerSuiteDataLoaderLifecycle

java.lang.Object
  extended by org.kuali.rice.test.lifecycles.PerSuiteDataLoaderLifecycle
All Implemented Interfaces:
Lifecycle

public class PerSuiteDataLoaderLifecycle
extends Object
implements Lifecycle

A lifecycle for loading SQL datasets based on the PerSuiteUnitTestData annotation. The individual SQL statements are loaded first, followed by the statements inside the files (files are loaded sequentially in the order listed in the annotation).

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
PerSuiteDataLoaderLifecycle(Class<? extends RiceTestCase> annotatedClass)
           
 
Method Summary
 boolean isStarted()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerSuiteDataLoaderLifecycle

public PerSuiteDataLoaderLifecycle(Class<? extends RiceTestCase> annotatedClass)
Method Detail

isStarted

public boolean isStarted()
Specified by:
isStarted in interface Lifecycle

start

public void start()
           throws Exception
Specified by:
start in interface Lifecycle
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Lifecycle
Throws:
Exception


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.