diff gwt-client/src/main/java/org/dive4elements/river/client/test/ProofMain.java @ 9028:7f3818ec6eb6

work on proof 2
author gernotbelger
date Thu, 26 Apr 2018 13:12:33 +0200
parents gwt-client/src/main/java/org/dive4elements/river/client/test/SinfoProof.java@274ddafb719b
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/test/ProofMain.java	Thu Apr 26 13:12:33 2018 +0200
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 2010 by Intevation GmbH
+ *
+ * This program is free software under the LGPL (>=v2.1)
+ * Read the file LGPL.txt coming with the software for details
+ * or visit http://www.gnu.org/licenses/ if it does not exist.
+ */
+
+package org.dive4elements.river.client.test;
+
+import java.io.IOException;
+
+import org.dive4elements.artifacts.httpclient.http.HttpClient;
+import org.dive4elements.artifacts.httpclient.http.HttpClientImpl;
+import org.dive4elements.river.client.shared.exceptions.ServerException;
+
+/**
+ * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
+ */
+public class ProofMain {
+
+    private static final String serverUrl = "http://localhost:8181";
+    private static final String locale = "de";
+    private static final HttpClient client = new HttpClientImpl(serverUrl, locale);
+
+    public static void main(final String[] args) throws ServerException, IOException {
+        // logger.info("Starting console client.");
+        final SinfoProof proof = new SinfoProof("belger", "belger", "sinfo");
+        proof.runTest();
+    }
+
+}

http://dive4elements.wald.intevation.org