[jboss-cvs] JBossAS SVN: r73567 - projects/microcontainer/trunk/aop-mc-int/src/tests/org/jboss/test/microcontainer/beans/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed May 21 15:36:31 EDT 2008
Author: kabir.khan at jboss.com
Date: 2008-05-21 15:36:31 -0400 (Wed, 21 May 2008)
New Revision: 73567
Modified:
projects/microcontainer/trunk/aop-mc-int/src/tests/org/jboss/test/microcontainer/beans/test/AspectWithDependencyTest.java
Log:
Fix up test
Modified: projects/microcontainer/trunk/aop-mc-int/src/tests/org/jboss/test/microcontainer/beans/test/AspectWithDependencyTest.java
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/src/tests/org/jboss/test/microcontainer/beans/test/AspectWithDependencyTest.java 2008-05-21 19:21:08 UTC (rev 73566)
+++ projects/microcontainer/trunk/aop-mc-int/src/tests/org/jboss/test/microcontainer/beans/test/AspectWithDependencyTest.java 2008-05-21 19:36:31 UTC (rev 73567)
@@ -168,7 +168,7 @@
assertNotNull(pojo);
int called = TestAspectWithDependency.called;
pojo.method(2);
- assertTrue("Interceptor was not rebound", called + 1 == TestAspectWithDependency.called);
+ assertEquals("Interceptor was not rebound", called + 1, TestAspectWithDependency.called);
assertTrue("Should not be caching the interceptor/dependency across rebinding", dependency == TestAspectWithDependency.invoked);
}
finally
More information about the jboss-cvs-commits
mailing list