blob: 75a3398b0316f4e5a9be1ac884d1cb01c7929270 [file] [log] [blame]
package com.gemstone.gemfire.test.golden;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
/**
* Custom GoldenComparator which returns the string of the golden file name
* as the output for simple unit testing of the quickstart testing framework.
*
* @author Kirk Lund
*/
public class GoldenStringComparator extends RegexGoldenComparator {
protected GoldenStringComparator(String[] expectedProblemLines) {
super(expectedProblemLines);
}
protected Reader readGoldenFile(String goldenFileName) throws IOException {
return new StringReader(goldenFileName);
}
}