Build 1.0_r1(from source)

android.test.suitebuilder.annotation
Class HasClassAnnotation

java.lang.Object
  extended by android.test.suitebuilder.annotation.HasClassAnnotation
All Implemented Interfaces:
com.android.internal.util.Predicate<TestMethod>

 class HasClassAnnotation
extends Object
implements com.android.internal.util.Predicate<TestMethod>

A predicate that checks to see if a TestMethod has a specific annotation on the containing class. Consider using the public HasAnnotation class instead of this class. Not needed for 1.0 SDK.


Constructor Summary
HasClassAnnotation(Class<? extends Annotation> annotationClass)
           
 
Method Summary
 boolean apply(TestMethod testMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasClassAnnotation

public HasClassAnnotation(Class<? extends Annotation> annotationClass)
Method Detail

apply

public boolean apply(TestMethod testMethod)
Specified by:
apply in interface com.android.internal.util.Predicate<TestMethod>

Build 1.0_r1(from source)

Please submit a feedback, bug or feature