[jboss-cvs] JBossCache/tests/functional/org/jboss/cache/marshall ...
Manik Surtani
msurtani at jboss.com
Sat Dec 30 21:08:42 EST 2006
User: msurtani
Date: 06/12/30 21:08:42
Modified: tests/functional/org/jboss/cache/marshall LocalTest.java
Log:
Updates to tests to go along with changes in node methods
Revision Changes Path
1.12 +3 -3 JBossCache/tests/functional/org/jboss/cache/marshall/LocalTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests/functional/org/jboss/cache/marshall/LocalTest.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- LocalTest.java 30 Dec 2006 17:49:57 -0000 1.11
+++ LocalTest.java 31 Dec 2006 02:08:42 -0000 1.12
@@ -18,7 +18,7 @@
* Simple functional tests for LegacyTreeCacheMarshaller
*
* @author Ben Wang
- * @version $Id: LocalTest.java,v 1.11 2006/12/30 17:49:57 msurtani Exp $
+ * @version $Id: LocalTest.java,v 1.12 2006/12/31 02:08:42 msurtani Exp $
*/
public class LocalTest extends RegionBasedMarshallingTestBase
{
@@ -80,7 +80,7 @@
}
Class[] types = {};
Class[] margs = {};
- Method getValue = clasz1.getMethod("getName", types);
+ Method getValue = clasz1.getMethod("getLastElementAsString", types);
value = getValue.invoke(ben, margs);
buffer.setLength(0);
buffer.append("main.obj.CodeSource: ");
@@ -90,7 +90,7 @@
catch (Exception e)
{
e.printStackTrace();
- log("Failed to invoke getName: " + e);
+ log("Failed to invoke getLastElementAsString: " + e);
}
cache.put("/a/b/c", "ben", ben);
More information about the jboss-cvs-commits
mailing list