You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2016/12/01 08:48:28 UTC

svn commit: r1772158 - /myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriterUnitTest.java

Author: lofwyr
Date: Thu Dec  1 08:48:28 2016
New Revision: 1772158

URL: http://svn.apache.org/viewvc?rev=1772158&view=rev
Log:
TOBAGO-1368: The standard theme will use Bootstrap
* move the rendering of the HTML tag from the ResponseWriter to the PageRenderer, to have the possibility to add CSS to the HTML Tag. In general this is not needed, but for some special e.g. height: 100%

Modified:
    myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriterUnitTest.java

Modified: myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriterUnitTest.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriterUnitTest.java?rev=1772158&r1=1772157&r2=1772158&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriterUnitTest.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriterUnitTest.java Thu Dec  1 08:48:28 2016
@@ -47,7 +47,7 @@ public class TobagoResponseWriterUnitTes
   public void testDocument() throws IOException {
     writer.startDocument();
     writer.endDocument();
-    Assert.assertEquals("content expected","<!DOCTYPE html>\n", stringWriter.toString());
+    Assert.assertEquals("content expected", "<!DOCTYPE html>\n", stringWriter.toString());
   }
 
   @Test