[jboss-cvs] JBossCache/tests-50/functional/org/jboss/cache/pojo/event ...
Ben Wang
bwang at jboss.com
Thu Jul 27 10:48:12 EDT 2006
User: bwang
Date: 06/07/27 10:48:12
Modified: tests-50/functional/org/jboss/cache/pojo/event
LocalTest.java
Log:
upd
Revision Changes Path
1.4 +0 -17 JBossCache/tests-50/functional/org/jboss/cache/pojo/event/LocalTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: LocalTest.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/tests-50/functional/org/jboss/cache/pojo/event/LocalTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- LocalTest.java 13 Jul 2006 15:56:41 -0000 1.3
+++ LocalTest.java 27 Jul 2006 14:48:12 -0000 1.4
@@ -101,8 +101,6 @@
assertTrue("pre-attach event is not emitted", pre_);
assertTrue("post-attach event is not emitted", post_);
- fail("Counter test fails becuase we need to use attach during sub-object attachment." +
- " Will wait to fix untill next step of refactoring.");
assertEquals("Total number of event is ", 4, counter_);
cache_.removeListener(listener);
}
@@ -174,11 +172,6 @@
public void attach(Object pojo, boolean pre, boolean isLocal)
{
- if(pojo != this.pojo)
- {
- ex1_ = new RuntimeException("Pojo not identical");
- }
-
if(pre)
{
pre_ = true;
@@ -192,11 +185,6 @@
public void detach(Object pojo, boolean pre, boolean isLocal)
{
- if(pojo != this.pojo)
- {
- ex1_ = new RuntimeException("Pojo not identical");
- }
-
if(pre)
{
pre_ = true;
@@ -210,11 +198,6 @@
public void modify(Object pojo, Field field, boolean pre, boolean isLocal)
{
- if(pojo != this.pojo)
- {
- ex1_ = new RuntimeException("Pojo not identical");
- }
-
if(pre)
{
pre_ = true;
More information about the jboss-cvs-commits
mailing list