You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2004/07/04 19:17:59 UTC

cvs commit: jakarta-turbine-2/src/test-cactus/org/apache/turbine/modules/screens ErrorTest.java

epugh       2004/07/04 10:17:59

  Modified:    src/test-cactus/org/apache/turbine/util/parser
                        CSVParserTest.java BaseValueParserTest.java
               src/test-cactus/org/apache/turbine/modules/screens
                        ErrorTest.java
  Log:
  Little bit of cleanup on cactus tests
  
  Revision  Changes    Path
  1.4       +1 -11     jakarta-turbine-2/src/test-cactus/org/apache/turbine/util/parser/CSVParserTest.java
  
  Index: CSVParserTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/test-cactus/org/apache/turbine/util/parser/CSVParserTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CSVParserTest.java	18 Feb 2004 11:30:55 -0000	1.3
  +++ CSVParserTest.java	4 Jul 2004 17:17:59 -0000	1.4
  @@ -117,16 +117,6 @@
       }
   
       /**
  -     * Return a test suite of all our tests.
  -     *
  -     * @return a <code>Test</code> value
  -     */
  -    public static Test suite()
  -    {
  -        return new TestSuite(CSVParserTest.class);
  -    }
  -
  -    /**
        * Tests if you can leave field values empty
        */
       public void testEmptyFieldValues()
  
  
  
  1.4       +2 -14     jakarta-turbine-2/src/test-cactus/org/apache/turbine/util/parser/BaseValueParserTest.java
  
  Index: BaseValueParserTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/test-cactus/org/apache/turbine/util/parser/BaseValueParserTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BaseValueParserTest.java	12 Aug 2003 23:08:04 -0000	1.3
  +++ BaseValueParserTest.java	4 Jul 2004 17:17:59 -0000	1.4
  @@ -57,8 +57,6 @@
   import java.text.SimpleDateFormat;
   import java.util.Calendar;
   import java.util.Date;
  -import junit.framework.Test;
  -import junit.framework.TestSuite;
   import org.apache.cactus.ServletTestCase;
   import org.apache.turbine.Turbine;
   import org.apache.turbine.util.TimeSelector;
  @@ -116,17 +114,7 @@
       {
           turbine.destroy();
           super.tearDown();
  -    }
  -                                             
  -    /**
  -     * Return a test suite of all our tests.
  -     *
  -     * @return a <code>Test</code> value
  -     */
  -    public static Test suite() 
  -    {
  -        return new TestSuite(BaseValueParserTest.class);
  -    }
  +    }                                            
   
       /**
        * Test that a current time 
  
  
  
  1.3       +0 -28     jakarta-turbine-2/src/test-cactus/org/apache/turbine/modules/screens/ErrorTest.java
  
  Index: ErrorTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/test-cactus/org/apache/turbine/modules/screens/ErrorTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ErrorTest.java	12 Aug 2003 23:08:04 -0000	1.2
  +++ ErrorTest.java	4 Jul 2004 17:17:59 -0000	1.3
  @@ -36,34 +36,6 @@
   	}
   
   	/**
  -	 *  Start the tests.
  -	 *
  -	 *@param  args  the arguments. Not used
  -	 */
  -	public static void main(String args[])
  -	{
  -		junit.awtui.TestRunner.main(new String[] { ErrorTest.class.getName()});
  -	}
  -
  -	/**
  -	 *  Creates the test suite.
  -	 *
  -	 *@return    a test suite (<code>TestSuite</code>) that includes all methods
  -	 *      starting with "test"
  -	 */
  -	public static Test suite()
  -	{
  -		// All methods starting with "test" will be executed in the test suite.
  -		return new TestSuite(ErrorTest.class);
  -	}
  -
  -	protected void setUp() throws Exception
  -	{
  -		super.setUp();
  -
  -	}
  -
  -	/**
   	* After each testXXX test runs, shut down the Turbine servlet.
   	*/
   	protected void tearDown() throws Exception
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org