You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2005/12/11 22:59:57 UTC
svn commit: r356042 -
/myfaces/share/trunk/src/test/org/apache/myfaces/util/MessageUtilsTest.java
Author: skitching
Date: Sun Dec 11 13:59:54 2005
New Revision: 356042
URL: http://svn.apache.org/viewcvs?rev=356042&view=rev
Log:
Comment out code that doesn't compile (and never has). It appears that when this code was committed, a class was missed. Now it compiles, but reports failure when run (because the necessary MockResponseWriter has been commented out).
Because the ant unit-test target has never run share tests before, it has not been fixed. Now that I've enabled share unit-tests as part of the impl unit-tests, this had to be fixed.
Modified:
myfaces/share/trunk/src/test/org/apache/myfaces/util/MessageUtilsTest.java
Modified: myfaces/share/trunk/src/test/org/apache/myfaces/util/MessageUtilsTest.java
URL: http://svn.apache.org/viewcvs/myfaces/share/trunk/src/test/org/apache/myfaces/util/MessageUtilsTest.java?rev=356042&r1=356041&r2=356042&view=diff
==============================================================================
--- myfaces/share/trunk/src/test/org/apache/myfaces/util/MessageUtilsTest.java (original)
+++ myfaces/share/trunk/src/test/org/apache/myfaces/util/MessageUtilsTest.java Sun Dec 11 13:59:54 2005
@@ -29,7 +29,7 @@
import junit.framework.Assert;
import junit.framework.TestCase;
-import org.apache.myfaces.test.MockResponseWriter;
+//import org.apache.myfaces.test.MockResponseWriter;
import org.easymock.MockControl;
import org.easymock.classextension.MockClassControl;
@@ -42,7 +42,7 @@
private FacesContext context;
- private MockResponseWriter writer;
+// private MockResponseWriter writer;
private static final String DEFAULT_BUNDLE = "javax.faces.Messages";
@@ -164,8 +164,8 @@
}
protected void setUp() throws Exception {
- this.writer = new MockResponseWriter();
- this.context = createMockFacesContext(this.writer);
+// this.writer = new MockResponseWriter();
+// this.context = createMockFacesContext(this.writer);
}
/**