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:
parent
ecb3820c77
commit
6408fe544c
1 changed files with 8 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue