From 2ec5d3e88fb2277929b249fd0d2eb32ab24f2f58 Mon Sep 17 00:00:00 2001 From: jsimomaa Date: Mon, 3 Jul 2017 21:24:36 +0300 Subject: [PATCH] Ignore ModuleCompilationOptions for now until UnsupportedOperationException in CHR is fixed.. Change-Id: I701cc6156a2f02b6eb2b5f84949f961a340dd286 --- .../tests/modelled/utils/ModelledSTSTest.java | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/utils/ModelledSTSTest.java b/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/utils/ModelledSTSTest.java index 94ff2b6b6..e1eb08baf 100644 --- a/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/utils/ModelledSTSTest.java +++ b/bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/utils/ModelledSTSTest.java @@ -102,22 +102,22 @@ public class ModelledSTSTest { ModuleRepository repo = new ModuleRepository(SCLOsgi.SOURCE_REPOSITORY); CommandSession session = null; try { - repo.setAdvisor(new ModuleCompilationOptionsAdvisor() { - - @Override - public ModuleCompilationOptions getOptions(String moduleName) { - // TODO: default to false - boolean coverage = true; - // TODO: add moduleName filters back - // for (Pattern p : getModuleNameFilterPatterns()) { - // if (p.matcher(moduleName.toLowerCase()).find()) { - // coverage = true; - // break; - // } - // } - return new ModuleCompilationOptions(coverage); - } - }); +// repo.setAdvisor(new ModuleCompilationOptionsAdvisor() { +// +// @Override +// public ModuleCompilationOptions getOptions(String moduleName) { +// // TODO: default to false +// boolean coverage = true; +// // TODO: add moduleName filters back +// // for (Pattern p : getModuleNameFilterPatterns()) { +// // if (p.matcher(moduleName.toLowerCase()).find()) { +// // coverage = true; +// // break; +// // } +// // } +// return new ModuleCompilationOptions(coverage); +// } +// }); SCLReportingHandler handler = (SCLReportingHandler) SCLContext.getCurrent().get(SCLReportingHandler.REPORTING_HANDLER); session = new CommandSession(repo, handler); -- 2.47.1