visidor/src/test/java/cz/xelfi/quoridor/visidor/ViewerTest.java
changeset 29 e5e40fd406c1
parent 25 f27d4c4cd464
child 45 ba37a52fef86
     1.1 --- a/visidor/src/test/java/cz/xelfi/quoridor/visidor/ViewerTest.java	Mon May 25 09:07:15 2009 +0200
     1.2 +++ b/visidor/src/test/java/cz/xelfi/quoridor/visidor/ViewerTest.java	Sat Jun 06 11:55:18 2009 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -package org.apidesign.quoridor.visidor;
     1.5 +package cz.xelfi.quoridor.visidor;
     1.6  
     1.7  import junit.framework.Test;
     1.8  import junit.framework.TestCase;
     1.9 @@ -7,32 +7,13 @@
    1.10  /**
    1.11   * Unit test for simple App.
    1.12   */
    1.13 -public class AppTest 
    1.14 -    extends TestCase
    1.15 -{
    1.16 -    /**
    1.17 -     * Create the test case
    1.18 -     *
    1.19 -     * @param testName name of the test case
    1.20 -     */
    1.21 -    public AppTest( String testName )
    1.22 -    {
    1.23 -        super( testName );
    1.24 +public class ViewerTest extends TestCase {
    1.25 +
    1.26 +    public ViewerTest(String testName) {
    1.27 +        super(testName);
    1.28      }
    1.29  
    1.30 -    /**
    1.31 -     * @return the suite of tests being tested
    1.32 -     */
    1.33 -    public static Test suite()
    1.34 -    {
    1.35 -        return new TestSuite( AppTest.class );
    1.36 -    }
    1.37 -
    1.38 -    /**
    1.39 -     * Rigourous Test :-)
    1.40 -     */
    1.41 -    public void testApp()
    1.42 -    {
    1.43 -        assertTrue( true );
    1.44 +    public static Test suite() {
    1.45 +        return new TestSuite(ViewerTest.class);
    1.46      }
    1.47  }