SdkSuppress

public abstract @interface SdkSuppress
implements Annotation

android.support.test.filters.SdkSuppress


Indicates that a specific test or class requires a minimum or maximum API Level to execute.

Test(s) will be skipped when executed on android platforms less/more than specified level (inclusive).

Summary

Public methods

int maxSdkVersion()

The maximum API level to execute (inclusive)

int minSdkVersion()

The minimum API level to execute (inclusive)

Inherited methods

From interface java.lang.annotation.Annotation

Public methods

maxSdkVersion

int maxSdkVersion ()

The maximum API level to execute (inclusive)

Returns
int

minSdkVersion

int minSdkVersion ()

The minimum API level to execute (inclusive)

Returns
int