AfterClassWithInfo

public abstract @interface AfterClassWithInfo
implements Annotation

com.android.tradefed.testtype.junit4.AfterClassWithInfo


Similar guarantees as AfterClass but method annotated must require a TestInformation parameter. Runs AFTER AfterClass methods.

Using TestInformation#properties() can help passing information between static & non-static context.

Example:

@AfterClassWithInfo public static void afterClassWithInfo(TestInformation testInfo) { assertNotNull(device); }

See also: