org.baselinetest
Interface TestComparator

All Known Implementing Classes:
ByteComparator, TextComparator, XMLComparator

public interface TestComparator

TestComparator is used to take an actual output file and validate it against an expected output file. Whether the output is considered to be a match, is left up to the implementation of the Comparator.

Author:
jwan

Method Summary
 boolean compare(java.io.File expectedOutput, java.io.File actualOutput)
          Compares the expected output with the actual output.
 

Method Detail

compare

boolean compare(java.io.File expectedOutput,
                java.io.File actualOutput)
Compares the expected output with the actual output.

Parameters:
expectedOutput - expected output.
actualOutput - actual output.
Returns:
TRUE if they match, according to the rules of the Comparator. FALSE, otherwise.


Copyright © 2005-2009 Baseline Test. All Rights Reserved.