9026
|
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 */ |
9028
|
20 public class ProofMain { |
9026
|
21 |
|
22 private static final String serverUrl = "http://localhost:8181"; |
|
23 private static final String locale = "de"; |
9028
|
24 private static final HttpClient client = new HttpClientImpl(serverUrl, locale); |
9026
|
25 |
|
26 public static void main(final String[] args) throws ServerException, IOException { |
9027
|
27 // logger.info("Starting console client."); |
9028
|
28 final SinfoProof proof = new SinfoProof("belger", "belger", "sinfo"); |
|
29 proof.runTest(); |
9027
|
30 } |
|
31 |
9026
|
32 } |