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

A

AbstractCombineStrategy - Class in org.callbackparams.combine
Abstract stub implementation of CombineStrategy that is intended to be a convenient super-class for most implementations.
AbstractCombineStrategy() - Constructor for class org.callbackparams.combine.AbstractCombineStrategy
 
AdaptiveRule - Class in org.callbackparams
This alternative to JUnit-rules can be used under CallbackParams but regular JUnit-rules can of course also be used during normal circumstances.
AdaptiveRule() - Constructor for class org.callbackparams.AdaptiveRule
 
AdaptiveRule.TestRun - Interface in org.callbackparams
 
add(Object[]) - Method in class org.callbackparams.combine.ValuesCollection
Attaches the specified array of callback-values at the end of this ValuesCollection.
AnnotationAwareCallbackRecordsFactory - Class in org.callbackparams.combine.annotation
This Java5+ extension to CallbackRecordsFactory supports the annotations @CombineConfig and @CallbackRecords.
AnnotationAwareCallbackRecordsFactory() - Constructor for class org.callbackparams.combine.annotation.AnnotationAwareCallbackRecordsFactory
 
asCallback(Object) - Method in class org.callbackparams.sandbox.Collector.CollectorFactory
 
asCombinedArray(Object) - Static method in class org.callbackparams.combine.reflect.CallbackRecordsFactory
Utility method that is used by subclasses and the JUnit-3.x utilities.
assertValues(Object) - Method in class org.callbackparams.sandbox.Property.BasicImpl
 
assertValues(T) - Method in interface org.callbackparams.sandbox.Property.Callback
 

B

BddOrder - Annotation Type in org.callbackparams.bdd
 
BddRunner - Class in org.callbackparams.junit4
 
BddRunner(Class<?>) - Constructor for class org.callbackparams.junit4.BddRunner
 
beanClass - Variable in class org.callbackparams.sandbox.Property.BasicImpl
 

C

CallbackControlPanel - Interface in org.callbackparams
Deprecated. Use CallbackControlPanel instead!
CallbackControlPanel - Interface in org.callbackparams.ext
Exposes callback-record details for the current testrun.
CallbackFactory - Interface in org.callbackparams
Instead of implementing a certain callback-interface it is also possible for a callback-value to provide a callback-interface implementation by implementing this interface and have the method CallbackFactory.getCallback() return an arbitrary object, which will work as a "backup" callback if it implements the callback-interface in case the original callback-value does not.
CallbackField - Annotation Type in org.callbackparams.annotation
Deprecated. use ParameterizedCallback instead
CallbackParamsRunner - Class in org.callbackparams.junit4
The recommended strategy for JUnit-integration is to use this Runner implementation, by annotating the test-class with ...
CallbackParamsRunner(Class) - Constructor for class org.callbackparams.junit4.CallbackParamsRunner
 
CallbackRecords - Annotation Type in org.callbackparams.combine.annotation
This annotation allows the test-developer to combine callback-records manually by annotating a static method and have it return the desired collection of explicit callback-records to use for the test.
CallbackRecordsFactory - Class in org.callbackparams.combine.reflect
Factory-class whose main purpose is to create callback-records from reflectively looked-up callback-values factory classes.
CallbackRecordsFactory() - Constructor for class org.callbackparams.combine.reflect.CallbackRecordsFactory
 
CallbackTestCase - Class in org.callbackparams.junit3
Parameterized tests for JUnit-3.8.x can be created by subclassing this class instead of TestCase.
CallbackTestCase(String) - Constructor for class org.callbackparams.junit3.CallbackTestCase
 
CallbackTestCase() - Constructor for class org.callbackparams.junit3.CallbackTestCase
 
CallbackTestSuite - Class in org.callbackparams.junit3
TestSuite implementation that could be useful under JUnit-3.8.x when CallbackTestCase cannot be subclassed, such as when it is desired to subclass another third-party TestCase implementation, e.g.
CallbackTestSuite(Class, CallbackRecordsFactory) - Constructor for class org.callbackparams.junit3.CallbackTestSuite
Special constructor that allows the user to specify the CallbackRecordsFactory instance.
CallbackTestSuite(Class) - Constructor for class org.callbackparams.junit3.CallbackTestSuite
 
collect(Collection<T>) - Method in interface org.callbackparams.sandbox.Collector
Implementations are expected to add objects to the collection.
collectCallbackRecordsReflectively(Class) - Method in class org.callbackparams.combine.annotation.AnnotationAwareCallbackRecordsFactory
This overridden implementation looks for a method that is annotated with CallbackRecords and returns the records provided by that method.
collectCallbackRecordsReflectively(Class) - Method in class org.callbackparams.combine.reflect.CallbackRecordsFactory
This is the method that integration harnesses (such as the CallbackParamsRunner) should use for retrieving their callback-records in a test-developer friendly way.
Collector<A extends Annotation> - Interface in org.callbackparams.sandbox
When used as a callback-interface, this single-method interface leverages bleeding-edge framework features that allows callback-value declaration through annotations.
Collector.CollectorFactory - Class in org.callbackparams.sandbox
Works as a backup Collector factory for every enum constant that neither implements Collector nor provides any implementation through CallbackFactory.getCallback().
Collector.CollectorFactory(Method, int) - Constructor for class org.callbackparams.sandbox.Collector.CollectorFactory
 
Collector.CollectorFactory(Field) - Constructor for class org.callbackparams.sandbox.Collector.CollectorFactory
 
collectValueInjections(Class) - Method in class org.callbackparams.combine.annotation.AnnotationAwareCallbackRecordsFactory
 
collectValueInjections(Class) - Method in class org.callbackparams.combine.reflect.CallbackRecordsFactory
Collects values for the parameterized fields that are to be value-injected.
combine(ValuesCollection) - Method in class org.callbackparams.combine.AbstractCombineStrategy
 
combine(ValuesCollection) - Method in interface org.callbackparams.combine.CombineStrategy
Implementations of this method will create a collection of callback- records based on the configuration of this CombineStrategy instance.
CombineAllPossible2Combinations - Class in org.callbackparams.combine
A strategy that creates a collection of callback-records in which all possible combinations of two individual callback-parameters will be represented.
CombineAllPossible2Combinations() - Constructor for class org.callbackparams.combine.CombineAllPossible2Combinations
 
CombineCompletely - Class in org.callbackparams.combine
CombineStrategy that creates all callback-records possible.
CombineCompletely() - Constructor for class org.callbackparams.combine.CombineCompletely
 
CombineConfig - Annotation Type in org.callbackparams.combine.annotation
Using this annotation is the recommended practise for configuring the automated combining of callback-values into callback-records.
Combined - Class in org.callbackparams.combine.reflect
 
Combined(Object) - Constructor for class org.callbackparams.combine.reflect.Combined
 
combineInternal(ValuesCollection) - Method in class org.callbackparams.combine.AbstractCombineStrategy
This is the method to implement when implementing CombineStrategy by subclassing AbstractCombineStrategy.
combineInternal(ValuesCollection) - Method in class org.callbackparams.combine.CombineAllPossible2Combinations
 
combineInternal(ValuesCollection) - Method in class org.callbackparams.combine.CombineCompletely
 
CombineStrategy - Interface in org.callbackparams.combine
This is the API-interface that must be implemented by any combine-strategy class.
countTestCases() - Method in class org.callbackparams.junit3.CallbackTestCase
 
create() - Static method in class org.callbackparams.sandbox.ExpectedExceptionSweeps
 

D

DEPRECATION_MESSAGE - Static variable in annotation type org.callbackparams.annotation.CallbackField
Deprecated.  
DEPRECATION_MESSAGE - Static variable in interface org.callbackparams.CallbackControlPanel
Deprecated.  
describeChild(BlockJUnit4ClassRunner) - Method in class org.callbackparams.junit4.EnumRunner
 

E

EnumRunner - Class in org.callbackparams.junit4
The very simpliest use-case for callback-params is when the parameters are self-contained, i.e.
EnumRunner(Class<? extends Enum>) - Constructor for class org.callbackparams.junit4.EnumRunner
 
evaluate(AdaptiveRule.TestRun) - Method in class org.callbackparams.AdaptiveRule
 
evaluate(AdaptiveRule.TestRun) - Method in class org.callbackparams.sandbox.ExpectedExceptionSweeps
 
executeTestMethod() - Method in interface org.callbackparams.AdaptiveRule.TestRun
 
ExpectedExceptionSweeps - Class in org.callbackparams.sandbox
 
ExpectedExceptionSweeps() - Constructor for class org.callbackparams.sandbox.ExpectedExceptionSweeps
 

F

findCallbackValuesFactoryClasses(Class) - Method in class org.callbackparams.combine.reflect.CallbackRecordsFactory
Searches the specified class, its super-classes and all implemented interfaces for nested classes that provide callback-values, as defined by CallbackRecordsFactory.isCallbackValuesFactoryClass(java.lang.Class).

G

get(int) - Method in class org.callbackparams.combine.ValuesCollection
Returns the array that contains the callback-values available for the specified index of the callback-records created from this ValuesCollection instance.
getCallback() - Method in interface org.callbackparams.CallbackFactory
Returns the supplied callback
getCallback() - Method in class org.callbackparams.sandbox.Property.BasicImpl
If all of the necessary annotations Property.BasicImpl.beanClass, Property.BasicImpl.propertyName and Property.BasicImpl.propertyValue are found on the wrapped value (or its type) then the method will return itself; otherwise null is returned.
getCallbackRecords() - Method in class org.callbackparams.junit3.CallbackTestCase
Returns a collection of callback-records, i.e.
getCallbackRecordsFactory() - Method in class org.callbackparams.junit3.CallbackTestCase
Returns the CallbackRecordsFactory instance that will be used by the default implementation of CallbackTestCase.getCallbackRecords() to create the callback-records.
getChildren() - Method in class org.callbackparams.junit4.EnumRunner
 
getCoreValue() - Method in class org.callbackparams.combine.reflect.Combined
 
getCurrentCallbackRecord() - Method in interface org.callbackparams.ext.CallbackControlPanel
Returns the current callback-record as a list.
getDescription() - Method in class org.callbackparams.junit4.CallbackParamsRunner
 
getInstance() - Static method in class org.callbackparams.combine.reflect.CallbackRecordsFactory
Factory method that returns the implementation suitable for the java-version in use.
getLatestCallbackResults() - Method in interface org.callbackparams.ext.CallbackControlPanel
Returns the result (callback-record elements & return values) of the most recent callback invocation as a map, where callback-record elements are keys and return-values are values.

For void-methods all the values will be null.
getRandomSeed() - Method in class org.callbackparams.combine.AbstractCombineStrategy
Returns the random-seed that has been set by AbstractCombineStrategy.setRandomSeed(long).
GIVEN - Static variable in annotation type org.callbackparams.bdd.BddOrder
 
Given - Annotation Type in org.callbackparams.bdd
 

I

isCallbackValuesFactoryClass(Class) - Method in class org.callbackparams.combine.reflect.CallbackRecordsFactory
The default implementation returns true if the specified class has a static method "values()" that returns an array.
isValueAlsoAvailableAsCallback(Field) - Method in class org.callbackparams.combine.annotation.AnnotationAwareCallbackRecordsFactory
This overridden method makes sure that a parameter value stays out of the callback-record if its field is annotated with @ParameterizedValue(alsoAvailableAsCallback=false)
isValueAlsoAvailableAsCallback(Field) - Method in class org.callbackparams.combine.reflect.CallbackRecordsFactory
Decides on whether the parameter value will also be available as callback when it is injected to the specified field.

M

maxCount - Variable in class org.callbackparams.combine.AbstractCombineStrategy
 

O

org.callbackparams - package org.callbackparams
Core API that is recommended for direct use in test-classes.
org.callbackparams.annotation - package org.callbackparams.annotation
 
org.callbackparams.bdd - package org.callbackparams.bdd
 
org.callbackparams.combine - package org.callbackparams.combine
Contains the framework's built-in combine-strategies as well as their API, which can be used to develop customized combine-strategies.
org.callbackparams.combine.annotation - package org.callbackparams.combine.annotation
Annotations and annotation-related combine-functionality
org.callbackparams.combine.reflect - package org.callbackparams.combine.reflect
 
org.callbackparams.ext - package org.callbackparams.ext
This package contains API-extensions that target development of reusable test-components to seamlessly benefit from CallbackParams in more advanced scenarios.
org.callbackparams.junit3 - package org.callbackparams.junit3
JUnit-3.8.x integration.
org.callbackparams.junit4 - package org.callbackparams.junit4
The JUnit-4.x integration - including the runner-class CallbackParamsRunner and the annotation @WrappedRunner, which together constitute the primarily recommended means for developing "CallbackParams" tests - regardless of whether the test-developer uses the API of JUnit-4.x or JUnit-3.x.
org.callbackparams.sandbox - package org.callbackparams.sandbox
Useful resources which are not really part of the framework's API but are more like reusable implementations of it.
org.callbackparams.wrap - package org.callbackparams.wrap
 
org.callbackparams.wrap.legacy - package org.callbackparams.wrap.legacy
 

P

ParameterizedCallback - Annotation Type in org.callbackparams
Specifies that a test-class field is to be callback-injected.
ParameterizedValue - Annotation Type in org.callbackparams
An annotated (non-static and non-final) test-class field defines a named parameter.
Property - Class in org.callbackparams.sandbox
This class has nested resources that can be used to produce callback-values for Property.Callback through annotations.
Property.BasicImpl<T> - Class in org.callbackparams.sandbox
 
Property.BeanClass - Annotation Type in org.callbackparams.sandbox
 
Property.Callback<T> - Interface in org.callbackparams.sandbox
 
Property.Name - Annotation Type in org.callbackparams.sandbox
 
Property.Value - Annotation Type in org.callbackparams.sandbox
 
propertyName - Variable in class org.callbackparams.sandbox.Property.BasicImpl
 
propertyValue - Variable in class org.callbackparams.sandbox.Property.BasicImpl
 

R

resurrectFromOtherClassLoader(Object) - Static method in class org.callbackparams.combine.reflect.Combined
 
retrieve(Object, Map) - Method in class org.callbackparams.combine.reflect.Combined
Retrieves the core value of this Combined instance and does at least one out of two things:
1) Has the core value injected as a parameterized value into the specified Combined.valueField
2) Returns the core value in case it is to be available as callback, as specified by Combined.isCallback
retrieveCombinedArray(Class) - Method in class org.callbackparams.combine.reflect.CallbackRecordsFactory
The returned array (supposedly containing callback-values) is determined from the specified class.
retrieveCombineStrategy(Class) - Method in class org.callbackparams.combine.annotation.AnnotationAwareCallbackRecordsFactory
 
retrieveCombineStrategy(Class) - Method in class org.callbackparams.combine.reflect.CallbackRecordsFactory
The default combine strategy is CombineAllPossible2Combinations but any other strategy could be used by overriding this class or by using the @CombineConfig annotation (if using JDK-1.5+).
run(TestResult) - Method in class org.callbackparams.junit3.CallbackTestCase
 
run(RunNotifier) - Method in class org.callbackparams.junit4.CallbackParamsRunner
 
runChild(BlockJUnit4ClassRunner, RunNotifier) - Method in class org.callbackparams.junit4.EnumRunner
 

S

setMaxCount(int) - Method in class org.callbackparams.combine.AbstractCombineStrategy
 
setMaxCount(int) - Method in interface org.callbackparams.combine.CombineStrategy
Specifies the maximum number of combinations that the method CombineStrategy.combine(ValuesCollection) is allowed to return.
setRandomSeed(long) - Method in class org.callbackparams.combine.AbstractCombineStrategy
 
setRandomSeed(long) - Method in interface org.callbackparams.combine.CombineStrategy
Some CombineStrategy implementations does to some extent pick callback-record parameters randomly.
setValues(Object) - Method in class org.callbackparams.sandbox.Property.BasicImpl
 
setValues(T) - Method in interface org.callbackparams.sandbox.Property.Callback
 
size() - Method in class org.callbackparams.combine.ValuesCollection
Returns the number of arrays of callback-values in this ValuesCollection instance.
sweep(Collector<?>, Class<? extends Throwable>) - Method in class org.callbackparams.sandbox.ExpectedExceptionSweeps
 

T

testSpecialDummyTestMethodThatIsUsedToTrickJunitOnly() - Method in class org.callbackparams.junit3.CallbackTestCase
Dummy test-method that does nothing.
THEN - Static variable in annotation type org.callbackparams.bdd.BddOrder
 
Then - Annotation Type in org.callbackparams.bdd
 
toString() - Method in class org.callbackparams.combine.reflect.Combined
 

V

ValuesCollection - Class in org.callbackparams.combine
A collection of arrays of callback-values.
ValuesCollection() - Constructor for class org.callbackparams.combine.ValuesCollection
 
valuesMethodFor(Class) - Static method in class org.callbackparams.combine.reflect.CallbackRecordsFactory
 

W

WHEN - Static variable in annotation type org.callbackparams.bdd.BddOrder
 
When - Annotation Type in org.callbackparams.bdd
 
wrap(Class<W>, V...) - Static method in class org.callbackparams.wrap.WrappingSupport
Same as WrappingLegacySupport.wrapArray(java.lang.Class, java.lang.Object[]) but with a Java5+ enhanced method-signature, which has two generic type-parameters and a vararg argument.
wrapArray(Class, Object[]) - Static method in class org.callbackparams.wrap.legacy.WrappingLegacySupport
 
WrappedRunner - Annotation Type in org.callbackparams.junit4
Optional annotation to specify a specific Runner-implementation class, to which CallbackParamsRunner will hand over the actual test-execution.
wrappedValue() - Method in interface org.callbackparams.wrap.legacy.Wrapping
 
wrappedValue() - Method in interface org.callbackparams.wrap.Wrapping
 
wrappedValue() - Method in class org.callbackparams.wrap.WrappingSupport
 
Wrapping - Interface in org.callbackparams.wrap.legacy
 
Wrapping<V> - Interface in org.callbackparams.wrap
 
WrappingCallbackImpls - Annotation Type in org.callbackparams.ext
Binds the specified Wrapping implementations to the annotated annotation type.
WrappingLegacySupport - Class in org.callbackparams.wrap.legacy
 
WrappingLegacySupport() - Constructor for class org.callbackparams.wrap.legacy.WrappingLegacySupport
 
WrappingSupport<V> - Class in org.callbackparams.wrap
 
WrappingSupport() - Constructor for class org.callbackparams.wrap.WrappingSupport
 
wrapSingle(Class, Object) - Static method in class org.callbackparams.wrap.legacy.WrappingLegacySupport
 

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

Copyright © 2010-2013 Henrik Kaipe. All Rights Reserved.