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.combineCombineStrategy that creates all callback-records possible.CombineCompletely() -
Constructor for class org.callbackparams.combine.CombineCompletely
CombineConfig - Annotation Type in org.callbackparams.combine.annotationUsing 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.combineThis 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.