org.kuali.rice.test.lifecycles
Class PerSuiteDataLoaderLifecycle

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

public class PerSuiteDataLoaderLifecycle
extends java.lang.Object
implements org.kuali.rice.core.lifecycle.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(java.lang.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(java.lang.Class<? extends RiceTestCase> annotatedClass)
Method Detail

isStarted

public boolean isStarted()
Specified by:
isStarted in interface org.kuali.rice.core.lifecycle.Lifecycle

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface org.kuali.rice.core.lifecycle.Lifecycle
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface org.kuali.rice.core.lifecycle.Lifecycle
Throws:
java.lang.Exception


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.