Uses of Class
org.junit.runners.model.FrameworkMethod
-
Packages that use FrameworkMethod Package Description org.junit.experimental.categories org.junit.experimental.theories org.junit.experimental.theories.internal org.junit.internal.runners.statements org.junit.rules org.junit.runners Provides standardRunnerimplementations.org.junit.runners.model org.junit.runners.parameterized org.junit.validator -
-
Uses of FrameworkMethod in org.junit.experimental.categories
Methods in org.junit.experimental.categories with parameters of type FrameworkMethod Modifier and Type Method Description java.util.List<java.lang.Exception>CategoryValidator. validateAnnotatedMethod(FrameworkMethod method)Adds toerrorsa throwable for each problem detected. -
Uses of FrameworkMethod in org.junit.experimental.theories
Methods in org.junit.experimental.theories that return types with arguments of type FrameworkMethod Modifier and Type Method Description protected java.util.List<FrameworkMethod>Theories. computeTestMethods()Methods in org.junit.experimental.theories with parameters of type FrameworkMethod Modifier and Type Method Description StatementTheories. methodBlock(FrameworkMethod method)Constructors in org.junit.experimental.theories with parameters of type FrameworkMethod Constructor Description TheoryAnchor(FrameworkMethod testMethod, TestClass testClass) -
Uses of FrameworkMethod in org.junit.experimental.theories.internal
Methods in org.junit.experimental.theories.internal that return types with arguments of type FrameworkMethod Modifier and Type Method Description protected java.util.Collection<FrameworkMethod>AllMembersSupplier. getDataPointsMethods(ParameterSignature sig)protected java.util.Collection<FrameworkMethod>SpecificDataPointsSupplier. getDataPointsMethods(ParameterSignature sig)protected java.util.Collection<FrameworkMethod>AllMembersSupplier. getSingleDataPointMethods(ParameterSignature sig)protected java.util.Collection<FrameworkMethod>SpecificDataPointsSupplier. getSingleDataPointMethods(ParameterSignature sig) -
Uses of FrameworkMethod in org.junit.internal.runners.statements
Methods in org.junit.internal.runners.statements with parameters of type FrameworkMethod Modifier and Type Method Description protected voidRunAfters. invokeMethod(FrameworkMethod method)protected voidRunBefores. invokeMethod(FrameworkMethod method)Constructors in org.junit.internal.runners.statements with parameters of type FrameworkMethod Constructor Description InvokeMethod(FrameworkMethod testMethod, java.lang.Object target)Constructor parameters in org.junit.internal.runners.statements with type arguments of type FrameworkMethod Constructor Description RunAfters(Statement next, java.util.List<FrameworkMethod> afters, java.lang.Object target)RunBefores(Statement next, java.util.List<FrameworkMethod> befores, java.lang.Object target) -
Uses of FrameworkMethod in org.junit.rules
Methods in org.junit.rules with parameters of type FrameworkMethod Modifier and Type Method Description StatementMethodRule. apply(Statement base, FrameworkMethod method, java.lang.Object target)Modifies the method-runningStatementto implement an additional test-running rule.StatementTestWatchman. apply(Statement base, FrameworkMethod method, java.lang.Object target)Deprecated.voidTestWatchman. failed(java.lang.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
Methods in org.junit.runners that return types with arguments of type FrameworkMethod Modifier and Type Method Description protected java.util.List<FrameworkMethod>BlockJUnit4ClassRunner. computeTestMethods()Returns the methods that run tests.protected java.util.List<FrameworkMethod>BlockJUnit4ClassRunner. getChildren()Methods in org.junit.runners with parameters of type FrameworkMethod Modifier and Type Method Description protected java.lang.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, java.lang.Object test)protected StatementBlockJUnit4ClassRunner. possiblyExpectingExceptions(FrameworkMethod method, java.lang.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 java.lang.StringBlockJUnit4ClassRunner. testName(FrameworkMethod method)Returns the name that describesmethodforDescriptions.protected StatementBlockJUnit4ClassRunner. withAfters(FrameworkMethod method, java.lang.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, java.lang.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, java.lang.Object test, Statement next)Deprecated. -
Uses of FrameworkMethod in org.junit.runners.model
Methods in org.junit.runners.model that return types with arguments of type FrameworkMethod Modifier and Type Method Description java.util.List<FrameworkMethod>TestClass. getAnnotatedMethods()Returns, efficiently, all the non-overridden methods in this class and its superclasses that are annotated}.java.util.List<FrameworkMethod>TestClass. getAnnotatedMethods(java.lang.Class<? extends java.lang.annotation.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 FrameworkMethod Modifier and Type Method Description booleanFrameworkMethod. isShadowedBy(FrameworkMethod other)Method parameters in org.junit.runners.model with type arguments of type FrameworkMethod Modifier and Type Method Description protected voidTestClass. scanAnnotatedMembers(java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.util.List<FrameworkMethod>> methodsForAnnotations, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.util.List<FrameworkField>> fieldsForAnnotations) -
Uses of FrameworkMethod in org.junit.runners.parameterized
Methods in org.junit.runners.parameterized with parameters of type FrameworkMethod Modifier and Type Method Description protected java.lang.StringBlockJUnit4ClassRunnerWithParameters. testName(FrameworkMethod method) -
Uses of FrameworkMethod in org.junit.validator
Methods in org.junit.validator with parameters of type FrameworkMethod Modifier and Type Method Description java.util.List<java.lang.Exception>AnnotationValidator. validateAnnotatedMethod(FrameworkMethod method)Validates annotation on the given method.
-