Loading de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/Analyzer.java +6 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ import de.ugoe.cs.swe.validation.TTCN3StatisticsProvider; public class Analyzer implements Callable<TTCN3Output> { private final Resource resource; private final LoggingInterface logger; private final boolean printUnresolvedObjects = false; public static boolean printUnresolvedObjects = false; public Analyzer(Resource resource, LoggingInterface logger) { this.resource = resource; Loading @@ -39,7 +39,11 @@ public class Analyzer implements Callable<TTCN3Output> { org.eclipse.emf.common.util.Diagnostic diagnostic = null; diagnostic = Diagnostician.INSTANCE.validate(model); for (org.eclipse.emf.common.util.Diagnostic d : diagnostic.getChildren()) { if (d instanceof FeatureBasedDiagnostic) { output.getOutput().add((FeatureBasedDiagnostic) d); } else { //System.out.println(d); } } // TODO: make this configurable for debug purposes Loading de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/T3Q.java +1 −0 Original line number Diff line number Diff line Loading @@ -256,6 +256,7 @@ public class T3Q { } if (!l.toString().equals("FIXME") && !l.toString().equals("DEBUG")) possibleValues += l.toString() + ", "; Analyzer.printUnresolvedObjects = true; } if (!selected) { System.out.println("\nERROR: No valid log level provided! Possible values are (in ascending inclusive order): " Loading Loading
de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/Analyzer.java +6 −2 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ import de.ugoe.cs.swe.validation.TTCN3StatisticsProvider; public class Analyzer implements Callable<TTCN3Output> { private final Resource resource; private final LoggingInterface logger; private final boolean printUnresolvedObjects = false; public static boolean printUnresolvedObjects = false; public Analyzer(Resource resource, LoggingInterface logger) { this.resource = resource; Loading @@ -39,7 +39,11 @@ public class Analyzer implements Callable<TTCN3Output> { org.eclipse.emf.common.util.Diagnostic diagnostic = null; diagnostic = Diagnostician.INSTANCE.validate(model); for (org.eclipse.emf.common.util.Diagnostic d : diagnostic.getChildren()) { if (d instanceof FeatureBasedDiagnostic) { output.getOutput().add((FeatureBasedDiagnostic) d); } else { //System.out.println(d); } } // TODO: make this configurable for debug purposes Loading
de.ugoe.cs.swe.T3Q/src/de/ugoe/cs/swe/T3Q/T3Q.java +1 −0 Original line number Diff line number Diff line Loading @@ -256,6 +256,7 @@ public class T3Q { } if (!l.toString().equals("FIXME") && !l.toString().equals("DEBUG")) possibleValues += l.toString() + ", "; Analyzer.printUnresolvedObjects = true; } if (!selected) { System.out.println("\nERROR: No valid log level provided! Possible values are (in ascending inclusive order): " Loading