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, extraJarFiles)

Public methods

String describe()
boolean shouldRun(Description description)

Filter function deciding whether a test should run or not.

Public constructors

JUnit4TestFilter

public JUnit4TestFilter (TestFilterHelper filterHelper, 
                 extraJarFiles)

Parameters
filterHelper TestFilterHelper

extraJarFiles

Public methods

describe

public String describe ()

Returns
String

shouldRun

public boolean shouldRun (Description description)

Filter function deciding whether a test should run or not.

Parameters
description Description

Returns
boolean