diff options
author | Michael Bien <[email protected]> | 2010-03-31 13:02:35 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-03-31 13:02:35 +0200 |
commit | f76e3bb1cff43d35b6884c17418ea20cd4ed5e22 (patch) | |
tree | 0bcd48147ae46947e54c23f2c4c3074e67a70054 /test/junit/com/sun | |
parent | 3946dbecf6018ddd7a404af60e7d7e9907491721 (diff) |
reduced verbosity in test output.
Diffstat (limited to 'test/junit/com/sun')
-rw-r--r-- | test/junit/com/sun/gluegen/BuildUtil.java | 6 | ||||
-rw-r--r-- | test/junit/com/sun/gluegen/PCPPTest.java | 3 | ||||
-rw-r--r-- | test/junit/com/sun/gluegen/build.xml | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/test/junit/com/sun/gluegen/BuildUtil.java b/test/junit/com/sun/gluegen/BuildUtil.java index dd46221..35dc0c1 100644 --- a/test/junit/com/sun/gluegen/BuildUtil.java +++ b/test/junit/com/sun/gluegen/BuildUtil.java @@ -43,8 +43,8 @@ public final class BuildUtil { throw new RuntimeException("can not determine gluegen root", ex); } - path = gluegenRoot + "/test/junit/com/sun/gluegen"; - testOutput = gluegenRoot + "/" + rootrel_build + "/test"; + path = gluegenRoot + "/test/junit/com/sun/gluegen"; + testOutput = gluegenRoot + "/" + rootrel_build + "/test"; out.println("path: "+path); out.println("testOutput: "+testOutput); @@ -61,7 +61,7 @@ public final class BuildUtil { DefaultLogger logger = new DefaultLogger(); logger.setErrorPrintStream(out); logger.setOutputPrintStream(out); - logger.setMessageOutputLevel(Project.MSG_INFO); + logger.setMessageOutputLevel(Project.MSG_WARN); project.addBuildListener(logger); project.init(); diff --git a/test/junit/com/sun/gluegen/PCPPTest.java b/test/junit/com/sun/gluegen/PCPPTest.java index c086c47..3764212 100644 --- a/test/junit/com/sun/gluegen/PCPPTest.java +++ b/test/junit/com/sun/gluegen/PCPPTest.java @@ -1,7 +1,6 @@ package com.sun.gluegen; import com.sun.gluegen.pcpp.PCPP; -import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.FileNotFoundException; @@ -18,7 +17,7 @@ import static org.junit.Assert.*; public class PCPPTest { @Test - public void pcppTest() throws FileNotFoundException, IOException { + public void pcppMacroDefinitionTest() throws FileNotFoundException, IOException { PCPP pp = new PCPP(Collections.<String>emptyList()); ByteArrayOutputStream output = new ByteArrayOutputStream(); diff --git a/test/junit/com/sun/gluegen/build.xml b/test/junit/com/sun/gluegen/build.xml index 24235c0..4889ab1 100644 --- a/test/junit/com/sun/gluegen/build.xml +++ b/test/junit/com/sun/gluegen/build.xml @@ -29,7 +29,7 @@ <mkdir dir="${build.dir.java}"/> - <javac destdir="${build.dir.java}" source="1.5" failonerror="true" debug="true" verbose="true" debuglevel="lines,vars,source"> + <javac destdir="${build.dir.java}" source="1.5" failonerror="true" debug="true" debuglevel="lines,vars,source"> <src path="${src.dir}"/> <classpath path="${gluegen.root}/${rootrel.build}/classes:${src.dir}:${gluegen.root}/${rootrel.build}/antlr-3.2.jar:${gluegen.root}/make/lib/junit-4.5.jar:${tools.jar}:${ant.core.lib}"/> </javac> |