Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
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 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 ()
shouldRun
public boolean shouldRun (Description description)
Filter function deciding whether a test should run or not.
Parameters |
description |
Description |
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2020-09-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Отсутствует нужная мне информация"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Слишком сложен/слишком много шагов"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Устарел"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Проблема с переводом текста"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Проблемы образцов/кода"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Другое"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Прост для понимания"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Помог мне решить мою проблему"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Другое"
}]