From f76e3bb1cff43d35b6884c17418ea20cd4ed5e22 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Wed, 31 Mar 2010 13:02:35 +0200 Subject: reduced verbosity in test output. --- make/build.xml | 7 +++++-- test/junit/com/sun/gluegen/BuildUtil.java | 6 +++--- test/junit/com/sun/gluegen/PCPPTest.java | 3 +-- test/junit/com/sun/gluegen/build.xml | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/make/build.xml b/make/build.xml index f918f62..a79a38e 100755 --- a/make/build.xml +++ b/make/build.xml @@ -481,13 +481,14 @@ - original source. --> + @@ -533,6 +534,7 @@ + @@ -549,6 +551,7 @@ + @@ -586,7 +589,7 @@ - + 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.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 @@ - + -- cgit v1.2.3