String result = loadFile(file.getName());
try {
if (OVERWRITE_TESTDATA) throw new FileNotFoundException();
String expectedText = loadFile(expectedName);
if (!Comparing.equal(expectedText, result)) {
throw new FileComparisonFailure(expectedName, expectedText, result, new File(myFullDataPath + File.separator + expectedName).getAbsolutePath());
}
}
catch (FileNotFoundException e) {
FileWriter writer = new FileWriter(new File(myFullDataPath, expectedName));
try {