struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [06/10] struts git commit: WW-4749 Fixes test
Date Wed, 10 May 2017 14:39:56 GMT
WW-4749 Fixes test


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

Branch: refs/heads/master
Commit: 6dad53c5e316b3be2551a1bab47ee71b64ac3542
Parents: bbcd9dc
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Fri Apr 28 10:01:27 2017 +0200
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Fri Apr 28 10:01:27 2017 +0200

----------------------------------------------------------------------
 .../org/apache/struts2/views/freemarker/FreeMarkerResultTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/6dad53c5/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
b/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
index 060b927..ec8ec05 100644
--- a/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
+++ b/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
@@ -70,7 +70,7 @@ public class FreeMarkerResultTest extends StrutsInternalTestCase {
         FreemarkerResult result = new FreemarkerResult();
         result.setLocation("someFreeMarkerFile.ftl");
         result.setFreemarkerManager(mgr);
-        result.setWriteIfCompleted(true);
+        result.setUseBufferedWriter(true);
 
         try {
             result.execute(invocation);


Mime
View raw message