fix test bug

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418500 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Dyer 2012-12-07 21:56:56 +00:00
parent c41f9b33cb
commit 330a570fc6
1 changed files with 6 additions and 2 deletions

View File

@ -72,8 +72,12 @@ public abstract class AbstractSqlEntityProcessorTestCase extends
sportsTransformer = false;
underlyingDataModified = false;
new File(fileLocation + File.separatorChar + fileName).delete();
new File(fileLocation).delete();
//If an Assume was tripped while setting up the test,
//the file might not ever have been created...
if(fileLocation!=null) {
new File(fileLocation + File.separatorChar + fileName).delete();
new File(fileLocation).delete();
}
}
protected void logPropertiesFile() {