pauldick    2002/06/04 08:48:43

  Modified:    test/java/src/org/apache/qetest LinebyLineCheckService.java
  Log:
  Minor cleanup
  
  Revision  Changes    Path
  1.2       +2 -13     
xml-xalan/test/java/src/org/apache/qetest/LinebyLineCheckService.java
  
  Index: LinebyLineCheckService.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/test/java/src/org/apache/qetest/LinebyLineCheckService.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LinebyLineCheckService.java       4 Jun 2002 15:42:01 -0000       1.1
  +++ LinebyLineCheckService.java       4 Jun 2002 15:48:43 -0000       1.2
  @@ -65,7 +65,7 @@
   /**
    * Simply does .readLine of each file into string buffers and then String.equals().
    * @author [EMAIL PROTECTED]
  - * @version $Id: LinebyLineCheckService.java,v 1.1 2002/06/04 15:42:01 pauldick Exp 
$
  + * @version $Id: LinebyLineCheckService.java,v 1.2 2002/06/04 15:48:43 pauldick Exp 
$
    */
   public class LinebyLineCheckService implements CheckService
   {
  @@ -87,28 +87,21 @@
       {        
           if (!((actual instanceof File) & (expected instanceof File)))
           {
  -
               // Must have File objects to continue
               logger.checkErr(msg + " :check() objects were not Files", id);
  -
               return Logger.ERRR_RESULT;
           }
   
                if (doCompare(logger, (File) actual, (File) expected))
           {
               logger.checkPass(msg, id);
  -
               return Logger.PASS_RESULT;
           }
           else
           {
               logger.checkFail(msg, id);
  -
               return Logger.FAIL_RESULT;
           }
  -
  -
  -
       }
   
       /**
  @@ -137,7 +130,6 @@
        */
       private boolean doCompare(Logger logger, File act, File exp)
       {
  -
           StringBuffer sb_act = new StringBuffer();
                StringBuffer sb_exp = new StringBuffer();
   
  @@ -193,7 +185,6 @@
   
               return false;
           }
  -
           return true;
       }
   
  @@ -255,7 +246,6 @@
   
       /**
        * Description of what this testing utility does.  
  -     * 
        * @return String description of extension
        */
       public String getDescription()
  @@ -263,5 +253,4 @@
           return ("Reads in text files line-by-line as strings (ignoring newlines) 
and does String.equals()");
       }
   
  -}  // end of class SimpleFileCheckService
  -
  +}  // end of class LinebyLineCheckService
  \ No newline at end of file
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to