FlakyTest

public abstract @interface FlakyTest
implements Annotation

android.support.test.filters.FlakyTest


Designates a test as being flaky (non-deterministic).

Can then be used to filter tests on execution using -e annotation or -e notAnnotation as desired.

Summary

Public methods

int bugId()

An optional bug number associated with the test.

String detail()

Details, such as the reason of why the test is flaky.

Inherited methods

From interface java.lang.annotation.Annotation

Public methods

bugId

int bugId ()

An optional bug number associated with the test. -1 Means that no bug number is associated with the flaky annotation.

Returns
int int

detail

String detail ()

Details, such as the reason of why the test is flaky.

Returns
String String