Skip to content
Snippets Groups Projects
Commit dafb9350 authored by René Schöne's avatar René Schöne
Browse files

*

parents
Branches
No related tags found
No related merge requests found
Pipeline #9929 failed
import org.jastadd.preprocessor.coverage_gen.Main;
import org.jastadd.relast.tests.RelAstProcessorTestBase;
import org.junit.jupiter.api.BeforeAll;
public class PreprocessorTest extends RelAstProcessorTestBase {
@BeforeAll
static void init() {
mainClass = Main.class;
}
}
- name: "Simple (empty)"
compare: true
out: "empty/out"
expected: "empty/expected"
args:
- "--inputBaseDir=empty/in"
- "--outputBaseDir=empty/out"
- "Test.relast"
aspect Coverage {
public static void ASTNode.runCoverageAll() {
new Root().runCoverage();
}
public void Root.runCoverage() {
numChildren();
mayHaveRewrite();
try { flushAttrCache(); } catch (Exception ignore) {}
try { flushCollectionCache(); } catch (Exception ignore) {}
try { clone(); } catch (Exception ignore) {}
try { fullCopy(); } catch (Exception ignore) {}
try { treeCopyNoTransform(); } catch (Exception ignore) {}
try { treeCopy(); } catch (Exception ignore) {}
canRewrite();
try { rewriteTo(); } catch (Exception ignore) {}
}
}
Root ;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment