/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
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package au.org.emii.portal.test;
- /**
- *
- * @author geoff
- */
- import org.apache.log4j.Logger;
- import org.junit.runner.RunWith;
- import org.springframework.test.context.ContextConfiguration;
- import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
- import static org.junit.Assert.*;
- /**
- * Just provide a base spring config file, the runner and some imports. Although
- * the imports aren't all used in this class, they seem to help netbeans detect
- * the correct annotation to import in subclasses
- * @author geoff
- */
- @RunWith(SpringJUnit4ClassRunner.class)
- // config file within src/test/resources
- @ContextConfiguration(locations={"/au/org/emii/portal/test/test-config.xml"})
- public class AbstractTester {
- protected Logger logger = Logger.getLogger(getClass());
- }