tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@hyperreal.org
Subject cvs commit: jakarta-tomcat/src/tests/share/tests/y2k HttpDateTest.java
Date Thu, 14 Oct 1999 23:49:06 GMT
akv         99/10/14 16:49:06

  Modified:    src/tests/share/tests/dispatch ForwardWithQuery.java
                        IncludeFile.java IncludeMismatch1.java
                        IncludeMismatch2.java Mismatch1.java Mismatch2.java
                        PrintWriterTest.java SimpleForward.java
                        SimpleInclude.java SimpleRedirect.java
               src/tests/share/tests/etc Test1.java Test2.java Test3.java
                        Test4.java
               src/tests/share/tests/file ContentTypeTest.java
                        FileIntegrityTest.java FileLengthTest.java
                        WelcomeFileTest.java
               src/tests/share/tests/perf CounterClient.java
               src/tests/share/tests/request Get.java Post.java
                        RequestMap.java
               src/tests/share/tests/y2k HttpDateTest.java
  Log:
  Migrate all these tests to use the new moo from jakarta-tools. This is work
  in progress. Wait to see the shell scripts modified before you try this out.
  
  Revision  Changes    Path
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/dispatch/ForwardWithQuery.java
  
  Index: ForwardWithQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/dispatch/ForwardWithQuery.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ForwardWithQuery.java	1999/10/09 00:20:56	1.1
  +++ ForwardWithQuery.java	1999/10/14 23:48:48	1.2
  @@ -1,4 +1,4 @@
  -/* $Id: ForwardWithQuery.java,v 1.1 1999/10/09 00:20:56 duncan Exp $
  +/* $Id: ForwardWithQuery.java,v 1.2 1999/10/14 23:48:48 akv Exp $
    */
   
   /**
  @@ -13,11 +13,11 @@
   import java.net.*;
   import java.util.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class ForwardWithQuery implements Testable {
  +public class ForwardWithQuery extends TestableBase {
   
   
     public String getDescription() {
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/dispatch/IncludeFile.java
  
  Index: IncludeFile.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/dispatch/IncludeFile.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IncludeFile.java	1999/10/09 00:20:56	1.1
  +++ IncludeFile.java	1999/10/14 23:48:48	1.2
  @@ -1,15 +1,15 @@
  -/* $Id: IncludeFile.java,v 1.1 1999/10/09 00:20:56 duncan Exp $
  +/* $Id: IncludeFile.java,v 1.2 1999/10/14 23:48:48 akv Exp $
    */
   package tests.dispatch;
   
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class IncludeFile implements Testable {
  +public class IncludeFile extends TestableBase {
   
       public String getDescription() {
           return "File Inclusion Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/dispatch/IncludeMismatch1.java
  
  Index: IncludeMismatch1.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/dispatch/IncludeMismatch1.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IncludeMismatch1.java	1999/10/09 00:20:57	1.1
  +++ IncludeMismatch1.java	1999/10/14 23:48:49	1.2
  @@ -1,15 +1,15 @@
  -/* $Id: IncludeMismatch1.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: IncludeMismatch1.java,v 1.2 1999/10/14 23:48:49 akv Exp $
    */
   package tests.dispatch;
   
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class IncludeMismatch1 implements Testable {
  +public class IncludeMismatch1 extends TestableBase {
   
       public String getDescription() {
           return "IncludeMismatch1 Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/dispatch/IncludeMismatch2.java
  
  Index: IncludeMismatch2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/dispatch/IncludeMismatch2.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IncludeMismatch2.java	1999/10/09 00:20:57	1.1
  +++ IncludeMismatch2.java	1999/10/14 23:48:49	1.2
  @@ -1,15 +1,15 @@
  -/* $Id: IncludeMismatch2.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: IncludeMismatch2.java,v 1.2 1999/10/14 23:48:49 akv Exp $
    */
   package tests.dispatch;
   
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class IncludeMismatch2 implements Testable {
  +public class IncludeMismatch2 extends TestableBase {
   
       public String getDescription() {
           return "IncludeMismatch2 Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/dispatch/Mismatch1.java
  
  Index: Mismatch1.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/dispatch/Mismatch1.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Mismatch1.java	1999/10/09 00:20:57	1.1
  +++ Mismatch1.java	1999/10/14 23:48:49	1.2
  @@ -1,15 +1,15 @@
  -/* $Id: Mismatch1.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: Mismatch1.java,v 1.2 1999/10/14 23:48:49 akv Exp $
    */
   package tests.dispatch;
   
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class Mismatch1 implements Testable {
  +public class Mismatch1 extends TestableBase {
   
       public String getDescription() {
           return "Mismatch1 Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/dispatch/Mismatch2.java
  
  Index: Mismatch2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/dispatch/Mismatch2.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Mismatch2.java	1999/10/09 00:20:57	1.1
  +++ Mismatch2.java	1999/10/14 23:48:49	1.2
  @@ -1,15 +1,15 @@
  -/* $Id: Mismatch2.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: Mismatch2.java,v 1.2 1999/10/14 23:48:49 akv Exp $
    */
   package tests.dispatch;
   
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class Mismatch2 implements Testable {
  +public class Mismatch2 extends TestableBase {
   
       public String getDescription() {
           return "Mismatch2 Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/dispatch/PrintWriterTest.java
  
  Index: PrintWriterTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/dispatch/PrintWriterTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PrintWriterTest.java	1999/10/09 00:20:57	1.1
  +++ PrintWriterTest.java	1999/10/14 23:48:49	1.2
  @@ -1,4 +1,4 @@
  -/* $Id: PrintWriterTest.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: PrintWriterTest.java,v 1.2 1999/10/14 23:48:49 akv Exp $
    */
   
   package tests.dispatch;
  @@ -6,11 +6,11 @@
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class PrintWriterTest implements Testable {
  +public class PrintWriterTest extends TestableBase {
   
       public String getDescription() {
           return "PrintWriterTest Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/dispatch/SimpleForward.java
  
  Index: SimpleForward.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/dispatch/SimpleForward.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleForward.java	1999/10/09 00:20:57	1.1
  +++ SimpleForward.java	1999/10/14 23:48:50	1.2
  @@ -1,15 +1,15 @@
  -/* $Id: SimpleForward.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: SimpleForward.java,v 1.2 1999/10/14 23:48:50 akv Exp $
    */
   package tests.dispatch;
   
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class SimpleForward implements Testable {
  +public class SimpleForward extends TestableBase {
   
       public String getDescription() {
           return "Simple Forwarding Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/dispatch/SimpleInclude.java
  
  Index: SimpleInclude.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/dispatch/SimpleInclude.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleInclude.java	1999/10/09 00:20:57	1.1
  +++ SimpleInclude.java	1999/10/14 23:48:50	1.2
  @@ -1,15 +1,15 @@
  -/* $Id: SimpleInclude.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: SimpleInclude.java,v 1.2 1999/10/14 23:48:50 akv Exp $
    */
   package tests.dispatch;
   
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class SimpleInclude implements Testable {
  +public class SimpleInclude extends TestableBase {
   
       public String getDescription() {
           return "Simple Inclusion Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/dispatch/SimpleRedirect.java
  
  Index: SimpleRedirect.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/dispatch/SimpleRedirect.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleRedirect.java	1999/10/09 00:20:57	1.1
  +++ SimpleRedirect.java	1999/10/14 23:48:50	1.2
  @@ -1,4 +1,4 @@
  -/* $Id: SimpleRedirect.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: SimpleRedirect.java,v 1.2 1999/10/14 23:48:50 akv Exp $
    */
   
   package tests.dispatch;
  @@ -6,11 +6,11 @@
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class SimpleRedirect implements Testable {
  +public class SimpleRedirect extends TestableBase {
   
       public String getDescription() {
           return "Simple Redirect Test";
  
  
  
  1.2       +4 -4      jakarta-tomcat/src/tests/share/tests/etc/Test1.java
  
  Index: Test1.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/etc/Test1.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Test1.java	1999/10/09 00:20:57	1.1
  +++ Test1.java	1999/10/14 23:48:53	1.2
  @@ -1,6 +1,6 @@
   
   /*
  - * $Id: Test1.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  + * $Id: Test1.java,v 1.2 1999/10/14 23:48:53 akv Exp $
    */
   
   /**
  @@ -9,10 +9,10 @@
   
   package tests.etc;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
   
  -public class Test1 implements Testable {
  +public class Test1 extends TestableBase {
   
       public String getDescription() {
           return "Test1";
  
  
  
  1.2       +3 -3      jakarta-tomcat/src/tests/share/tests/etc/Test2.java
  
  Index: Test2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/etc/Test2.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Test2.java	1999/10/09 00:20:57	1.1
  +++ Test2.java	1999/10/14 23:48:53	1.2
  @@ -1,6 +1,6 @@
   
   /*
  - * $Id: Test2.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  + * $Id: Test2.java,v 1.2 1999/10/14 23:48:53 akv Exp $
    */
   
   /**
  @@ -9,8 +9,8 @@
   
   package tests.etc;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  +import org.apache.tools.moo.Testable;
  +import org.apache.tools.moo.TestResult;
   
   public class Test2 {
   
  
  
  
  1.2       +4 -4      jakarta-tomcat/src/tests/share/tests/etc/Test3.java
  
  Index: Test3.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/etc/Test3.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Test3.java	1999/10/09 00:20:57	1.1
  +++ Test3.java	1999/10/14 23:48:53	1.2
  @@ -1,6 +1,6 @@
   
   /*
  - * $Id: Test3.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  + * $Id: Test3.java,v 1.2 1999/10/14 23:48:53 akv Exp $
    */
   
   /**
  @@ -9,10 +9,10 @@
   
   package tests.etc;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
   
  -public class Test3 implements Testable {
  +public class Test3 extends TestableBase {
   
       public String getDescription() {
           return "Test3";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/etc/Test4.java
  
  Index: Test4.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/etc/Test4.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Test4.java	1999/10/09 00:20:57	1.1
  +++ Test4.java	1999/10/14 23:48:53	1.2
  @@ -1,6 +1,6 @@
   
   /*
  - * $Id: Test4.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  + * $Id: Test4.java,v 1.2 1999/10/14 23:48:53 akv Exp $
    */
   
   /**
  @@ -9,13 +9,13 @@
   
   package tests.etc;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   import java.net.URL;
   import java.net.MalformedURLException;
   
  -public class Test4 implements Testable {
  +public class Test4 extends TestableBase {
   
       public static void main(String[] args) {
           Test4 test4 = new Test4();
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/file/ContentTypeTest.java
  
  Index: ContentTypeTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/file/ContentTypeTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ContentTypeTest.java	1999/10/09 00:20:57	1.1
  +++ ContentTypeTest.java	1999/10/14 23:48:54	1.2
  @@ -1,4 +1,4 @@
  -/* $Id: ContentTypeTest.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: ContentTypeTest.java,v 1.2 1999/10/14 23:48:54 akv Exp $
    */
   
   /**
  @@ -10,11 +10,11 @@
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class ContentTypeTest implements Testable {
  +public class ContentTypeTest extends TestableBase {
   
       public String getDescription() {
           return "Content Type Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/file/FileIntegrityTest.java
  
  Index: FileIntegrityTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/file/FileIntegrityTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FileIntegrityTest.java	1999/10/09 00:20:57	1.1
  +++ FileIntegrityTest.java	1999/10/14 23:48:54	1.2
  @@ -1,4 +1,4 @@
  -/* $Id: FileIntegrityTest.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: FileIntegrityTest.java,v 1.2 1999/10/14 23:48:54 akv Exp $
    */
   
   /**
  @@ -10,11 +10,11 @@
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class FileIntegrityTest implements Testable {
  +public class FileIntegrityTest extends TestableBase {
   
       public String getDescription() {
           return "File Integrity Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/file/FileLengthTest.java
  
  Index: FileLengthTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/file/FileLengthTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FileLengthTest.java	1999/10/09 00:20:57	1.1
  +++ FileLengthTest.java	1999/10/14 23:48:55	1.2
  @@ -1,4 +1,4 @@
  -/* $Id: FileLengthTest.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: FileLengthTest.java,v 1.2 1999/10/14 23:48:55 akv Exp $
    */
   
   /**
  @@ -10,11 +10,11 @@
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class FileLengthTest implements Testable {
  +public class FileLengthTest extends TestableBase {
   
       public String getDescription() {
           return "File Length Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/file/WelcomeFileTest.java
  
  Index: WelcomeFileTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/file/WelcomeFileTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WelcomeFileTest.java	1999/10/09 00:20:57	1.1
  +++ WelcomeFileTest.java	1999/10/14 23:48:55	1.2
  @@ -1,4 +1,4 @@
  -/* $Id: WelcomeFileTest.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  +/* $Id: WelcomeFileTest.java,v 1.2 1999/10/14 23:48:55 akv Exp $
    */
   
   /**
  @@ -10,11 +10,11 @@
   import java.io.*;
   import java.net.*;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
  -public class WelcomeFileTest implements Testable {
  +public class WelcomeFileTest extends TestableBase {
   
       public String getDescription() {
           return "Welcome Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/perf/CounterClient.java
  
  Index: CounterClient.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/perf/CounterClient.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CounterClient.java	1999/10/09 00:20:57	1.1
  +++ CounterClient.java	1999/10/14 23:49:00	1.2
  @@ -1,13 +1,13 @@
   
   /*
  - * $Id: CounterClient.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  + * $Id: CounterClient.java,v 1.2 1999/10/14 23:49:00 akv Exp $
    */
   
   package tests.perf;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.URLHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.URLHelper;
   
   import java.net.URL;
   import java.net.URLEncoder;
  @@ -20,7 +20,7 @@
   import java.lang.SecurityException;
   import java.lang.NumberFormatException;
   
  -public class CounterClient implements Testable {
  +public class CounterClient extends TestableBase {
   
       private String method = null;
       private URL resetURL = null;
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/request/Get.java
  
  Index: Get.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/request/Get.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Get.java	1999/10/09 00:20:57	1.1
  +++ Get.java	1999/10/14 23:49:01	1.2
  @@ -1,6 +1,6 @@
   
   /*
  - * $Id: Get.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  + * $Id: Get.java,v 1.2 1999/10/14 23:49:01 akv Exp $
    */
   
   /**
  @@ -12,9 +12,9 @@
   
   package tests.request;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.SocketHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.SocketHelper;
   import java.net.URL;
   import java.net.Socket;
   import java.io.OutputStreamWriter;
  @@ -34,7 +34,7 @@
   import java.net.UnknownHostException;
   import java.io.UnsupportedEncodingException;
   
  -public class Get implements Testable {
  +public class Get extends TestableBase {
   
       public String getDescription() {
           return "Method GET Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/request/Post.java
  
  Index: Post.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/request/Post.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Post.java	1999/10/09 00:20:57	1.1
  +++ Post.java	1999/10/14 23:49:01	1.2
  @@ -1,6 +1,6 @@
   
   /*
  - * $Id: Post.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  + * $Id: Post.java,v 1.2 1999/10/14 23:49:01 akv Exp $
    */
   
   /**
  @@ -11,15 +11,15 @@
   
   package tests.request;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.SocketHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.SocketHelper;
   import java.net.*;
   import java.io.*;
   import java.util.*;
   import java.net.*;
   
  -public class Post implements Testable {
  +public class Post extends TestableBase {
   
       public String getDescription() {
           return "Method POST Test";
  
  
  
  1.2       +5 -5      jakarta-tomcat/src/tests/share/tests/request/RequestMap.java
  
  Index: RequestMap.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/request/RequestMap.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RequestMap.java	1999/10/09 00:20:57	1.1
  +++ RequestMap.java	1999/10/14 23:49:02	1.2
  @@ -1,6 +1,6 @@
   
   /*
  - * $Id: RequestMap.java,v 1.1 1999/10/09 00:20:57 duncan Exp $
  + * $Id: RequestMap.java,v 1.2 1999/10/14 23:49:02 akv Exp $
    */
   
   /**
  @@ -11,9 +11,9 @@
   
   package tests.request;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  -import com.sun.moo.SocketHelper;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
  +import org.apache.tools.moo.SocketHelper;
   import java.net.URL;
   import java.net.Socket;
   import java.io.OutputStreamWriter;
  @@ -33,7 +33,7 @@
   import java.net.UnknownHostException;
   import java.io.UnsupportedEncodingException;
   
  -public class RequestMap implements Testable {
  +public class RequestMap extends TestableBase {
       private Socket s = null;
       private PrintWriter pw = null;
       private BufferedWriter bw = null;
  
  
  
  1.2       +4 -4      jakarta-tomcat/src/tests/share/tests/y2k/HttpDateTest.java
  
  Index: HttpDateTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/tests/share/tests/y2k/HttpDateTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HttpDateTest.java	1999/10/09 00:20:58	1.1
  +++ HttpDateTest.java	1999/10/14 23:49:04	1.2
  @@ -1,11 +1,11 @@
   /*
  - * $Id: HttpDateTest.java,v 1.1 1999/10/09 00:20:58 duncan Exp $
  + * $Id: HttpDateTest.java,v 1.2 1999/10/14 23:49:04 akv Exp $
    */
   
   package tests.y2k;
   
  -import com.sun.moo.Testable;
  -import com.sun.moo.TestResult;
  +import org.apache.tools.moo.TestableBase;
  +import org.apache.tools.moo.TestResult;
   import org.apache.tomcat.util.*;
   import java.text.*;
   import java.util.*;
  @@ -14,7 +14,7 @@
    * Sample test module.
    */
   
  -public class HttpDateTest implements Testable {
  +public class HttpDateTest extends TestableBase {
   
       String[] rfc1123Strings = new String[11];
       Calendar[] calendars = new Calendar[11];
  
  
  

Mime
View raw message