commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r754549 - /commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ShortPrefixToStringStyleTest.java
Date Sat, 14 Mar 2009 23:29:22 GMT
Author: sebb
Date: Sat Mar 14 23:29:22 2009
New Revision: 754549

URL: http://svn.apache.org/viewvc?rev=754549&view=rev
Log:
Fix Short test case

Modified:
    commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ShortPrefixToStringStyleTest.java

Modified: commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ShortPrefixToStringStyleTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ShortPrefixToStringStyleTest.java?rev=754549&r1=754548&r2=754549&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ShortPrefixToStringStyleTest.java
(original)
+++ commons/proper/lang/trunk/src/test/org/apache/commons/lang/builder/ShortPrefixToStringStyleTest.java
Sat Mar 14 23:29:22 2009
@@ -83,7 +83,7 @@
         p.name = "John Q. Public";
         p.age = 45;
         p.smoker = true;
-        String pBaseStr = p.getClass().getName();
+        String pBaseStr = "ToStringStyleTest.Person";
         assertEquals(pBaseStr + "[name=John Q. Public,age=45,smoker=true]", new ToStringBuilder(p).append("name",
p.name).append("age", p.age).append("smoker", p.smoker).toString());
     }
 



Mime
View raw message