JUnit4TestFilter

public class JUnit4TestFilter
extends Filter

java.lang.Object
   ↳ org.junit.runner.manipulation.Filter
     ↳ com.android.tradefed.util.JUnit4TestFilter


Helper Class that provides the filtering for JUnit4 runner by extending the Filter.

Summary

Public constructors

JUnit4TestFilter(TestFilterHelper filterHelper)

Public methods

String describe()
boolean shouldRun(Description description)

Filter function deciding whether a test should run or not.

Public constructors

JUnit4TestFilter

JUnit4TestFilter (TestFilterHelper filterHelper)

Parameters
filterHelper TestFilterHelper

Public methods

describe

String describe ()

Returns
String

shouldRun

boolean shouldRun (Description description)

Filter function deciding whether a test should run or not.

Parameters
description Description

Returns
boolean