1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Don't create empty test files.

This commit is contained in:
Sergey Prigogin 2012-01-19 12:45:49 -08:00
parent ecb3820c77
commit 6408fe544c

View file

@ -95,8 +95,10 @@ public abstract class RefactoringTestBase extends BaseTestCase {
}
reader.close();
if (!testFile.getSource().isEmpty()) {
TestSourceReader.createFile(cproject.getProject(), new Path(testFile.getName()),
testFile.getSource());
}
testFiles.add(testFile);
if (testFile.getName().endsWith(".xml")) {
historyScript = testFile;