KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > workflow > spi > prevayler > PrevaylerFunctionalWorkflowTestCase


1 /*
2  * Copyright (c) 2002-2003 by OpenSymphony
3  * All rights reserved.
4  */

5 /*
6  * Created on Feb 12, 2004
7  *
8  *
9  */

10 package com.opensymphony.workflow.spi.prevayler;
11
12 import com.opensymphony.workflow.config.Configuration;
13 import com.opensymphony.workflow.config.DefaultConfiguration;
14 import com.opensymphony.workflow.spi.BaseFunctionalWorkflowTest;
15
16
17 /**
18  *
19  *
20  *
21  * @author Christopher Farnham
22  **/

23 public class PrevaylerFunctionalWorkflowTestCase extends BaseFunctionalWorkflowTest {
24     //~ Constructors ///////////////////////////////////////////////////////////
25

26     /**
27      * @param s
28      */

29     public PrevaylerFunctionalWorkflowTestCase(String JavaDoc s) {
30         super(s);
31     }
32
33     //~ Methods ////////////////////////////////////////////////////////////////
34

35     /* (non-Javadoc)
36      * @see junit.framework.TestCase#setUp()
37      */

38     protected void setUp() throws Exception JavaDoc {
39         super.setUp();
40
41         Configuration config = new DefaultConfiguration();
42         config.load(getClass().getResource("/osworkflow-prevayler.xml"));
43         workflow.setConfiguration(config);
44     }
45 }
46
Popular Tags