Build 1.0_r1(from source)

android.test.suitebuilder.annotation
Class HasAnnotation

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

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

A predicate that checks to see if a TestMethod has a specific annotation, either on the method or on the containing class. Not needed for 1.0 SDK.


Constructor Summary
HasAnnotation(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

HasAnnotation

public HasAnnotation(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