struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [1/4] struts git commit: Reduces log verbosity in tests
Date Sat, 26 Mar 2016 15:15:12 GMT
Repository: struts
Updated Branches:
  refs/heads/master 2a09e8642 -> 6770b35ce


Reduces log verbosity in tests


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/e5d7be9a
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/e5d7be9a
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/e5d7be9a

Branch: refs/heads/master
Commit: e5d7be9a79d3ba1ad795d3a471930f441ae85ccb
Parents: 2a09e86
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Sat Mar 26 15:25:19 2016 +0100
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Sat Mar 26 15:25:19 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/struts2/views/jsp/AbstractUITagTest.java     | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/e5d7be9a/core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java b/core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java
index 108731e..ce33824 100644
--- a/core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java
+++ b/core/src/test/java/org/apache/struts2/views/jsp/AbstractUITagTest.java
@@ -176,9 +176,7 @@ public abstract class AbstractUITagTest extends AbstractTagTest {
             tag.doStartTag();
             tag.doEndTag();
             String writerString = normalize(writer.toString(), true);
-            if (LOG.isInfoEnabled()) {
-                LOG.info("AbstractUITagTest - [verifyGenericProperties]: Tag output is "
+ writerString);
-            }
+            LOG.debug("AbstractUITagTest - [verifyGenericProperties]: Tag output is {}",
writerString);
 
             assertFalse("Freemarker error detected in tag output: " + writerString, writerString.contains(normalize(FREEMARKER_ERROR_EXPECTATION)));
 


Mime
View raw message