Some changes in test generating infrastructure:
* add separate run function for each test class to simplify and deduplicate generated code * move the code that process IGNORE_BACKEND directive to the separate function, outside of generated code. ** it reduces size and complexity of a generated code ** it allows to mute and unmute tests w/o regenerate tests * add an ability to generate IGNORE_BACKEND directive automatically, it's disabled by default * add an ability to remove IGNORE_BACKEND directive automatically, it's enabled by default * remove whitelists
This commit is contained in:
@@ -34,7 +34,8 @@ import java.io.IOException;
|
||||
|
||||
public abstract class AbstractModuleXmlParserTest extends TestCase {
|
||||
|
||||
protected static void doTest(String xmlPath) throws IOException {
|
||||
@SuppressWarnings("MethodMayBeStatic")
|
||||
protected void doTest(String xmlPath) throws IOException {
|
||||
File txtFile = new File(FileUtil.getNameWithoutExtension(xmlPath) + ".txt");
|
||||
|
||||
ModuleChunk result = ModuleXmlParser.parseModuleScript(xmlPath, new MessageCollector() {
|
||||
|
||||
Reference in New Issue
Block a user