Author: [email protected]
Date: Thu Apr 23 11:59:20 2009
New Revision: 5276

Modified:
    trunk/user/test/com/google/gwt/user/client/ui/UIObjectTest.java

Log:
Fixed UIObjectTest#testToString().  UIObject.toString() is equivalent to  
Element.getString(), not Element.toString().

Patch by: jlabanca
Review by: jgw (desk)



Modified: trunk/user/test/com/google/gwt/user/client/ui/UIObjectTest.java
==============================================================================
--- trunk/user/test/com/google/gwt/user/client/ui/UIObjectTest.java      
(original)
+++ trunk/user/test/com/google/gwt/user/client/ui/UIObjectTest.java     Thu Apr 
 
23 11:59:20 2009
@@ -74,11 +74,12 @@
    }

    public void testToString() {
-    UIObject u = new UIObject(){};
+    UIObject u = new UIObject() {
+    };
      assertEquals("(null handle)", u.toString());
      SpanElement span = Document.get().createSpanElement();
      u.setElement(span);
-    assertEquals(span.toString(), u.toString());
+    assertEquals(span.getString(), u.toString());
    }

    public void testAccidentalPrimary() {

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to