summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2009-02-03 10:27:05 (EST)
committer sefftinge2009-02-03 10:27:05 (EST)
commitecd69a7cacc95fad27ea3b9b1444a0a0ec100f4e (patch)
treefd759a9ace4551f161fabbcbf50354e97910e414
parent7ea5a4c1d03d30b18977af9c04c49143447e2698 (diff)
downloadorg.eclipse.xtext-ecd69a7cacc95fad27ea3b9b1444a0a0ec100f4e.zip
org.eclipse.xtext-ecd69a7cacc95fad27ea3b9b1444a0a0ec100f4e.tar.gz
org.eclipse.xtext-ecd69a7cacc95fad27ea3b9b1444a0a0ec100f4e.tar.bz2
Made tests less verbose
-rw-r--r--tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/ComplexReconstrTest.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/ComplexReconstrTest.java b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/ComplexReconstrTest.java
index 062f753..99b13c9 100644
--- a/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/ComplexReconstrTest.java
+++ b/tests/org.eclipse.xtext.generator.tests/src/org/eclipse/xtext/parsetree/reconstr/ComplexReconstrTest.java
@@ -37,7 +37,8 @@ public class ComplexReconstrTest extends AbstractGeneratorTest {
if (x instanceof ParserRule) {
ParserRule pr = (ParserRule) x;
if (pr.getName().toLowerCase().contains("tricky")) {
- logger.debug(EmfFormater.objToStr(pr));
+ if (logger.isTraceEnabled())
+ logger.trace(EmfFormater.objToStr(pr));
}
}
}
@@ -54,8 +55,8 @@ public class ComplexReconstrTest extends AbstractGeneratorTest {
private String parseAndSerialize(String model) throws Exception {
EObject result = (EObject) getModel(model);
- if (logger.isDebugEnabled())
- logger.debug(EmfFormater.objToStr(result));
+ if (logger.isTraceEnabled())
+ logger.trace(EmfFormater.objToStr(result));
return serialize(result);
}