|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Description | |
---|---|
junit.framework | Provides JUnit v3.x core classes. |
org.junit.experimental.max | |
org.junit.internal | |
org.junit.internal.builders | |
org.junit.internal.requests | Provides implementations of Request . |
org.junit.internal.runners | Provides implementations of Runner |
org.junit.internal.runners.model | |
org.junit.runner | Provides classes used to describe, collect, run and analyze multiple tests. |
org.junit.runner.manipulation | Provides classes to filter or sort tests. |
org.junit.runner.notification | Provides information about a test run. |
org.junit.runners | Provides standard Runner implementations. |
Uses of Description in junit.framework |
---|
Methods in junit.framework that return Description | |
---|---|
Description |
JUnit4TestCaseFacade.getDescription()
|
Description |
JUnit4TestAdapter.getDescription()
|
Methods in junit.framework with parameters of type Description | |
---|---|
Test |
JUnit4TestAdapterCache.asTest(Description description)
|
List<Test> |
JUnit4TestAdapterCache.asTestList(Description description)
|
Uses of Description in org.junit.experimental.max |
---|
Methods in org.junit.experimental.max that return types with arguments of type Description | |
---|---|
List<Description> |
MaxCore.sortedLeavesForTest(Request request)
|
Comparator<Description> |
MaxHistory.testComparator()
|
Uses of Description in org.junit.internal |
---|
Methods in org.junit.internal with parameters of type Description | |
---|---|
void |
TextListener.testIgnored(Description description)
|
void |
TextListener.testStarted(Description description)
|
Uses of Description in org.junit.internal.builders |
---|
Methods in org.junit.internal.builders that return Description | |
---|---|
Description |
IgnoredClassRunner.getDescription()
|
Uses of Description in org.junit.internal.requests |
---|
Constructor parameters in org.junit.internal.requests with type arguments of type Description | |
---|---|
SortingRequest(Request request,
Comparator<Description> comparator)
|
Uses of Description in org.junit.internal.runners |
---|
Methods in org.junit.internal.runners that return Description | |
---|---|
Description |
JUnit4ClassRunner.getDescription()
Deprecated. |
Description |
JUnit38ClassRunner.getDescription()
|
Description |
ErrorReportingRunner.getDescription()
|
Constructors in org.junit.internal.runners with parameters of type Description | |
---|---|
ClassRoadie(RunNotifier notifier,
TestClass testClass,
Description description,
Runnable runnable)
Deprecated. |
|
MethodRoadie(Object test,
TestMethod method,
RunNotifier notifier,
Description description)
Deprecated. |
Uses of Description in org.junit.internal.runners.model |
---|
Constructors in org.junit.internal.runners.model with parameters of type Description | |
---|---|
EachTestNotifier(RunNotifier notifier,
Description description)
|
Uses of Description in org.junit.runner |
---|
Fields in org.junit.runner declared as Description | |
---|---|
static Description |
Description.EMPTY
Describes a Runner which runs no tests |
static Description |
Description.TEST_MECHANISM
Describes a step in the test-running mechanism that goes so wrong no other description can be used (for example, an exception thrown from a Runner's constructor |
Methods in org.junit.runner that return Description | |
---|---|
Description |
Description.childlessCopy()
|
static Description |
Description.createSuiteDescription(Class<?> testClass)
Create a Description named after testClass |
static Description |
Description.createSuiteDescription(String name,
Annotation... annotations)
Create a Description named name . |
static Description |
Description.createTestDescription(Class<?> clazz,
String name)
Create a Description of a single test named name in the class clazz . |
static Description |
Description.createTestDescription(Class<?> clazz,
String name,
Annotation... annotations)
Create a Description of a single test named name in the class clazz . |
abstract Description |
Runner.getDescription()
|
Description |
Describable.getDescription()
|
Methods in org.junit.runner that return types with arguments of type Description | |
---|---|
ArrayList<Description> |
Description.getChildren()
|
Methods in org.junit.runner with parameters of type Description | |
---|---|
void |
Description.addChild(Description description)
Add Description as a child of the receiver. |
Request |
Request.filterWith(Description desiredDescription)
Returns a Request that only runs contains tests whose Description
equals desiredDescription |
Method parameters in org.junit.runner with type arguments of type Description | |
---|---|
Request |
Request.sortWith(Comparator<Description> comparator)
Returns a Request whose Tests can be run in a certain order, defined by comparator
For example, here is code to run a test suite in alphabetical order: |
Uses of Description in org.junit.runner.manipulation |
---|
Methods in org.junit.runner.manipulation with parameters of type Description | |
---|---|
int |
Sorter.compare(Description o1,
Description o2)
|
static Filter |
Filter.matchMethodDescription(Description desiredDescription)
Returns a Filter that only runs the single method described by
desiredDescription |
abstract boolean |
Filter.shouldRun(Description description)
|
Constructor parameters in org.junit.runner.manipulation with type arguments of type Description | |
---|---|
Sorter(Comparator<Description> comparator)
Creates a Sorter that uses comparator
to sort tests |
Uses of Description in org.junit.runner.notification |
---|
Methods in org.junit.runner.notification that return Description | |
---|---|
Description |
Failure.getDescription()
|
Methods in org.junit.runner.notification with parameters of type Description | |
---|---|
void |
RunNotifier.fireTestFinished(Description description)
Invoke to tell listeners that an atomic test finished. |
void |
RunNotifier.fireTestIgnored(Description description)
Invoke to tell listeners that an atomic test was ignored. |
void |
RunNotifier.fireTestRunStarted(Description description)
Do not invoke. |
void |
RunNotifier.fireTestStarted(Description description)
Invoke to tell listeners that an atomic test is about to start. |
void |
RunListener.testFinished(Description description)
Called when an atomic test has finished, whether the test succeeds or fails. |
void |
RunListener.testIgnored(Description description)
Called when a test will not be run, generally because a test method is annotated with Ignore . |
void |
RunListener.testRunStarted(Description description)
Called before any tests have been run. |
void |
RunListener.testStarted(Description description)
Called when an atomic test is about to be started. |
Constructors in org.junit.runner.notification with parameters of type Description | |
---|---|
Failure(Description description,
Throwable thrownException)
Constructs a Failure with the given description and exception. |
Uses of Description in org.junit.runners |
---|
Methods in org.junit.runners that return Description | |
---|---|
Description |
ParentRunner.getDescription()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |