annotate flys-artifacts/src/test/java/de/intevation/flys/artifacts/AppTest.java @ 116:47a4bc7a9ddf

Replaced the 'special' attribute of the DESCRIBE with a 'uiprovider' attribute. flys-artifacts/trunk@1347 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 01 Mar 2011 17:18:08 +0000
parents b3792346cb10
children e24f8ad32577
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 */
b3792346cb10 Added initial mvn project for FLYS artifacts.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
10 public class AppTest
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