org.kuali.rice.test.lifecycles
Class PerTestDataLoaderLifecycle

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

public class PerTestDataLoaderLifecycle
extends Object
implements Lifecycle

A lifecycle for loading SQL datasets based on the PerTestUnitTestData 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
PerTestDataLoaderLifecycle(Method method)
           
 
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

PerTestDataLoaderLifecycle

public PerTestDataLoaderLifecycle(Method method)
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–2014 The Kuali Foundation. All rights reserved.