Author: simonetripodi Date: Sun Dec 4 01:23:19 2011 New Revision: 1210043 URL: http://svn.apache.org/viewvc?rev=1210043&view=rev Log: usgin junit assertion
Modified: commons/sandbox/meiyo/trunk/src/test/java/org/apache/commons/meiyo/classvisitor/ClassVisitorTestCase.java Modified: commons/sandbox/meiyo/trunk/src/test/java/org/apache/commons/meiyo/classvisitor/ClassVisitorTestCase.java URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/test/java/org/apache/commons/meiyo/classvisitor/ClassVisitorTestCase.java?rev=1210043&r1=1210042&r2=1210043&view=diff ============================================================================== --- commons/sandbox/meiyo/trunk/src/test/java/org/apache/commons/meiyo/classvisitor/ClassVisitorTestCase.java (original) +++ commons/sandbox/meiyo/trunk/src/test/java/org/apache/commons/meiyo/classvisitor/ClassVisitorTestCase.java Sun Dec 4 01:23:19 2011 @@ -19,6 +19,7 @@ package org.apache.commons.meiyo.classvi * under the License. */ +import static org.junit.Assert.assertTrue; import static org.apache.commons.meiyo.classvisitor.ClassVisitor.createVisitor; import java.lang.reflect.Constructor; @@ -84,19 +85,19 @@ public final class ClassVisitorTestCase @Test public void verifyClassAnnotationsFound() { - assert this.foundClassAnnotation; + assertTrue( foundClassAnnotation ); } @Test public void verifyConstructorAnnotationsFound() { - assert this.foundConstructorAnnotation; + assertTrue( foundConstructorAnnotation ); } @Test public void verifyMethodAnnotationsFound() { - assert this.foundMethodAnnotation; + assertTrue( foundMethodAnnotation ); } }