A B C D E F G H I J L M N O P R S T V W

A

AbstractFloatingPointNumberParameterHandler - Class in net.sf.twip.parameterhandler
 
AbstractFloatingPointNumberParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.AbstractFloatingPointNumberParameterHandler
 
AbstractNumberParameterHandler - Class in net.sf.twip.parameterhandler
You can assume number parameters to be >, >=, !=, <=, or < to a numeric constant.
AbstractNumberParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.AbstractNumberParameterHandler
 
AbstractNumberParameterHandler.Tester - Interface in net.sf.twip.parameterhandler
 
Assume - Annotation Type in net.sf.twip
Limits the set of valid values for a parameter to a test method.
AutoTwip - Annotation Type in net.sf.twip
Annotate a public static method or field to use it automatically for TwiP parameters of its type, instead of annotating those parameters with Values.
AutoTwipParameterHandler - Class in net.sf.twip.parameterhandler
 
AutoTwipParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.AutoTwipParameterHandler
 

B

BooleanParameterHandler - Class in net.sf.twip.parameterhandler
 
BooleanParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.BooleanParameterHandler
 
ByteParameterHandler - Class in net.sf.twip.parameterhandler
 
ByteParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.ByteParameterHandler
 

C

CharacterParameterHandler - Class in net.sf.twip.parameterhandler
 
CharacterParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.CharacterParameterHandler
 
check(Expectations) - Method in class net.sf.twip.jmock.TwiPjMockTest
Add these Expectations to the Mockery.
classExists(String) - Static method in class net.sf.twip.util.ServiceLoaderWrapper
 
computeParameterizedTestMethods(Method) - Static method in class net.sf.twip.TwiP
 
computeTestMethods() - Method in class net.sf.twip.TwiP
 
create(List<T>) - Static method in class net.sf.twip.util.ReverseIterable
 

D

DoubleParameterHandler - Class in net.sf.twip.parameterhandler
 
DoubleParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.DoubleParameterHandler
 

E

EnumParameterHandler - Class in net.sf.twip.parameterhandler
Enums can be compared by their ordinal.
EnumParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.EnumParameterHandler
 

F

FailedFrameworkMethod - Class in net.sf.twip.internal
A dummy FrameworkMethod that just throws an exception on FrameworkMethod.invokeExplosively(Object, Object...)
FailedFrameworkMethod(Method, Throwable) - Constructor for class net.sf.twip.internal.FailedFrameworkMethod
 
FloatParameterHandler - Class in net.sf.twip.parameterhandler
 
FloatParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.FloatParameterHandler
 
FrameworkMethodWithArgs - Class in net.sf.twip.internal
A FrameworkMethod that knows about a fixed set of parameters passed into FrameworkMethod.invokeExplosively(Object, Object...)
FrameworkMethodWithArgs(FrameworkMethodWithArgs, Object) - Constructor for class net.sf.twip.internal.FrameworkMethodWithArgs
Copy-Constructor that appends one parameter.
FrameworkMethodWithArgs(Method) - Constructor for class net.sf.twip.internal.FrameworkMethodWithArgs
Constructor that takes a method, defines the description to be its name, and define no parameters; you'll have to call the other constructor to derive a new instance with additional parameters, or invokeExplosively will fail.

G

getAnnotation(Class<T>) - Method in class net.sf.twip.util.Parameter
 
getAnnotations() - Method in class net.sf.twip.util.Parameter
 
getComparable(String) - Method in class net.sf.twip.parameterhandler.AbstractNumberParameterHandler
 
getComparable(String) - Method in class net.sf.twip.parameterhandler.ByteParameterHandler
 
getComparable(String) - Method in class net.sf.twip.parameterhandler.DoubleParameterHandler
 
getComparable(String) - Method in class net.sf.twip.parameterhandler.EnumParameterHandler
 
getComparable(String) - Method in class net.sf.twip.parameterhandler.FloatParameterHandler
 
getComparable(String) - Method in class net.sf.twip.parameterhandler.IntegerParameterHandler
 
getComparable(String) - Method in class net.sf.twip.parameterhandler.LongParameterHandler
 
getComparable(String) - Method in class net.sf.twip.parameterhandler.ShortParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.AutoTwipParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.BooleanParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.ByteParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.CharacterParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.DoubleParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.EnumParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.FloatParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.IntegerParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.LongParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.ParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.ShortParameterHandler
 
getDefaultParameterValues() - Method in class net.sf.twip.parameterhandler.StringParameterHandler
 
getDescription() - Method in class net.sf.twip.internal.FrameworkMethodWithArgs
 
getFailures() - Method in error net.sf.twip.verify.VerificationFailedError
 
getIndex() - Method in class net.sf.twip.util.Parameter
 
getMessage() - Method in error net.sf.twip.verify.VerificationAlreadyInitializedError
 
getMessage() - Method in error net.sf.twip.verify.VerificationFailedError
 
getMethod() - Method in class net.sf.twip.util.Parameter
 
getParameterValues() - Method in class net.sf.twip.parameterhandler.ParameterHandler
 
getTester(String) - Method in class net.sf.twip.parameterhandler.AbstractFloatingPointNumberParameterHandler
 
getTester(String) - Method in class net.sf.twip.parameterhandler.AbstractNumberParameterHandler
 
getType() - Method in class net.sf.twip.util.Parameter
 

H

hasNext() - Method in class net.sf.twip.util.ReverseIterator
 

I

IntegerParameterHandler - Class in net.sf.twip.parameterhandler
 
IntegerParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.IntegerParameterHandler
 
invokeExplosively(Object, Object...) - Method in class net.sf.twip.internal.FailedFrameworkMethod
 
invokeExplosively(Object, Object...) - Method in class net.sf.twip.internal.FrameworkMethodWithArgs
 
isAnnotationPresent(Class<T>) - Method in class net.sf.twip.util.Parameter
 
isNaN(Object) - Method in class net.sf.twip.parameterhandler.AbstractFloatingPointNumberParameterHandler
 
isNaN(Object) - Method in class net.sf.twip.parameterhandler.DoubleParameterHandler
 
isNaN(Object) - Method in class net.sf.twip.parameterhandler.FloatParameterHandler
 
isNegativeInfinity(Object) - Method in class net.sf.twip.parameterhandler.AbstractFloatingPointNumberParameterHandler
 
isNegativeInfinity(Object) - Method in class net.sf.twip.parameterhandler.DoubleParameterHandler
 
isNegativeInfinity(Object) - Method in class net.sf.twip.parameterhandler.FloatParameterHandler
 
isPositiveInfinity(Object) - Method in class net.sf.twip.parameterhandler.AbstractFloatingPointNumberParameterHandler
 
isPositiveInfinity(Object) - Method in class net.sf.twip.parameterhandler.DoubleParameterHandler
 
isPositiveInfinity(Object) - Method in class net.sf.twip.parameterhandler.FloatParameterHandler
 
iterator() - Method in class net.sf.twip.util.ReverseIterable
 
iterator() - Method in class net.sf.twip.util.ServiceLoaderWrapper
 

J

JMockExtension - Class in net.sf.twip.jmock
A TwipExtension that creates a JMock-Mockery and mocks all member variables of the test class that are annotated by Mock.
JMockExtension() - Constructor for class net.sf.twip.jmock.JMockExtension
 
JMockExtensionDelegate - Class in net.sf.twip.jmock
A TwipExtension that creates a JMock-Mockery and mocks all member variables of the test class that are annotated by Mock.
JMockExtensionDelegate() - Constructor for class net.sf.twip.jmock.JMockExtensionDelegate
 

L

load(Class<T>) - Static method in class net.sf.twip.util.ServiceLoaderWrapper
 
LongParameterHandler - Class in net.sf.twip.parameterhandler
 
LongParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.LongParameterHandler
 

M

methodInvoker(FrameworkMethod, Object) - Method in class net.sf.twip.TwiP
 
Mock - Annotation Type in net.sf.twip.jmock
Indicates that this interface member variable should be instantiated as a mock (see JMockExtension).
mockery - Variable in class net.sf.twip.jmock.TwiPjMockTest
A readily defined Mockery for subclasses to use
MockitoExtension - Class in net.sf.twip.mockito
Allows you to use the mockito @Mock annotation.
MockitoExtension() - Constructor for class net.sf.twip.mockito.MockitoExtension
 

N

net.sf.twip - package net.sf.twip
 
net.sf.twip.internal - package net.sf.twip.internal
 
net.sf.twip.jmock - package net.sf.twip.jmock
 
net.sf.twip.mockito - package net.sf.twip.mockito
 
net.sf.twip.parameterhandler - package net.sf.twip.parameterhandler
 
net.sf.twip.util - package net.sf.twip.util
 
net.sf.twip.verify - package net.sf.twip.verify
 
next() - Method in class net.sf.twip.util.ReverseIterator
 
NotNull - Annotation Type in net.sf.twip
Marks a parameter as being not allowed to be null.

O

of(Method) - Static method in class net.sf.twip.util.Parameter
 

P

parameter - Variable in class net.sf.twip.parameterhandler.ParameterHandler
 
Parameter - Class in net.sf.twip.util
In java.lang.reflect the parameters are not first class citizens: you can only access them by several index methods, and the name is not kept in the class file.
Parameter(Method, int) - Constructor for class net.sf.twip.util.Parameter
 
ParameterHandler - Class in net.sf.twip.parameterhandler
Produces all the values to call for one Parameter, including only those that match the Assume or NotNull annotations.
ParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.ParameterHandler
 

R

remove() - Method in class net.sf.twip.util.ReverseIterator
 
ReverseIterable<T> - Class in net.sf.twip.util
An Iterable that traverses a List in reverse order by using a ReverseIterator.
ReverseIterable(List<T>) - Constructor for class net.sf.twip.util.ReverseIterable
 
ReverseIterator<T> - Class in net.sf.twip.util
An Iterator that traverses a List in reverse order by using a ListIterator.
ReverseIterator(List<T>) - Constructor for class net.sf.twip.util.ReverseIterator
 

S

ServiceLoaderWrapper<T> - Class in net.sf.twip.util
Loads all implementations if a service interface; uses either the Java 1.6 java.util.ServiceLoader or the Sun Java 1.5 sun.misc.Service.
ServiceLoadingException - Exception in net.sf.twip.util
 
ServiceLoadingException(String) - Constructor for exception net.sf.twip.util.ServiceLoadingException
 
ServiceLoadingException(String, Throwable) - Constructor for exception net.sf.twip.util.ServiceLoadingException
 
ShortParameterHandler - Class in net.sf.twip.parameterhandler
 
ShortParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.ShortParameterHandler
 
StringParameterHandler - Class in net.sf.twip.parameterhandler
 
StringParameterHandler(Parameter) - Constructor for class net.sf.twip.parameterhandler.StringParameterHandler
 

T

test(Object) - Method in class net.sf.twip.parameterhandler.AbstractNumberParameterHandler
 
test(Object) - Method in interface net.sf.twip.parameterhandler.AbstractNumberParameterHandler.Tester
 
test(Object) - Method in class net.sf.twip.parameterhandler.DoubleParameterHandler
 
test(Object) - Method in class net.sf.twip.parameterhandler.EnumParameterHandler
 
test(Object) - Method in class net.sf.twip.parameterhandler.FloatParameterHandler
 
test(Object) - Method in class net.sf.twip.parameterhandler.ParameterHandler
Should this value go into the parameter values?
testName(FrameworkMethod) - Method in class net.sf.twip.TwiP
 
toString() - Method in class net.sf.twip.internal.FrameworkMethodWithArgs
 
toString() - Method in class net.sf.twip.util.Parameter
 
TwiP - Class in net.sf.twip
"Tests with Properties" allows you to simply add parameters to your JUnit tests.
TwiP(Class<?>) - Constructor for class net.sf.twip.TwiP
 
TwipConfigurationError - Error in net.sf.twip.internal
The test setup is somehow wrong.
TwipConfigurationError(String) - Constructor for error net.sf.twip.internal.TwipConfigurationError
 
TwipConfigurationError(String, Throwable) - Constructor for error net.sf.twip.internal.TwipConfigurationError
 
TwipConfigurationErrorCallingMethod - Error in net.sf.twip.internal
 
TwipConfigurationErrorCallingMethod(String, Throwable) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorCallingMethod
 
TwipConfigurationErrorCantAccessExtension - Error in net.sf.twip.internal
 
TwipConfigurationErrorCantAccessExtension(String, Throwable) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorCantAccessExtension
 
TwipConfigurationErrorCantInstantiateExtension - Error in net.sf.twip.internal
 
TwipConfigurationErrorCantInstantiateExtension(String, Throwable) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorCantInstantiateExtension
 
TwipConfigurationErrorDuplicateAutoTwip - Error in net.sf.twip.internal
 
TwipConfigurationErrorDuplicateAutoTwip(String) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorDuplicateAutoTwip
 
TwipConfigurationErrorGettingField - Error in net.sf.twip.internal
 
TwipConfigurationErrorGettingField(String, Throwable) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorGettingField
 
TwipConfigurationErrorIllegalAssumeExpression - Error in net.sf.twip.internal
 
TwipConfigurationErrorIllegalAssumeExpression(String) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorIllegalAssumeExpression
 
TwipConfigurationErrorInvalidEnumAssume - Error in net.sf.twip.internal
 
TwipConfigurationErrorInvalidEnumAssume(String) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorInvalidEnumAssume
 
TwipConfigurationErrorNonPrimitive - Error in net.sf.twip.internal
 
TwipConfigurationErrorNonPrimitive(String) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorNonPrimitive
 
TwipConfigurationErrorNonStatic - Error in net.sf.twip.internal
 
TwipConfigurationErrorNonStatic(String) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorNonStatic
 
TwipConfigurationErrorNoSuchMethod - Error in net.sf.twip.internal
 
TwipConfigurationErrorNoSuchMethod(String, Throwable) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorNoSuchMethod
 
TwipConfigurationErrorNotArrayOrCollection - Error in net.sf.twip.internal
 
TwipConfigurationErrorNotArrayOrCollection(String) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorNotArrayOrCollection
 
TwipConfigurationErrorNullPointer - Error in net.sf.twip.internal
 
TwipConfigurationErrorNullPointer(String) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorNullPointer
 
TwipConfigurationErrorUnknownParameterType - Error in net.sf.twip.internal
 
TwipConfigurationErrorUnknownParameterType(String) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorUnknownParameterType
 
TwipConfigurationErrorVoidAutoTwipMethod - Error in net.sf.twip.internal
 
TwipConfigurationErrorVoidAutoTwipMethod(String) - Constructor for error net.sf.twip.internal.TwipConfigurationErrorVoidAutoTwipMethod
 
TwipExtension - Interface in net.sf.twip
Allows to wrap a JUnit- Statement.
TwipExtensions - Annotation Type in net.sf.twip
Annotate your JUnit tests with TwiP and with this to extend the functionality of JUnit.
TwiPjMockTest - Class in net.sf.twip.jmock
Convenience upper class for tests that use TwiP and JMock: It is annotated with TwiP and TwiPs JMock-Extension, declares a Mockery instance, and a simple check(Expectations) method.
TwiPjMockTest() - Constructor for class net.sf.twip.jmock.TwiPjMockTest
 

V

validatePublicVoidNoArgMethods(Class<? extends Annotation>, boolean, List<Throwable>) - Method in class net.sf.twip.TwiP
 
Values - Annotation Type in net.sf.twip
Specifies the name of a static field or method in the test class that is resp.
VerificationAlreadyInitializedError - Error in net.sf.twip.verify
 
VerificationAlreadyInitializedError() - Constructor for error net.sf.twip.verify.VerificationAlreadyInitializedError
 
VerificationFailedError - Error in net.sf.twip.verify
This exception is thrown when one or more calls to verifyThat don't match.
VerificationFailedError(List<Description>) - Constructor for error net.sf.twip.verify.VerificationFailedError
 
VerificationNotInitializedError - Error in net.sf.twip.verify
You have not initialized the Verify class!
VerificationNotInitializedError() - Constructor for error net.sf.twip.verify.VerificationNotInitializedError
 
Verify - Class in net.sf.twip.verify
 
VerifyExtension - Class in net.sf.twip.verify
Initializes and checks that all calls to verifyThat passed.
VerifyExtension() - Constructor for class net.sf.twip.verify.VerifyExtension
 
verifyThat(T, Matcher<T>) - Static method in class net.sf.twip.verify.Verify
 

W

withAfters(FrameworkMethod, Object, Statement) - Method in class net.sf.twip.TwiP
 
wrap(boolean, FrameworkMethod, Object, Statement) - Method in class net.sf.twip.jmock.JMockExtension
 
wrap(boolean, FrameworkMethod, Object, Statement) - Method in class net.sf.twip.jmock.JMockExtensionDelegate
 
wrap(boolean, FrameworkMethod, Object, Statement) - Method in class net.sf.twip.mockito.MockitoExtension
 
wrap(boolean, FrameworkMethod, Object, Statement) - Method in interface net.sf.twip.TwipExtension
Decorate a JUnit Statement into a new one and thereby extend the functionality of JUnit.
wrap(boolean, FrameworkMethod, Object, Statement) - Method in class net.sf.twip.verify.VerifyExtension
 

A B C D E F G H I J L M N O P R S T V W

Copyright © 2010. All Rights Reserved.