commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r922741 - in /commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net: ftp/ ftp/parser/ ntp/ pop3/ telnet/ time/
Date Sun, 14 Mar 2010 02:54:51 GMT
Author: sebb
Date: Sun Mar 14 02:54:50 2010
New Revision: 922741

URL: http://svn.apache.org/viewvc?rev=922741&view=rev
Log:
Remove unnecessary suite() and main() methods from test classes

Modified:
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParserTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/NTFTPEntryParserTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParserTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParserTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParserTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ntp/TimeStampTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ClientCommandsTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ClientTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ConstructorTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/EchoOptionHandlerTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/InvalidTelnetOptionExceptionTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/SimpleOptionHandlerTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/SuppressGAOptionHandlerTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientFunctionalTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetOptionTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TerminalTypeOptionHandlerTest.java
    commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/FTPClientConfigFunctionalTest.java
Sun Mar 14 02:54:50 2010
@@ -124,11 +124,6 @@ public class FTPClientConfigFunctionalTe
         return sorted;
     }
 
-    
-    public static void main(String[] args) {
-        FTPClientConfigFunctionalTest F = new FTPClientConfigFunctionalTest();
-    }
-    
     public void testTimeZoneFunctionality() throws Exception {
         java.util.Date now = new java.util.Date();
         FTPFile[] files = FTP.listFiles();

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/EnterpriseUnixFTPEntryParserTest.java
Sun Mar 14 02:54:50 2010
@@ -18,8 +18,6 @@ package org.apache.commons.net.ftp.parse
 
 import java.util.Calendar;
 
-import junit.framework.TestSuite;
-
 import org.apache.commons.net.ftp.FTPFile;
 import org.apache.commons.net.ftp.FTPFileEntryParser;
 
@@ -74,17 +72,6 @@ public class EnterpriseUnixFTPEntryParse
     }
 
     /**
-     * Method suite.
-     *
-     * @return TestSuite
-     */
-    public static TestSuite suite()
-    {
-
-        return (new TestSuite(EnterpriseUnixFTPEntryParserTest.class));
-    }
-
-    /**
      * @see org.apache.commons.net.ftp.parser.FTPParseTestFramework#testParseFieldsOnDirectory()
      */
     @Override

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/FTPTimestampParserImplTest.java
Sun Mar 14 02:54:50 2010
@@ -27,7 +27,6 @@ import java.util.TimeZone;
 import org.apache.commons.net.ftp.FTPClientConfig;
 
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 /**
  * Test the FTPTimestampParser class.
@@ -362,16 +361,4 @@ public class FTPTimestampParserImplTest 
         checkShortParse("2006-12-31",now,target, false);
     }
 
-    /**
-     * Method suite.
-     *
-     * @return TestSuite
-     */
-    public static TestSuite suite()
-    {
-        return(new TestSuite(FTPTimestampParserImplTest.class));
-    }
-
-
-
 }

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParserTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParserTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParserTest.java
Sun Mar 14 02:54:50 2010
@@ -19,8 +19,6 @@ package org.apache.commons.net.ftp.parse
 import java.util.ArrayList;
 import java.util.List;
 
-import junit.framework.TestSuite;
-
 import org.apache.commons.net.ftp.FTPFile;
 import org.apache.commons.net.ftp.FTPFileEntryParser;
 
@@ -119,15 +117,6 @@ public class MVSFTPEntryParserTest exten
         return new MVSFTPEntryParser();
     }
 
-    /**
-     * Method suite.
-     * 
-     * @return TestSuite
-     */
-    public static TestSuite suite() {
-        return (new TestSuite(MVSFTPEntryParserTest.class));
-    }
-
     /* 
      * note the testGoodListing has to be the first test invoked, because 
      * some FTPFile entries are saved for the later tests

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/NTFTPEntryParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/NTFTPEntryParserTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/NTFTPEntryParserTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/NTFTPEntryParserTest.java
Sun Mar 14 02:54:50 2010
@@ -18,7 +18,6 @@ package org.apache.commons.net.ftp.parse
 
 import java.util.Calendar;
 
-import junit.framework.TestSuite;
 import org.apache.commons.net.ftp.FTPFile;
 import org.apache.commons.net.ftp.FTPFileEntryParser;
 
@@ -117,16 +116,6 @@ public class NTFTPEntryParserTest extend
     }
 
     /**
-     * Method suite.
-     *
-     * @return TestSuite
-     */
-    public static TestSuite suite()
-    {
-        return(new TestSuite(NTFTPEntryParserTest.class));
-    }
-
-    /**
      * @see org.apache.commons.net.ftp.parser.FTPParseTestFramework#testParseFieldsOnDirectory()
      */
     @Override

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/NetwareFTPEntryParserTest.java
Sun Mar 14 02:54:50 2010
@@ -18,8 +18,6 @@ package org.apache.commons.net.ftp.parse
 
 import java.util.Calendar;
  
-import junit.framework.TestSuite;
- 
 import org.apache.commons.net.ftp.FTPFile;
 import org.apache.commons.net.ftp.FTPFileEntryParser;
 
@@ -121,14 +119,4 @@ public class NetwareFTPEntryParserTest e
         assertFalse(f.hasPermission(FTPFile.USER_ACCESS, FTPFile.WRITE_PERMISSION));
     }
     
-
-    /**
-     * Method suite.
-     * @return TestSuite
-     */
-    public static TestSuite suite() {
-        return (new TestSuite(NetwareFTPEntryParserTest.class));
-    }
-    
-    
 }

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParserTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParserTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/OS2FTPEntryParserTest.java
Sun Mar 14 02:54:50 2010
@@ -16,8 +16,6 @@
  */
 package org.apache.commons.net.ftp.parser;
 
-import junit.framework.TestSuite;
-
 import org.apache.commons.net.ftp.FTPFile;
 import org.apache.commons.net.ftp.FTPFileEntryParser;
 
@@ -64,16 +62,6 @@ public class OS2FTPEntryParserTest exten
     }
 
     /**
-     * Method suite.
-     * @return TestSuite
-     */
-    public static TestSuite suite()
-    {
-
-        return (new TestSuite(OS2FTPEntryParserTest.class));
-    }
-
-    /**
      * @see org.apache.commons.net.ftp.parser.FTPParseTestFramework#testParseFieldsOnDirectory()
      */
     @Override

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParserTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParserTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/OS400FTPEntryParserTest.java
Sun Mar 14 02:54:50 2010
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.net.ftp.parser;
 
-import junit.framework.TestSuite;
 import org.apache.commons.net.ftp.FTPFile;
 import org.apache.commons.net.ftp.FTPFileEntryParser;
 
@@ -173,14 +172,4 @@ public class OS400FTPEntryParserTest ext
         assertEquals(df.format(cal.getTime()),
                      df.format(f.getTimestamp().getTime()));
     }
-
-    /**
-     * Method suite.
-     *
-     * @return TestSuite
-     */
-    public static TestSuite suite()
-    {
-        return(new TestSuite(OS400FTPEntryParserTest.class));
-    }
 }

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/UnixFTPEntryParserTest.java
Sun Mar 14 02:54:50 2010
@@ -18,8 +18,6 @@ package org.apache.commons.net.ftp.parse
 
 import java.util.Calendar;
 
-import junit.framework.TestSuite;
-
 import org.apache.commons.net.ftp.FTPFile;
 import org.apache.commons.net.ftp.FTPFileEntryParser;
 
@@ -325,16 +323,6 @@ public class UnixFTPEntryParserTest exte
         assertEquals(df.format(cal.getTime()), df.format(f.getTimestamp().getTime()));
     }
     
-
-    /**
-     * Method suite.
-     * @return TestSuite
-     */
-    public static TestSuite suite() {
-        return (new TestSuite(UnixFTPEntryParserTest.class));
-    }
-    
-    
     /* 
      * @param test
      * @param f

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParserTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParserTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParserTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ftp/parser/VMSFTPEntryParserTest.java
Sun Mar 14 02:54:50 2010
@@ -19,8 +19,6 @@ package org.apache.commons.net.ftp.parse
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
 
-import junit.framework.TestSuite;
-
 import org.apache.commons.net.ftp.FTPFile;
 import org.apache.commons.net.ftp.FTPFileEntryParser;
 import org.apache.commons.net.ftp.FTPListParseEngine;
@@ -301,13 +299,4 @@ public class VMSFTPEntryParserTest exten
                 ((permMask & octalPerm) != 0) == dir.hasPermission(FTPFile.WORLD_ACCESS,
                                       FTPFile.EXECUTE_PERMISSION));
     }
-
-    /**
-     * Method suite.
-     * @return TestSuite
-     */
-    public static TestSuite suite()
-    {
-        return(new TestSuite(VMSFTPEntryParserTest.class));
-    }
 }

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ntp/TimeStampTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ntp/TimeStampTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ntp/TimeStampTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/ntp/TimeStampTest.java
Sun Mar 14 02:54:50 2010
@@ -32,14 +32,6 @@ public class TimeStampTest extends TestC
     private static final String TIME2 = "c1a9ae1c.cf6ac48f";  // Tue, Dec 17 2002 14:07:24.810
UTC
     private static final String TIME3 = "c1a9ae1d.cf6ac48e";  // Tue, Dec 17 2002 14:07:25.810
UTC
 
-    /***
-     * main for running the test.
-     ***/
-    public static void main(String args[])
-    {
-        junit.textui.TestRunner.run(TimeStampTest.class);
-    }
-
     public void testCompare() {
 
         TimeStamp ts1 = new TimeStamp(TIME1);   // Tue, Dec 17 2002 14:07:24.810 UTC

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ClientCommandsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ClientCommandsTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ClientCommandsTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ClientCommandsTest.java
Sun Mar 14 02:54:50 2010
@@ -17,7 +17,6 @@
 package org.apache.commons.net.pop3;
 
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 import java.net.InetAddress;
 import java.io.IOException;
@@ -58,15 +57,6 @@ public class POP3ClientCommandsTest exte
         super(name);
     }
 
-    /**
-     * Method suite.
-     * @return TestSuite
-     */
-    public static TestSuite suite()
-    {
-        return (new TestSuite(POP3ClientCommandsTest.class));
-    }
-
     private void reset() throws IOException
     {
         //Case where this is the first time reset is called

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ClientTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ClientTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ClientTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ClientTest.java
Sun Mar 14 02:54:50 2010
@@ -17,7 +17,6 @@
 package org.apache.commons.net.pop3;
 
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 
 import java.net.InetAddress;
 import java.io.IOException;
@@ -58,15 +57,6 @@ public class POP3ClientTest extends Test
         super(name);
     }
 
-    /**
-     * Method suite.
-     * @return TestSuite
-     */
-    public static TestSuite suite()
-    {
-        return (new TestSuite(POP3ClientTest.class));
-    }
-
     private void reset() throws IOException
     {
         //Case where this is the first time reset is called

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ConstructorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ConstructorTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ConstructorTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/pop3/POP3ConstructorTest.java
Sun Mar 14 02:54:50 2010
@@ -17,7 +17,6 @@
 package org.apache.commons.net.pop3;
 
 import junit.framework.TestCase;
-import junit.framework.TestSuite;
 import java.io.Reader;
 
 /**
@@ -54,16 +53,6 @@ public class POP3ConstructorTest extends
     }
 
     /**
-     * Method suite.
-     * @return TestSuite
-     */
-    public static TestSuite suite()
-    {
-        return (new TestSuite(POP3ConstructorTest.class));
-    }
-
-
-    /**
      * This test will ensure that the constants are not inadvertently changed.
      * If the constants are changed in org.apache.commons.net.pop3 for some
      * reason, this test will have to be updated.

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/EchoOptionHandlerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/EchoOptionHandlerTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/EchoOptionHandlerTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/EchoOptionHandlerTest.java
Sun Mar 14 02:54:50 2010
@@ -23,13 +23,6 @@ package org.apache.commons.net.telnet;
  ***/
 public class EchoOptionHandlerTest extends TelnetOptionHandlerTestAbstract
 {
-    /***
-     * main for running the test.
-     ***/
-    public static void main(String args[])
-    {
-        junit.textui.TestRunner.run(EchoOptionHandlerTest.class);
-    }
 
     /***
      * setUp for the test.

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/InvalidTelnetOptionExceptionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/InvalidTelnetOptionExceptionTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/InvalidTelnetOptionExceptionTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/InvalidTelnetOptionExceptionTest.java
Sun Mar 14 02:54:50 2010
@@ -30,14 +30,6 @@ public class InvalidTelnetOptionExceptio
     private int code1;
 
     /***
-     * main for running the test.
-     ***/
-    public static void main(String args[])
-    {
-        junit.textui.TestRunner.run(InvalidTelnetOptionExceptionTest.class);
-    }
-
-    /***
      * setUp for the test.
      ***/
     @Override

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/SimpleOptionHandlerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/SimpleOptionHandlerTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/SimpleOptionHandlerTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/SimpleOptionHandlerTest.java
Sun Mar 14 02:54:50 2010
@@ -24,14 +24,6 @@ package org.apache.commons.net.telnet;
 public class SimpleOptionHandlerTest extends TelnetOptionHandlerTestAbstract
 {
     /***
-     * main for running the test.
-     ***/
-    public static void main(String args[])
-    {
-        junit.textui.TestRunner.run(SimpleOptionHandlerTest.class);
-    }
-
-    /***
      * setUp for the test.
      ***/
     @Override

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/SuppressGAOptionHandlerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/SuppressGAOptionHandlerTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/SuppressGAOptionHandlerTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/SuppressGAOptionHandlerTest.java
Sun Mar 14 02:54:50 2010
@@ -23,13 +23,6 @@ package org.apache.commons.net.telnet;
  ***/
 public class SuppressGAOptionHandlerTest extends TelnetOptionHandlerTestAbstract
 {
-    /***
-     * main for running the test.
-     ***/
-    public static void main(String args[])
-    {
-        junit.textui.TestRunner.run(SuppressGAOptionHandlerTest.class);
-    }
 
     /***
      * setUp for the test.

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientFunctionalTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientFunctionalTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientFunctionalTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientFunctionalTest.java
Sun Mar 14 02:54:50 2010
@@ -32,14 +32,6 @@ public class TelnetClientFunctionalTest 
     protected TelnetClient tc1;
 
     /***
-     * main for running the test.
-     ***/
-    public static void main(String args[])
-    {
-        junit.textui.TestRunner.run(TelnetClientFunctionalTest.class);
-    }
-
-    /***
      * test setUp
      ***/
     @Override

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetClientTest.java
Sun Mar 14 02:54:50 2010
@@ -71,14 +71,6 @@ extends TestCase implements TelnetNotifi
     protected int numwont = 0;
 
     /***
-     * main for running the test.
-     ***/
-    public static void main(String args[])
-    {
-        junit.textui.TestRunner.run(TelnetClientTest.class);
-    }
-
-    /***
      * open connections needed for the tests for the test.
      ***/
     @Override

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetOptionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetOptionTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetOptionTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TelnetOptionTest.java
Sun Mar 14 02:54:50 2010
@@ -26,14 +26,6 @@ import junit.framework.TestCase;
 public class TelnetOptionTest extends TestCase
 {
     /***
-     * main for running the test.
-     ***/
-    public static void main(String args[])
-    {
-        junit.textui.TestRunner.run(TelnetOptionTest.class);
-    }
-
-    /***
      * test of the isValidOption method.
      ***/
     public void testisValidOption()

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TerminalTypeOptionHandlerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TerminalTypeOptionHandlerTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TerminalTypeOptionHandlerTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/telnet/TerminalTypeOptionHandlerTest.java
Sun Mar 14 02:54:50 2010
@@ -24,14 +24,6 @@ package org.apache.commons.net.telnet;
 public class TerminalTypeOptionHandlerTest extends TelnetOptionHandlerTestAbstract
 {
     /***
-     * main for running the test.
-     ***/
-    public static void main(String args[])
-    {
-        junit.textui.TestRunner.run(TerminalTypeOptionHandlerTest.class);
-    }
-
-    /***
      * setUp for the test.
      ***/
     @Override

Modified: commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
URL: http://svn.apache.org/viewvc/commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java?rev=922741&r1=922740&r2=922741&view=diff
==============================================================================
--- commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
(original)
+++ commons/proper/net/branches/NET_2_0/src/test/java/org/apache/commons/net/time/TimeTCPClientTest.java
Sun Mar 14 02:54:50 2010
@@ -30,14 +30,6 @@ public class TimeTCPClientTest extends T
     private int _port = 3333; // default test port
 
     /***
-     * main for running the test.
-     ***/
-    public static void main(String[] args)
-    {
-        junit.textui.TestRunner.run(TimeTCPClientTest.class);
-    }
-
-    /***
      * open connections needed for the tests for the test.
      ***/
     protected void openConnections() throws Exception



Mime
View raw message