myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r957814 - /myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/context/MarkupUnitTest.java
Date Fri, 25 Jun 2010 06:23:03 GMT
Author: lofwyr
Date: Fri Jun 25 06:23:02 2010
New Revision: 957814

URL: http://svn.apache.org/viewvc?rev=957814&view=rev
Log:
checkstyle

Modified:
    myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/context/MarkupUnitTest.java

Modified: myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/context/MarkupUnitTest.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/context/MarkupUnitTest.java?rev=957814&r1=957813&r2=957814&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/context/MarkupUnitTest.java
(original)
+++ myfaces/tobago/trunk/tobago-core/src/test/java/org/apache/myfaces/tobago/context/MarkupUnitTest.java
Fri Jun 25 06:23:02 2010
@@ -79,13 +79,13 @@ public class MarkupUnitTest {
 
   @Test
   public void testAdd() {
-    Markup A = Markup.valueOf("a");
-    Markup AB = Markup.valueOf("a,b");
-    Markup ABC = Markup.valueOf("a,b,c");
-    Assert.assertEquals(A, Markup.NULL.add("a"));
-    Assert.assertEquals(AB, A.add("b"));
-    Assert.assertEquals(ABC, AB.add("c"));
-    Assert.assertSame(A, A.add("a"));
-    Assert.assertSame(AB, AB.add("a"));
+    Markup a = Markup.valueOf("a");
+    Markup ab = Markup.valueOf("a,b");
+    Markup abc = Markup.valueOf("a,b,c");
+    Assert.assertEquals(a, Markup.NULL.add("a"));
+    Assert.assertEquals(ab, a.add("b"));
+    Assert.assertEquals(abc, ab.add("c"));
+    Assert.assertSame(a, a.add("a"));
+    Assert.assertSame(ab, ab.add("a"));
   }
 }



Mime
View raw message