Clear logs before running tests

parent e1419f7c
......@@ -12,6 +12,7 @@ import de.monticore.lang.monticar.generator.roscpp.helper.TagHelper;
import de.monticore.lang.tagging._symboltable.TaggingResolver;
import de.se_rwth.commons.logging.Log;
import freemarker.template.TemplateException;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
......@@ -28,6 +29,11 @@ public class GenerationTest extends AbstractSymtabTest {
public static final String TEST_PATH = "src/test/resources/";
@Before
public void resetLog(){
Log.getFindings().clear();
}
@Test
public void testBasicGeneration() throws IOException {
TaggingResolver taggingResolver = createSymTabAndTaggingResolver(TEST_PATH);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment