]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Ignore ModuleCompilationOptions 73/673/1
authorjsimomaa <jani.simomaa@gmail.com>
Mon, 3 Jul 2017 18:24:36 +0000 (21:24 +0300)
committerjsimomaa <jani.simomaa@gmail.com>
Mon, 3 Jul 2017 18:24:36 +0000 (21:24 +0300)
for now until UnsupportedOperationException in CHR is fixed..

Change-Id: I701cc6156a2f02b6eb2b5f84949f961a340dd286

bundles/org.simantics.tests.modelled/src/org/simantics/tests/modelled/utils/ModelledSTSTest.java

index 94ff2b6b6a4082a78dc5f006b0038d0b22999637..e1eb08baf0321c200af4d79b06034ceb5b4469b3 100644 (file)
@@ -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);