You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/09/19 02:41:28 UTC

svn commit: r816838 - /myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlGridRendererTest.java

Author: lu4242
Date: Sat Sep 19 00:41:27 2009
New Revision: 816838

URL: http://svn.apache.org/viewvc?rev=816838&view=rev
Log:
MYFACES-2282 h:dataTable and h:panelGrid should implement bodyrows behavior (tbody encapsulation)

Modified:
    myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlGridRendererTest.java

Modified: myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlGridRendererTest.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlGridRendererTest.java?rev=816838&r1=816837&r2=816838&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlGridRendererTest.java (original)
+++ myfaces/core/trunk/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmlGridRendererTest.java Sat Sep 19 00:41:27 2009
@@ -105,9 +105,10 @@
         facesContext.renderResponse();
 
         String output = writer.getWriter().toString();
-        assertEquals("<table><tbody><tr><td>col1Text</td></tr>" + LINE_SEPARATOR +
+        assertEquals("<table><tbody>"+LINE_SEPARATOR+
+                "<tr><td>col1Text</td></tr>" + LINE_SEPARATOR +
                 "<tr><td>col2Text</td></tr>" + LINE_SEPARATOR +
-                "</tbody></table>", output);
+                "</tbody>"+LINE_SEPARATOR+"</table>", output);
     }
 
     public void testHtmlPropertyPassTru() throws Exception