String klassSimpleName = klass.getSimpleName();
testsLogger.println(">>>>>>============ " + klassSimpleName + " COMMON DEFINITIONS FILES: ============" );
for (File headerFile : commonDefsFileList) {
testsLogger.println(headerFile);
TemplatedSourceProcessor tsp = new DeeTestsTemplateSourceProcessor() {
@Override
protected void addFullyProcessedSourceCase(ProcessingState caseState) {
assertTrue(caseState.isHeaderCase);
}
};
tsp.processSource_unchecked("#", readStringFromFile_PreserveBOM(headerFile));
assertTrue(tsp.getGenCases().size() == 0);
NewUtils.addNew(commonDefs, tsp.getGlobalExpansions());
}
testsLogger.println("--------------" );
}