[P-unit-devel] SF.net SVN: p-unit: [313] trunk/punit/src/org/punit/convention/ AnnotationConvention
Status: Beta
Brought to you by:
zhanghuangzhu
|
From: <zha...@us...> - 2008-05-28 11:17:47
|
Revision: 313
http://p-unit.svn.sourceforge.net/p-unit/?rev=313&view=rev
Author: zhanghuangzhu
Date: 2008-05-28 04:17:54 -0700 (Wed, 28 May 2008)
Log Message:
-----------
andrew zhang: should be annotation == false.
Modified Paths:
--------------
trunk/punit/src/org/punit/convention/AnnotationConvention.java
Modified: trunk/punit/src/org/punit/convention/AnnotationConvention.java
===================================================================
--- trunk/punit/src/org/punit/convention/AnnotationConvention.java 2008-05-28 09:34:47 UTC (rev 312)
+++ trunk/punit/src/org/punit/convention/AnnotationConvention.java 2008-05-28 11:17:54 UTC (rev 313)
@@ -172,7 +172,7 @@
Method[] superMethods = getClassAnnotationMethod(test.getSuperclass(), true, annotation, delegateMethod, after, allowMultiple);
// Look for un-anotated method in this class if there has been no annotated methods in superclass
- if (annotationOnly = false && (annotatedMethods == null || annotatedMethods.length == 0) && (superMethods == null || superMethods.length==0)) {
+ if (annotationOnly == false && (annotatedMethods == null || annotatedMethods.length == 0) && (superMethods == null || superMethods.length==0)) {
try {
return (Method[])delegateMethod.invoke(_delegate, test);
} catch (IllegalArgumentException e) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|