myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1772158 - /myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriterUnitTest.java
Date Thu, 01 Dec 2016 08:48:28 GMT
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



Mime
View raw message