annotate flys-artifacts/src/test/java/de/intevation/flys/artifacts/AppTest.java @ 330:4791fd92a208

Added a factory that returns MainValues. flys-artifacts/trunk@1728 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 19 Apr 2011 12:31:07 +0000
parents e24f8ad32577
children
rev   line source
104
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1 package de.intevation.flys.artifacts;
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3 import junit.framework.Test;
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4 import junit.framework.TestCase;
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
5 import junit.framework.TestSuite;
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
6
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
7 /**
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
8 * Unit test for simple App.
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
9 */
297
e24f8ad32577 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 104
diff changeset
10 public class AppTest
104
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
11 extends TestCase
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
12 {
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
13 /**
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
14 * Create the test case
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
15 *
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
16 * @param testName name of the test case
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
17 */
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
18 public AppTest( String testName )
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
19 {
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
20 super( testName );
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
21 }
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
22
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
23 /**
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
24 * @return the suite of tests being tested
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
25 */
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
26 public static Test suite()
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
27 {
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
28 return new TestSuite( AppTest.class );
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
29 }
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
30
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
31 /**
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
32 * Rigourous Test :-)
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
33 */
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
34 public void testApp()
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
35 {
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
36 assertTrue( true );
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
37 }
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
38 }

http://dive4elements.wald.intevation.org