edu.wis.jtlv.new_tb
Class TestCaseUtil

java.lang.Object
  extended by edu.wis.jtlv.new_tb.TestCaseUtil

public class TestCaseUtil
extends java.lang.Object


Constructor Summary
TestCaseUtil()
           
 
Method Summary
static void copy(java.lang.String from_name, java.lang.String to_name)
           
static boolean diff(java.lang.String log_file, java.lang.String run_file)
           
static boolean diff2(java.lang.String file_a, java.lang.String file_b)
          Returns true if both input streams byte contents is identical.
static boolean diff3(java.lang.String file_a, java.lang.String file_b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCaseUtil

public TestCaseUtil()
Method Detail

diff

public static boolean diff(java.lang.String log_file,
                           java.lang.String run_file)

diff2

public static boolean diff2(java.lang.String file_a,
                            java.lang.String file_b)
Returns true if both input streams byte contents is identical.

Parameters:
input1 - first input to contents compare
input2 - second input to contents compare
Returns:
true if content is equal

diff3

public static boolean diff3(java.lang.String file_a,
                            java.lang.String file_b)

copy

public static void copy(java.lang.String from_name,
                        java.lang.String to_name)
                 throws java.io.IOException
Throws:
java.io.IOException