changeset 535:1d4d6112ffee

Added baseclass for validator tests.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 24 Feb 2015 10:55:19 +0100
parents 23130e40e5b7
children bf387959b75e
files src/test/java/de/intevation/lada/LadaValidatorTest.java
diffstat 1 files changed, 34 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/test/java/de/intevation/lada/LadaValidatorTest.java	Tue Feb 24 10:55:19 2015 +0100
@@ -0,0 +1,34 @@
+package de.intevation.lada;
+
+import java.util.ArrayList;
+
+import javax.inject.Inject;
+
+import org.apache.log4j.Logger;
+import org.jboss.arquillian.junit.Arquillian;
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import de.intevation.lada.test.validator.Probe;
+import de.intevation.lada.validation.Validator;
+import de.intevation.lada.validation.annotation.ValidationConfig;
+
+@RunWith(Arquillian.class)
+public class LadaValidatorTest extends BaseTest {
+
+    private static Logger logger = Logger.getLogger(LadaStammTest.class);
+
+    @Inject
+    @ValidationConfig(type="Probe")
+    private Validator probeValidator;
+
+    public LadaValidatorTest() {
+        testProtocol = new ArrayList<Protocol>();
+    }
+
+    @BeforeClass
+    public static void beforeTests() {
+        logger.info("---------- Testing Lada Validator ----------");
+    }
+}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)