PageRenderTime 26ms CodeModel.GetById 21ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/webportal/src/test/java/au/org/emii/portal/test/AbstractTester.java

http://alageospatialportal.googlecode.com/
Java | 30 lines | 11 code | 4 blank | 15 comment | 0 complexity | 2feaeec3e48d816b20f2224192c5dbd8 MD5 | raw file
 1/*
 2 * To change this template, choose Tools | Templates
 3 * and open the template in the editor.
 4 */
 5
 6package au.org.emii.portal.test;
 7
 8/**
 9 *
10 * @author geoff
11 */
12import org.apache.log4j.Logger;
13import org.junit.runner.RunWith;
14import org.springframework.test.context.ContextConfiguration;
15import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
16import static org.junit.Assert.*;
17
18/**
19 * Just provide a base spring config file, the runner and some imports.  Although
20 * the imports aren't all used in this class, they seem to help netbeans detect
21 * the correct annotation to import in subclasses
22 * @author geoff
23 */
24@RunWith(SpringJUnit4ClassRunner.class)
25// config file within src/test/resources
26@ContextConfiguration(locations={"/au/org/emii/portal/test/test-config.xml"})
27public class AbstractTester {
28    protected Logger logger = Logger.getLogger(getClass());
29
30}