This is an automated email from the git hooks/post-receive script. henrich pushed a commit to branch debian/sid in repository jruby-joni.
commit f016efde73fbbb6ef39720c344bef0245fdf66b8 Author: Marcin Mielzynski <[email protected]> Date: Sun Feb 19 03:08:39 2012 +0100 Less verbose test output. --- test/org/joni/test/Test.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/org/joni/test/Test.java b/test/org/joni/test/Test.java index 124504c..e8efea5 100644 --- a/test/org/joni/test/Test.java +++ b/test/org/joni/test/Test.java @@ -31,6 +31,7 @@ import org.jcodings.Encoding; import org.joni.exception.JOniException; public abstract class Test { + static final boolean VERBOSE = false; int nsucc; int nerror; @@ -95,7 +96,7 @@ public abstract class Test { if (r == -1) { if (not) { - Config.log.println("OK(N): /" + repr(pattern) + "/ '" + repr(str) + "'"); + if (VERBOSE) Config.log.println("OK(N): /" + repr(pattern) + "/ '" + repr(str) + "'"); nsucc++; } else { Config.log.println("FAIL: /" + repr(pattern) + "/ '" + repr(str) + "'"); @@ -107,7 +108,7 @@ public abstract class Test { nfail++; } else { if (region.beg[mem] == from && region.end[mem] == to) { - Config.log.println("OK: /" + repr(pattern) + "/ '" +repr(str) + "'"); + if (VERBOSE) Config.log.println("OK: /" + repr(pattern) + "/ '" +repr(str) + "'"); nsucc++; } else { Config.log.println("FAIL: /" + repr(pattern) + "/ '" + repr(str) + "' " + @@ -180,8 +181,7 @@ public abstract class Test { } public void printResults() { - Config.log.println("\nRESULT SUCC: " + nsucc + ", FAIL: " + nfail + ", ERROR: " + nerror + - " (by JONI) " + "Encoding: " + encoding() + " Test: " + getClass().getSimpleName()); + Config.log.println("RESULT SUCC: " + nsucc + ", FAIL: " + nfail + ", ERROR: " + nerror + " Test: " + getClass().getSimpleName() + ", Encoding: " + encoding()); } public abstract void test(); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

