[jboss-cvs] JBossCache/tests/functional/org/jboss/cache ...
Manik Surtani
msurtani at jboss.com
Sat Dec 30 21:08:41 EST 2006
User: msurtani
Date: 06/12/30 21:08:41
Modified: tests/functional/org/jboss/cache FqnTest.java
Log:
Updates to tests to go along with changes in node methods
Revision Changes Path
1.19 +3 -3 JBossCache/tests/functional/org/jboss/cache/FqnTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: FqnTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/FqnTest.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- FqnTest.java 30 Dec 2006 19:48:46 -0000 1.18
+++ FqnTest.java 31 Dec 2006 02:08:41 -0000 1.19
@@ -20,7 +20,7 @@
* Tests {@link Fqn}.
*
* @author <a href="mailto:bela at jboss.org">Bela Ban</a> May 9, 2003
- * @version $Revision: 1.18 $
+ * @version $Revision: 1.19 $
*/
public class FqnTest extends TestCase
{
@@ -288,11 +288,11 @@
public void testGetName()
{
Fqn integerFqn = new Fqn(1);
- assertEquals("1", integerFqn.getName());
+ assertEquals("1", integerFqn.getLastElementAsString());
Object object = new Object();
Fqn objectFqn = new Fqn(object);
- assertEquals(object.toString(), objectFqn.getName());
+ assertEquals(object.toString(), objectFqn.getLastElementAsString());
}
public void testCloningString() throws CloneNotSupportedException
More information about the jboss-cvs-commits
mailing list