Uses of Class
org.junit.runner.Description
-
Packages that use Description Package Description junit.framework Provides JUnit v3.x core classes.org.junit.experimental.categories org.junit.experimental.max org.junit.internal org.junit.internal.builders org.junit.internal.requests Provides implementations ofRequest.org.junit.internal.runners Provides implementations ofRunnerorg.junit.internal.runners.model org.junit.rules org.junit.runner Provides classes used to describe, collect, run and analyze multiple tests.org.junit.runner.manipulation org.junit.runner.notification Provides information about a test run.org.junit.runners Provides standardRunnerimplementations. -
-
Uses of Description in junit.framework
Fields in junit.framework declared as Description Modifier and Type Field Description private DescriptionJUnit4TestCaseFacade. fDescriptionMethods in junit.framework that return Description Modifier and Type Method Description DescriptionJUnit4TestAdapter. getDescription()DescriptionJUnit4TestCaseFacade. getDescription()private DescriptionJUnit4TestAdapter. removeIgnored(Description description)Methods in junit.framework with parameters of type Description Modifier and Type Method Description TestJUnit4TestAdapterCache. asTest(Description description)java.util.List<Test>JUnit4TestAdapterCache. asTestList(Description description)(package private) TestJUnit4TestAdapterCache. createTest(Description description)private booleanJUnit4TestAdapter. isIgnored(Description description)private DescriptionJUnit4TestAdapter. removeIgnored(Description description)Constructors in junit.framework with parameters of type Description Constructor Description JUnit4TestCaseFacade(Description description) -
Uses of Description in org.junit.experimental.categories
Methods in org.junit.experimental.categories that return Description Modifier and Type Method Description private static DescriptionCategories.CategoryFilter. parentDescription(Description description)Methods in org.junit.experimental.categories with parameters of type Description Modifier and Type Method Description private static java.util.Set<java.lang.Class<?>>Categories.CategoryFilter. categories(Description description)private static java.lang.Class<?>[]Categories.CategoryFilter. directCategories(Description description)private booleanCategories.CategoryFilter. hasCorrectCategoryAnnotation(Description description)private static DescriptionCategories.CategoryFilter. parentDescription(Description description)booleanCategories.CategoryFilter. shouldRun(Description description) -
Uses of Description in org.junit.experimental.max
Fields in org.junit.experimental.max with type parameters of type Description Modifier and Type Field Description private java.util.Map<Description,java.lang.Long>MaxHistory.RememberingListener. startsMethods in org.junit.experimental.max that return types with arguments of type Description Modifier and Type Method Description private java.util.List<Description>MaxCore. findLeaves(Request request)java.util.List<Description>MaxCore. sortedLeavesForTest(Request request)java.util.Comparator<Description>MaxHistory. testComparator()Methods in org.junit.experimental.max with parameters of type Description Modifier and Type Method Description private RunnerMaxCore. buildRunner(Description each)intMaxHistory.TestComparator. compare(Description o1, Description o2)private voidMaxCore. findLeaves(Description parent, Description description, java.util.List<Description> results)private java.lang.LongMaxHistory.TestComparator. getFailure(Description key)(package private) java.lang.LongMaxHistory. getFailureTimestamp(Description key)private java.lang.Class<?>MaxCore. getMalformedTestClass(Description each)(package private) java.lang.LongMaxHistory. getTestDuration(Description key)(package private) booleanMaxHistory. isNewTest(Description key)(package private) voidMaxHistory. putTestDuration(Description description, long duration)(package private) voidMaxHistory. putTestFailureTimestamp(Description key, long end)voidMaxHistory.RememberingListener. testFinished(Description description)voidMaxHistory.RememberingListener. testStarted(Description description)Method parameters in org.junit.experimental.max with type arguments of type Description Modifier and Type Method Description private RequestMaxCore. constructLeafRequest(java.util.List<Description> leaves)private voidMaxCore. findLeaves(Description parent, Description description, java.util.List<Description> results) -
Uses of Description in org.junit.internal
Methods in org.junit.internal with parameters of type Description Modifier and Type Method Description voidTextListener. testIgnored(Description description)voidTextListener. testStarted(Description description) -
Uses of Description in org.junit.internal.builders
Methods in org.junit.internal.builders that return Description Modifier and Type Method Description DescriptionIgnoredClassRunner. getDescription() -
Uses of Description in org.junit.internal.requests
Fields in org.junit.internal.requests with type parameters of type Description Modifier and Type Field Description private java.util.Comparator<Description>SortingRequest. comparatorConstructor parameters in org.junit.internal.requests with type arguments of type Description Constructor Description SortingRequest(Request request, java.util.Comparator<Description> comparator) -
Uses of Description in org.junit.internal.runners
Fields in org.junit.internal.runners declared as Description Modifier and Type Field Description private DescriptionClassRoadie. descriptionDeprecated.private DescriptionMethodRoadie. descriptionDeprecated.Methods in org.junit.internal.runners that return Description Modifier and Type Method Description private DescriptionJUnit38ClassRunner.OldTestClassAdaptingListener. asDescription(Test test)private DescriptionErrorReportingRunner. describeCause()DescriptionErrorReportingRunner. getDescription()DescriptionJUnit38ClassRunner. getDescription()DescriptionJUnit4ClassRunner. getDescription()Deprecated.private static DescriptionJUnit38ClassRunner. makeDescription(Test test)protected DescriptionJUnit4ClassRunner. methodDescription(java.lang.reflect.Method method)Deprecated.Methods in org.junit.internal.runners with parameters of type Description Modifier and Type Method Description private voidJUnit4ClassRunner. testAborted(RunNotifier notifier, Description description, java.lang.Throwable e)Deprecated.Constructors in org.junit.internal.runners with parameters of type Description Constructor Description ClassRoadie(RunNotifier notifier, TestClass testClass, Description description, java.lang.Runnable runnable)Deprecated.MethodRoadie(java.lang.Object test, TestMethod method, RunNotifier notifier, Description description)Deprecated. -
Uses of Description in org.junit.internal.runners.model
Fields in org.junit.internal.runners.model declared as Description Modifier and Type Field Description private DescriptionEachTestNotifier. descriptionConstructors in org.junit.internal.runners.model with parameters of type Description Constructor Description EachTestNotifier(RunNotifier notifier, Description description) -
Uses of Description in org.junit.rules
Methods in org.junit.rules with parameters of type Description Modifier and Type Method Description StatementDisableOnDebug. apply(Statement base, Description description)StatementExpectedException. apply(Statement base, Description description)StatementExternalResource. apply(Statement base, Description description)StatementRuleChain. apply(Statement base, Description description)Modifies the method-runningStatementto implement this test-running rule.StatementStopwatch. apply(Statement base, Description description)StatementTestRule. apply(Statement base, Description description)Modifies the method-runningStatementto implement this test-running rule.StatementTestWatcher. apply(Statement base, Description description)StatementTimeout. apply(Statement base, Description description)StatementVerifier. apply(Statement base, Description description)private static StatementRunRules. applyAll(Statement result, java.lang.Iterable<TestRule> rules, Description description)protected voidStopwatch. failed(long nanos, java.lang.Throwable e, Description description)Invoked when a test failsprotected voidStopwatch.InternalWatcher. failed(java.lang.Throwable e, Description description)protected voidTestWatcher. failed(java.lang.Throwable e, Description description)Invoked when a test failsprivate voidTestWatcher. failedQuietly(java.lang.Throwable e, Description description, java.util.List<java.lang.Throwable> errors)protected voidStopwatch. finished(long nanos, Description description)Invoked when a test method finishes (whether passing or failing)protected voidStopwatch.InternalWatcher. finished(Description description)protected voidTestWatcher. finished(Description description)Invoked when a test method finishes (whether passing or failing)private voidTestWatcher. finishedQuietly(Description description, java.util.List<java.lang.Throwable> errors)protected voidStopwatch.InternalWatcher. skipped(AssumptionViolatedException e, Description description)protected voidStopwatch. skipped(long nanos, AssumptionViolatedException e, Description description)Invoked when a test is skipped due to a failed assumption.protected voidTestWatcher. skipped(AssumptionViolatedException e, Description description)Invoked when a test is skipped due to a failed assumption.protected voidTestWatcher. skipped(AssumptionViolatedException e, Description description)Deprecated.private voidTestWatcher. skippedQuietly(AssumptionViolatedException e, Description description, java.util.List<java.lang.Throwable> errors)protected voidStopwatch.InternalWatcher. starting(Description description)protected voidTestName. starting(Description d)protected voidTestWatcher. starting(Description description)Invoked when a test is about to startprivate voidTestWatcher. startingQuietly(Description description, java.util.List<java.lang.Throwable> errors)protected voidStopwatch.InternalWatcher. succeeded(Description description)protected voidStopwatch. succeeded(long nanos, Description description)Invoked when a test succeedsprotected voidTestWatcher. succeeded(Description description)Invoked when a test succeedsprivate voidTestWatcher. succeededQuietly(Description description, java.util.List<java.lang.Throwable> errors)Constructors in org.junit.rules with parameters of type Description Constructor Description RunRules(Statement base, java.lang.Iterable<TestRule> rules, Description description) -
Uses of Description in org.junit.runner
Fields in org.junit.runner declared as Description Modifier and Type Field Description static DescriptionDescription. EMPTYDescribes a Runner which runs no testsstatic DescriptionDescription. TEST_MECHANISMDescribes 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 constructorprivate DescriptionFilterFactoryParams. topLevelDescriptionFields in org.junit.runner with type parameters of type Description Modifier and Type Field Description private java.util.Collection<Description>Description. fChildrenMethods in org.junit.runner that return Description Modifier and Type Method Description DescriptionDescription. childlessCopy()static DescriptionDescription. createSuiteDescription(java.lang.Class<?> testClass)Create aDescriptionnamed aftertestClassstatic DescriptionDescription. createSuiteDescription(java.lang.Class<?> testClass, java.lang.annotation.Annotation... annotations)Create aDescriptionnamed aftertestClassstatic DescriptionDescription. createSuiteDescription(java.lang.String name, java.io.Serializable uniqueId, java.lang.annotation.Annotation... annotations)Create aDescriptionnamedname.static DescriptionDescription. createSuiteDescription(java.lang.String name, java.lang.annotation.Annotation... annotations)Create aDescriptionnamedname.static DescriptionDescription. createTestDescription(java.lang.Class<?> clazz, java.lang.String name)Create aDescriptionof a single test namednamein the classclazz.static DescriptionDescription. createTestDescription(java.lang.Class<?> clazz, java.lang.String name, java.lang.annotation.Annotation... annotations)Create aDescriptionof a single test namednamein the classclazz.static DescriptionDescription. createTestDescription(java.lang.String className, java.lang.String name, java.io.Serializable uniqueId)Create aDescriptionof a single test namednamein the classclazz.static DescriptionDescription. createTestDescription(java.lang.String className, java.lang.String name, java.lang.annotation.Annotation... annotations)Create aDescriptionof a single test namednamein the 'class' namedclassName.DescriptionDescribable. getDescription()abstract DescriptionRunner. getDescription()DescriptionFilterFactoryParams. getTopLevelDescription()Methods in org.junit.runner that return types with arguments of type Description Modifier and Type Method Description java.util.ArrayList<Description>Description. getChildren()Gets the copy of the children of thisDescription.Methods in org.junit.runner with parameters of type Description Modifier and Type Method Description voidDescription. addChild(Description description)AddDescriptionas a child of the receiver.RequestRequest. filterWith(Description desiredDescription)Returns a Request that only runs tests whoseDescriptionmatches the given description.voidResult.Listener. testFinished(Description description)voidResult.Listener. testIgnored(Description description)voidResult.Listener. testRunStarted(Description description)Method parameters in org.junit.runner with type arguments of type Description Modifier and Type Method Description RequestRequest. sortWith(java.util.Comparator<Description> comparator)Returns a Request whose Tests can be run in a certain order, defined bycomparatorConstructors in org.junit.runner with parameters of type Description Constructor Description FilterFactoryParams(Description topLevelDescription, java.lang.String args) -
Uses of Description in org.junit.runner.manipulation
Fields in org.junit.runner.manipulation declared as Description Modifier and Type Field Description private DescriptionOrdering.Context. descriptionFields in org.junit.runner.manipulation with type parameters of type Description Modifier and Type Field Description private java.util.Comparator<Description>Sorter. comparatorprivate static java.util.Comparator<Description>Alphanumeric. COMPARATORMethods in org.junit.runner.manipulation that return Description Modifier and Type Method Description DescriptionOrdering.Context. getTarget()Gets the description for the top-level target being ordered.Methods in org.junit.runner.manipulation that return types with arguments of type Description Modifier and Type Method Description java.util.List<Description>Orderer. order(java.util.Collection<Description> descriptions)Orders the descriptions.protected abstract java.util.List<Description>Ordering. orderItems(java.util.Collection<Description> descriptions)Implemented by sub-classes to order the descriptions.protected java.util.List<Description>Sorter. orderItems(java.util.Collection<Description> descriptions)Implemented by sub-classes to order the descriptions.Methods in org.junit.runner.manipulation with parameters of type Description Modifier and Type Method Description intSorter. compare(Description o1, Description o2)static OrderingOrdering. definedBy(java.lang.Class<? extends Ordering.Factory> factoryClass, Description annotatedTestClass)Creates anOrderingfrom the given factory class.static OrderingOrdering. definedBy(Ordering.Factory factory, Description annotatedTestClass)Creates anOrderingfrom the given factory.static FilterFilter. matchMethodDescription(Description desiredDescription)Returns aFilterthat only runs the single method described bydesiredDescriptionabstract booleanFilter. shouldRun(Description description)Method parameters in org.junit.runner.manipulation with type arguments of type Description Modifier and Type Method Description java.util.List<Description>Orderer. order(java.util.Collection<Description> descriptions)Orders the descriptions.protected abstract java.util.List<Description>Ordering. orderItems(java.util.Collection<Description> descriptions)Implemented by sub-classes to order the descriptions.protected java.util.List<Description>Sorter. orderItems(java.util.Collection<Description> descriptions)Implemented by sub-classes to order the descriptions.Constructors in org.junit.runner.manipulation with parameters of type Description Constructor Description Context(Description description)Constructor parameters in org.junit.runner.manipulation with type arguments of type Description Constructor Description Sorter(java.util.Comparator<Description> comparator)Creates aSorterthat usescomparatorto sort tests -
Uses of Description in org.junit.runner.notification
Fields in org.junit.runner.notification declared as Description Modifier and Type Field Description private DescriptionFailure. fDescriptionMethods in org.junit.runner.notification that return Description Modifier and Type Method Description DescriptionFailure. getDescription()Methods in org.junit.runner.notification with parameters of type Description Modifier and Type Method Description voidRunNotifier. fireTestFinished(Description description)Invoke to tell listeners that an atomic test finished.voidRunNotifier. fireTestIgnored(Description description)Invoke to tell listeners that an atomic test was ignored.voidRunNotifier. fireTestRunStarted(Description description)Do not invoke.voidRunNotifier. fireTestStarted(Description description)Invoke to tell listeners that an atomic test is about to start.voidRunNotifier. fireTestSuiteFinished(Description description)Invoke to tell listeners that a test suite is about to finish.voidRunNotifier. fireTestSuiteStarted(Description description)Invoke to tell listeners that a test suite is about to start.voidRunListener. testFinished(Description description)Called when an atomic test has finished, whether the test succeeds or fails.voidSynchronizedRunListener. testFinished(Description description)voidRunListener. testIgnored(Description description)Called when a test will not be run, generally because a test method is annotated withIgnore.voidSynchronizedRunListener. testIgnored(Description description)voidRunListener. testRunStarted(Description description)Called before any tests have been run.voidSynchronizedRunListener. testRunStarted(Description description)voidRunListener. testStarted(Description description)Called when an atomic test is about to be started.voidSynchronizedRunListener. testStarted(Description description)voidRunListener. testSuiteFinished(Description description)Called when a test suite has finished, whether the test suite succeeds or fails.voidSynchronizedRunListener. testSuiteFinished(Description description)Called when a test suite has finished, whether the test suite succeeds or fails.voidRunListener. testSuiteStarted(Description description)Called when a test suite is about to be started.voidSynchronizedRunListener. testSuiteStarted(Description description)Called when a test suite is about to be started.Constructors in org.junit.runner.notification with parameters of type Description Constructor Description Failure(Description description, java.lang.Throwable thrownException)Constructs aFailurewith the given description and exception. -
Uses of Description in org.junit.runners
Fields in org.junit.runners declared as Description Modifier and Type Field Description private DescriptionParameterized.AssumptionViolationRunner. descriptionFields in org.junit.runners with type parameters of type Description Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<FrameworkMethod,Description>BlockJUnit4ClassRunner. methodDescriptionsMethods in org.junit.runners that return Description Modifier and Type Method Description protected DescriptionBlockJUnit4ClassRunner. describeChild(FrameworkMethod method)protected abstract DescriptionParentRunner. describeChild(T child)Returns aDescriptionforchild, which can be assumed to be an element of the list returned byParentRunner.getChildren()protected DescriptionSuite. describeChild(Runner child)DescriptionParameterized.AssumptionViolationRunner. getDescription()DescriptionParentRunner. getDescription()Methods in org.junit.runners with parameters of type Description Modifier and Type Method Description StatementRuleContainer. apply(FrameworkMethod method, Description description, java.lang.Object target, Statement statement)Applies all the rules ordered accordingly to the specifiedstatement.protected voidParentRunner. runLeaf(Statement statement, Description description, RunNotifier notifier)Runs aStatementthat represents a leaf (aka atomic) test.
-