Uses of Class
org.junit.runners.model.FrameworkMethod
Packages that use FrameworkMethod
-
Uses of FrameworkMethod in org.junit.experimental.categories
Methods in org.junit.experimental.categories with parameters of type FrameworkMethodModifier and TypeMethodDescriptionCategoryValidator.validateAnnotatedMethod(FrameworkMethod method) Adds toerrorsa throwable for each problem detected. -
Uses of FrameworkMethod in org.junit.experimental.theories
Fields in org.junit.experimental.theories declared as FrameworkMethodMethods in org.junit.experimental.theories that return types with arguments of type FrameworkMethodMethods in org.junit.experimental.theories with parameters of type FrameworkMethodModifier and TypeMethodDescriptionTheories.methodBlock(FrameworkMethod method) private StatementTheories.TheoryAnchor.methodCompletesWithParameters(FrameworkMethod method, Assignments complete, Object freshInstance) Constructors in org.junit.experimental.theories with parameters of type FrameworkMethod -
Uses of FrameworkMethod in org.junit.experimental.theories.internal
Fields in org.junit.experimental.theories.internal declared as FrameworkMethodModifier and TypeFieldDescriptionprivate final FrameworkMethodAllMembersSupplier.MethodParameterValue.methodMethods in org.junit.experimental.theories.internal that return types with arguments of type FrameworkMethodModifier and TypeMethodDescriptionprotected Collection<FrameworkMethod> AllMembersSupplier.getDataPointsMethods(ParameterSignature sig) protected Collection<FrameworkMethod> SpecificDataPointsSupplier.getDataPointsMethods(ParameterSignature sig) protected Collection<FrameworkMethod> AllMembersSupplier.getSingleDataPointMethods(ParameterSignature sig) protected Collection<FrameworkMethod> SpecificDataPointsSupplier.getSingleDataPointMethods(ParameterSignature sig) Constructors in org.junit.experimental.theories.internal with parameters of type FrameworkMethod -
Uses of FrameworkMethod in org.junit.internal.runners.statements
Fields in org.junit.internal.runners.statements declared as FrameworkMethodFields in org.junit.internal.runners.statements with type parameters of type FrameworkMethodModifier and TypeFieldDescriptionprivate final List<FrameworkMethod> RunAfters.aftersprivate final List<FrameworkMethod> RunBefores.beforesMethods in org.junit.internal.runners.statements with parameters of type FrameworkMethodModifier and TypeMethodDescriptionprotected voidRunAfters.invokeMethod(FrameworkMethod method) protected voidRunBefores.invokeMethod(FrameworkMethod method) Constructors in org.junit.internal.runners.statements with parameters of type FrameworkMethodConstructor parameters in org.junit.internal.runners.statements with type arguments of type FrameworkMethodModifierConstructorDescriptionRunAfters(Statement next, List<FrameworkMethod> afters, Object target) RunBefores(Statement next, List<FrameworkMethod> befores, Object target) -
Uses of FrameworkMethod in org.junit.rules
Methods in org.junit.rules with parameters of type FrameworkMethodModifier and TypeMethodDescriptionMethodRule.apply(Statement base, FrameworkMethod method, Object target) Modifies the method-runningStatementto implement an additional test-running rule.TestWatchman.apply(Statement base, FrameworkMethod method, Object target) Deprecated.voidTestWatchman.failed(Throwable e, FrameworkMethod method) Deprecated.Invoked when a test method failsvoidTestWatchman.finished(FrameworkMethod method) Deprecated.Invoked when a test method finishes (whether passing or failing)voidTestWatchman.starting(FrameworkMethod method) Deprecated.Invoked when a test method is about to startvoidTestWatchman.succeeded(FrameworkMethod method) Deprecated.Invoked when a test method succeeds -
Uses of FrameworkMethod in org.junit.runners
Fields in org.junit.runners declared as FrameworkMethodModifier and TypeFieldDescriptionprivate final FrameworkMethodParameterized.RunnersFactory.parametersMethodFields in org.junit.runners with type parameters of type FrameworkMethodModifier and TypeFieldDescriptionprivate final ConcurrentMap<FrameworkMethod, Description> BlockJUnit4ClassRunner.methodDescriptionsMethods in org.junit.runners that return FrameworkMethodModifier and TypeMethodDescriptionprivate static FrameworkMethodParameterized.RunnersFactory.getParametersMethod(TestClass testClass) Methods in org.junit.runners that return types with arguments of type FrameworkMethodModifier and TypeMethodDescriptionprotected List<FrameworkMethod> BlockJUnit4ClassRunner.computeTestMethods()Returns the methods that run tests.protected List<FrameworkMethod> BlockJUnit4ClassRunner.getChildren()Methods in org.junit.runners with parameters of type FrameworkMethodModifier and TypeMethodDescriptionParameterized.RunnersFactory.allParameters(TestClass testClass, FrameworkMethod parametersMethod) RuleContainer.apply(FrameworkMethod method, Description description, Object target, Statement statement) Applies all the rules ordered accordingly to the specifiedstatement.protected ObjectBlockJUnit4ClassRunner.createTest(FrameworkMethod method) Returns a new fixture to run a particular testmethodagainst.protected DescriptionBlockJUnit4ClassRunner.describeChild(FrameworkMethod method) protected booleanBlockJUnit4ClassRunner.isIgnored(FrameworkMethod child) Evaluates whetherFrameworkMethods are ignored based on theIgnoreannotation.protected StatementBlockJUnit4ClassRunner.methodBlock(FrameworkMethod method) Returns a Statement that, when executed, either returns normally ifmethodpasses, or throws an exception ifmethodfails.protected StatementBlockJUnit4ClassRunner.methodInvoker(FrameworkMethod method, Object test) private static ExceptionParameterized.RunnersFactory.parametersMethodReturnedWrongType(TestClass testClass, FrameworkMethod parametersMethod) protected StatementBlockJUnit4ClassRunner.possiblyExpectingExceptions(FrameworkMethod method, Object test, Statement next) Returns aStatement: ifmethod's@Testannotation has theTest.expected()attribute, return normally only ifnextthrows an exception of the correct type, and throw an exception otherwise.protected voidBlockJUnit4ClassRunner.runChild(FrameworkMethod method, RunNotifier notifier) protected StringBlockJUnit4ClassRunner.testName(FrameworkMethod method) Returns the name that describesmethodforDescriptions.protected StatementBlockJUnit4ClassRunner.withAfters(FrameworkMethod method, Object target, Statement statement) Returns aStatement: run all non-overridden@Aftermethods on this class and superclasses before runningnext; all After methods are always executed: exceptions thrown by previous steps are combined, if necessary, with exceptions from After methods into aMultipleFailureException.protected StatementBlockJUnit4ClassRunner.withBefores(FrameworkMethod method, Object target, Statement statement) Returns aStatement: run all non-overridden@Beforemethods on this class and superclasses before runningnext; if any throws an Exception, stop execution and pass the exception on.protected StatementBlockJUnit4ClassRunner.withPotentialTimeout(FrameworkMethod method, Object test, Statement next) Deprecated.private StatementBlockJUnit4ClassRunner.withRules(FrameworkMethod method, Object target, Statement statement) -
Uses of FrameworkMethod in org.junit.runners.model
Fields in org.junit.runners.model with type parameters of type FrameworkMethodModifier and TypeFieldDescriptionprivate final Map<Class<? extends Annotation>, List<FrameworkMethod>> TestClass.methodsForAnnotationsMethods in org.junit.runners.model that return types with arguments of type FrameworkMethodModifier and TypeMethodDescriptionTestClass.getAnnotatedMethods()Returns, efficiently, all the non-overridden methods in this class and its superclasses that are annotated}.TestClass.getAnnotatedMethods(Class<? extends Annotation> annotationClass) Returns, efficiently, all the non-overridden methods in this class and its superclasses that are annotated withannotationClass.Methods in org.junit.runners.model with parameters of type FrameworkMethodModifier and TypeMethodDescriptionintTestClass.MethodComparator.compare(FrameworkMethod left, FrameworkMethod right) booleanFrameworkMethod.isShadowedBy(FrameworkMethod other) Method parameters in org.junit.runners.model with type arguments of type FrameworkMethodModifier and TypeMethodDescriptionprotected voidTestClass.scanAnnotatedMembers(Map<Class<? extends Annotation>, List<FrameworkMethod>> methodsForAnnotations, Map<Class<? extends Annotation>, List<FrameworkField>> fieldsForAnnotations) -
Uses of FrameworkMethod in org.junit.runners.parameterized
Methods in org.junit.runners.parameterized with parameters of type FrameworkMethodModifier and TypeMethodDescriptionprotected voidBlockJUnit4ClassRunnerWithParameters.RunAfterParams.invokeMethod(FrameworkMethod method) protected voidBlockJUnit4ClassRunnerWithParameters.RunBeforeParams.invokeMethod(FrameworkMethod method) protected StringBlockJUnit4ClassRunnerWithParameters.testName(FrameworkMethod method) Constructor parameters in org.junit.runners.parameterized with type arguments of type FrameworkMethodModifierConstructorDescription(package private)RunAfterParams(Statement next, List<FrameworkMethod> afters) (package private)RunBeforeParams(Statement next, List<FrameworkMethod> befores) -
Uses of FrameworkMethod in org.junit.validator
Methods in org.junit.validator that return types with arguments of type FrameworkMethodModifier and TypeMethodDescription(package private) Iterable<FrameworkMethod> AnnotationsValidator.MethodValidator.getAnnotatablesForTestClass(TestClass testClass) Methods in org.junit.validator with parameters of type FrameworkMethodModifier and TypeMethodDescriptionAnnotationsValidator.MethodValidator.validateAnnotatable(AnnotationValidator validator, FrameworkMethod method) AnnotationValidator.validateAnnotatedMethod(FrameworkMethod method) Validates annotation on the given method.