Skip navigation links
A C E G H I J L M N P R S T U W 

A

accept(Class) - Method in class com.googlecode.junittoolbox.util.JUnit3TestChecker
 
accept(Class) - Method in class com.googlecode.junittoolbox.util.JUnit4TestChecker
 
accept(Class) - Method in class com.googlecode.junittoolbox.util.NonAbstractClassFilter
 
add(RunnableAssert, RunnableAssert...) - Method in class com.googlecode.junittoolbox.MultithreadingTester
Adds the given RunnableAsserts to this MultithreadingTester, returns this to allow method chaining.
add(Collection<RunnableAssert>) - Method in class com.googlecode.junittoolbox.MultithreadingTester
Adds the given RunnableAsserts to this MultithreadingTester, returns this to allow method chaining.
add(Runnable, Runnable...) - Method in class com.googlecode.junittoolbox.MultithreadingTester
Converts the given Runnables into RunnableAsserts and adds them to this MultithreadingTester, returns this to allow method chaining.
add(Callable<?>, Callable<?>...) - Method in class com.googlecode.junittoolbox.MultithreadingTester
Converts the given Callables into RunnableAsserts and adds them to this MultithreadingTester, returns this to allow method chaining.
add(Throwable) - Method in exception com.googlecode.junittoolbox.util.MultiException
 

C

checkforTestAnnotatedMethod(Class) - Method in class com.googlecode.junittoolbox.util.JUnit4TestChecker
 
com.googlecode.junittoolbox - package com.googlecode.junittoolbox
Useful classes for writing automated tests with JUnit.
com.googlecode.junittoolbox.util - package com.googlecode.junittoolbox.util
 

E

ExcludeCategories - Annotation Type in com.googlecode.junittoolbox
This annotation can be used with the WildcardPatternSuite and the ParallelSuite runner to exclude tests if they are annotated with @Category.

G

getConstructor(Class<?>, Class[]) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
getMessage() - Method in exception com.googlecode.junittoolbox.util.MultiException
 
getMethod(Object, String, Class[]) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
getMethod(Class<?>, String, Class[]) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 

H

handleAssumptionViolation(AssumptionViolatedException) - Method in class com.googlecode.junittoolbox.ParallelRunner.ParallelTheoryAnchor
Overridden to make the method synchronized.
handleDataPointSuccess() - Method in class com.googlecode.junittoolbox.ParallelRunner.ParallelTheoryAnchor
Overridden to make the method synchronized.

I

IncludeCategories - Annotation Type in com.googlecode.junittoolbox
This annotation can be used with the WildcardPatternSuite and the ParallelSuite runner to include tests if they are annotated with @Category.
InnerTestClassesSuite - Class in com.googlecode.junittoolbox
Runs all inner test classes of the class annotated with @RunWith(InnerTestClassesSuite.class).
InnerTestClassesSuite(Class<?>, RunnerBuilder) - Constructor for class com.googlecode.junittoolbox.InnerTestClassesSuite
 
instantiate(ClassLoader, String, Class<T>) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
instantiateObject(String, Class[], Object[], ClassLoader) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
instantiateOneArg(ClassLoader, String, Class, Object) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
instantiateTwoArgs(ClassLoader, String, Class, Object, Class, Object) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
invokeGetter(Object, String) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
invokeMethodWithArray(Object, Method, Object[]) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
invokeMethodWithArray2(Object, Method, Object[]) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
invokeSetter(Object, String, Class, Object) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
invokeSetter(Object, Method, Object) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
isEmpty() - Method in exception com.googlecode.junittoolbox.util.MultiException
 
isRunWithPresentInClassLoader() - Method in class com.googlecode.junittoolbox.util.JUnit4TestChecker
 
isSuiteOnly(Class) - Method in class com.googlecode.junittoolbox.util.JUnit3TestChecker
 

J

JUnit3TestChecker - Class in com.googlecode.junittoolbox.util
Copied from Maven Surefire source code.
JUnit3TestChecker(ClassLoader) - Constructor for class com.googlecode.junittoolbox.util.JUnit3TestChecker
 
JUnit4TestChecker - Class in com.googlecode.junittoolbox.util
Copied from Maven Surefire source code.
JUnit4TestChecker(ClassLoader) - Constructor for class com.googlecode.junittoolbox.util.JUnit4TestChecker
 

L

loadClass(ClassLoader, String) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 

M

methodBlock(FrameworkMethod) - Method in class com.googlecode.junittoolbox.ParallelRunner
 
MultiException - Exception in com.googlecode.junittoolbox.util
Allows multiple exceptions to be thrown as a single exception -- adapted from Jetty.
MultiException() - Constructor for exception com.googlecode.junittoolbox.util.MultiException
 
MultithreadingTester - Class in com.googlecode.junittoolbox
Runs one ore more RunnableAsserts concurrently in multiple threads several times.
MultithreadingTester() - Constructor for class com.googlecode.junittoolbox.MultithreadingTester
 

N

newInstance(Constructor, Object[]) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
NonAbstractClassFilter - Class in com.googlecode.junittoolbox.util
Copied from Maven Surefire source code.
NonAbstractClassFilter() - Constructor for class com.googlecode.junittoolbox.util.NonAbstractClassFilter
 
numRoundsPerThread(int) - Method in class com.googlecode.junittoolbox.MultithreadingTester
Sets the number of rounds per thread, default is 1000, returns this to allow method chaining.
numThreads(int) - Method in class com.googlecode.junittoolbox.MultithreadingTester
Sets the number of threads used by MultithreadingTester.run(), default is 100, returns this to allow method chaining.

P

ParallelParameterized - Class in com.googlecode.junittoolbox
An extension of the JUnit Parameterized runner, which executes the tests for each parameter set concurrently.
ParallelParameterized(Class<?>) - Constructor for class com.googlecode.junittoolbox.ParallelParameterized
 
ParallelRunner - Class in com.googlecode.junittoolbox
An extension of the JUnit Theories runner, which executes all @Test methods concurrently.
ParallelRunner(Class<?>) - Constructor for class com.googlecode.junittoolbox.ParallelRunner
 
ParallelRunner.ParallelTheoryAnchor - Class in com.googlecode.junittoolbox
 
ParallelSuite - Class in com.googlecode.junittoolbox
An extension of the WildcardPatternSuite runner, which executes its children classes concurrently.
ParallelSuite(Class<?>, RunnerBuilder) - Constructor for class com.googlecode.junittoolbox.ParallelSuite
 
ParallelTheoryAnchor(FrameworkMethod, TestClass) - Constructor for class com.googlecode.junittoolbox.ParallelRunner.ParallelTheoryAnchor
 
pollEvery(long, TimeUnit) - Method in class com.googlecode.junittoolbox.PollingWait
Default: 50 milliseconds.
PollingWait - Class in com.googlecode.junittoolbox
Helper class to wait for asynchronous operations.
PollingWait() - Constructor for class com.googlecode.junittoolbox.PollingWait
 

R

ReflectionUtils - Class in com.googlecode.junittoolbox.util
Copied from Maven Surefire source code.
run() - Method in class com.googlecode.junittoolbox.MultithreadingTester
Starts multiple threads, which execute the added RunnableAsserts several times.
run() - Method in class com.googlecode.junittoolbox.RunnableAssert
This method might be executed multiple times by PollingWait.until(com.googlecode.junittoolbox.RunnableAssert), if it throws any Error or Exception.
RunnableAssert - Class in com.googlecode.junittoolbox
Abstract base class to encapsulate assertions, see PollingWait for usage example.
RunnableAssert(String) - Constructor for class com.googlecode.junittoolbox.RunnableAssert
 
runWithAssignment(Assignments) - Method in class com.googlecode.junittoolbox.ParallelRunner.ParallelTheoryAnchor
 
runWithIncompleteAssignment(Assignments) - Method in class com.googlecode.junittoolbox.ParallelRunner.ParallelTheoryAnchor
 

S

sneakyThrow(Throwable) - Static method in class com.googlecode.junittoolbox.util.TigerThrower
Will throw the given Throwable.
SuiteClasses - Annotation Type in com.googlecode.junittoolbox
This annotation can be used with the WildcardPatternSuite and the ParallelSuite runner.

T

throwIfNotEmpty() - Method in exception com.googlecode.junittoolbox.util.MultiException
If this MultiException is empty then no action is taken, if it contains a single Throwable that is thrown, otherwise this MultiException is thrown.
TigerThrower<T extends Throwable> - Class in com.googlecode.junittoolbox.util
This class provides the method TigerThrower.sneakyThrow(Throwable) which enables you to throw any checked Exception from any method, even if its type is not listed in the method signature.
TigerThrower() - Constructor for class com.googlecode.junittoolbox.util.TigerThrower
 
timeoutAfter(long, TimeUnit) - Method in class com.googlecode.junittoolbox.PollingWait
Default: 30 seconds.
toString() - Method in class com.googlecode.junittoolbox.RunnableAssert
 
tryGetMethod(Class<?>, String, Class[]) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 
tryLoadClass(ClassLoader, String) - Static method in class com.googlecode.junittoolbox.util.ReflectionUtils
 

U

until(RunnableAssert) - Method in class com.googlecode.junittoolbox.PollingWait
Repetitively executes the given runnableAssert until it succeeds without throwing an Error or Exception or until the configured timeout is reached, in which case an AssertionError will be thrown.
until(Callable<Boolean>) - Method in class com.googlecode.junittoolbox.PollingWait
Repetitively executes the given Callable<Boolean> until it returns true or until the configured timeout is reached, in which case an AssertionError will be thrown.

W

WildcardPatternSuite - Class in com.googlecode.junittoolbox
A replacement for the JUnit runners Suite and Categories, which allows you to specify the children classes of your test suite class using a wildcard pattern.
WildcardPatternSuite(Class<?>, RunnerBuilder) - Constructor for class com.googlecode.junittoolbox.WildcardPatternSuite
 
A C E G H I J L M N P R S T U W 
Skip navigation links

Copyright © 2017. All rights reserved.