Changeset 2639 for vlo/branches/vlo-2.13-param/vlo_webapp/src/test/java/eu/clarin/cmdi/vlo/importer/CountryNamePostProcessorTest.java
- Timestamp:
- 02/28/13 09:12:48 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-2.13-param/vlo_webapp/src/test/java/eu/clarin/cmdi/vlo/importer/CountryNamePostProcessorTest.java
r1043 r2639 1 1 package eu.clarin.cmdi.vlo.importer; 2 2 3 import eu.clarin.cmdi.vlo.config.VloConfig; 3 4 import static org.junit.Assert.assertEquals; 4 5 import org.junit.Before; 5 6 import org.junit.Test; 6 7 8 public class CountryNamePostProcessorTest { 7 9 8 public class CountryNamePostProcessorTest { 10 static VloConfig config; 11 // include the full path in the name of the packaged configuration file 12 13 @Before 14 public void setUp() { 15 // application configuration 16 17 String fileName = VloConfig.class.getResource("/VloConfig.xml").getFile(); 18 19 // optionally, check for file existence here 20 21 // read the configuration defined in the file 22 23 config = VloConfig.readConfig(fileName); 24 25 // optionally, modify the configuration here 26 27 // apparantly, this does not make the configuration available 28 } 9 29 10 30 @Test
Note: See TracChangeset
for help on using the changeset viewer.