1   package com.reuters.msgtest;
2   
3   import com.reuters.msgtest.fixture.RvFixture;
4   
5   public class ExampleFunctionalTest extends FunctionalTestCase {
6   
7   	EnrichmentServer enrichmentServer;
8   
9   	public ExampleFunctionalTest(String arg0) {
10  		super(arg0);
11  	}
12  
13  	public void testRunSampleFixture() throws Exception {
14  		RvFixture rvFixture = (RvFixture) getRvTestConfiguration().create(
15  				"xmlfile://src/test/com/reuters/msgtest/examplefixture.xml");
16  
17  		performStandardTest(rvFixture);
18  
19  	}
20  
21  	/*
22  	 * (non-Javadoc)
23  	 * 
24  	 * @see junit.framework.TestCase#setUp()
25  	 */
26  	protected void setUp() throws Exception {
27  		enrichmentServer = new EnrichmentServer();
28  	}
29  
30  	/*
31  	 * (non-Javadoc)
32  	 * 
33  	 * @see junit.framework.TestCase#tearDown()
34  	 */
35  	protected void tearDown() throws Exception {
36  		enrichmentServer.shutdown();
37  	}
38  }