Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
9027:274ddafb719b | 9028:7f3818ec6eb6 |
---|---|
1 /* | |
2 * Copyright (c) 2010 by Intevation GmbH | |
3 * | |
4 * This program is free software under the LGPL (>=v2.1) | |
5 * Read the file LGPL.txt coming with the software for details | |
6 * or visit http://www.gnu.org/licenses/ if it does not exist. | |
7 */ | |
8 | |
9 package org.dive4elements.river.client.test; | |
10 | |
11 import java.io.IOException; | |
12 | |
13 import org.dive4elements.artifacts.httpclient.http.HttpClient; | |
14 import org.dive4elements.artifacts.httpclient.http.HttpClientImpl; | |
15 import org.dive4elements.river.client.shared.exceptions.ServerException; | |
16 | |
17 /** | |
18 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
19 */ | |
20 public class ProofMain { | |
21 | |
22 private static final String serverUrl = "http://localhost:8181"; | |
23 private static final String locale = "de"; | |
24 private static final HttpClient client = new HttpClientImpl(serverUrl, locale); | |
25 | |
26 public static void main(final String[] args) throws ServerException, IOException { | |
27 // logger.info("Starting console client."); | |
28 final SinfoProof proof = new SinfoProof("belger", "belger", "sinfo"); | |
29 proof.runTest(); | |
30 } | |
31 | |
32 } |