Overview
Package
Class
Use
Tree
Deprecated
Index
Help
jDummy
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
F
G
H
I
J
M
N
O
P
R
S
V
A
addGeneratorPair(Class, Class, Generator)
- Method in class net.sf.jdummy.generator.
DefaultGeneratorBuilder
asDynamicMock(Object)
- Method in class net.sf.jdummy.
Mockery
asMock(Object)
- Method in class net.sf.jdummy.
Mockery
assertBehavior(Object)
- Method in class net.sf.jdummy.
JDummyTestCase
Gets the mock whose proxy()is dummy so that you may add expectations.
C
createStub()
- Method in class net.sf.jdummy.generator.
DummyValueGeneratingStubFactory
D
DefaultGeneratorBuilder
- Class in
net.sf.jdummy.generator
Adds default generators to DummyValueFactory.
DefaultGeneratorBuilder(DummyValueFactory)
- Constructor for class net.sf.jdummy.generator.
DefaultGeneratorBuilder
dummy(Class)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
dummy(Class, String)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
DummyValueFactory
- Class in
net.sf.jdummy.generator
Factory for generating dummy data.
DummyValueFactory(VerifyingTestCase)
- Constructor for class net.sf.jdummy.generator.
DummyValueFactory
Deprecated.
DummyValueFactory(Mockery)
- Constructor for class net.sf.jdummy.generator.
DummyValueFactory
dummyValueFactory
- Variable in class net.sf.jdummy.
JDummyTestCase
DummyValueFactory.CompatibleMockery
- Class in
net.sf.jdummy.generator
DummyValueFactory.CompatibleMockery(VerifyingTestCase)
- Constructor for class net.sf.jdummy.generator.
DummyValueFactory.CompatibleMockery
DummyValueGeneratingStubFactory
- Class in
net.sf.jdummy.generator
Manaages stubs that generate consistent dummy results for invocations.
DummyValueGeneratingStubFactory(DummyValueFactory)
- Constructor for class net.sf.jdummy.generator.
DummyValueGeneratingStubFactory
dynamicMockForProxy(Object)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
F
fillWithDummies(Object)
- Method in class net.sf.jdummy.
JDummyTestCase
Fills an array with dummies or random values of a given type.
fillWithDummies(Object[])
- Method in class net.sf.jdummy.
JDummyTestCase
Fills an array of object swith dummies values of a given type.
fillWithDummies(Collection, Class, int)
- Method in class net.sf.jdummy.
JDummyTestCase
Fills the collection with count new dummies
G
generateValue(String)
- Method in interface net.sf.jdummy.generator.
Generator
Generator
- Interface in
net.sf.jdummy.generator
Strategy for generating values of a given type.
getGenerator(Class)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
getGenerator(Class)
- Method in class net.sf.jdummy.
JDummyTestCase
H
handle(Invocation)
- Method in class net.sf.jdummy.generator.
DummyValueGeneratingStubFactory
I
initGenerators()
- Method in class net.sf.jdummy.generator.
DefaultGeneratorBuilder
J
JDummyTestCase
- Class in
net.sf.jdummy
A base class for tests that use jDummy syntax.
JDummyTestCase()
- Constructor for class net.sf.jdummy.
JDummyTestCase
M
makeDummyArray(Class, String)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
makeResult(Invocation)
- Method in class net.sf.jdummy.generator.
DummyValueGeneratingStubFactory
makeResultName(Invocation)
- Method in class net.sf.jdummy.generator.
DummyValueGeneratingStubFactory
mimic(Class)
- Method in class net.sf.jdummy.
JDummyTestCase
Create a new mock and return its proxy.
mimic(Class, String)
- Method in class net.sf.jdummy.
JDummyTestCase
mimicWithDummyValues(Class, String)
- Method in class net.sf.jdummy.
JDummyTestCase
Creates a new mock object of the given type with the given name and dummy value method results.
mimicWithDummyValues(Class)
- Method in class net.sf.jdummy.
JDummyTestCase
Returns new dummy with a unique name
mock(Class, String)
- Method in class net.sf.jdummy.generator.
DummyValueFactory.CompatibleMockery
mock(Class)
- Method in class net.sf.jdummy.
Mockery
mock(Class, String)
- Method in class net.sf.jdummy.
Mockery
mockery
- Variable in class net.sf.jdummy.
JDummyTestCase
Mockery
- Class in
net.sf.jdummy
Factory for all Mock objects.
Mockery()
- Constructor for class net.sf.jdummy.
Mockery
mockForProxy(Object)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
mockForProxy(Object)
- Method in class net.sf.jdummy.
JDummyTestCase
N
net.sf.jdummy
- package net.sf.jdummy
Tools for automatically creating dummy objects and values for jMock test cases.
net.sf.jdummy.generator
- package net.sf.jdummy.generator
newMockWithValueGeneratingStub(Class)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
newMockWithValueGeneratingStub(Class, String)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
nextName(String)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
Returns the next unique name string of the form
baseName
,
baseName
-2, ...
nextName(String)
- Method in class net.sf.jdummy.
JDummyTestCase
Gets the next value of the sequence baseName + "-" + i
O
OLD_nextName(String)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
Returns the next unique name string of the form
baseName
-1,
baseName
-2, ...
P
pickOne(Object[])
- Method in class net.sf.jdummy.
JDummyTestCase
precondition(Object)
- Method in class net.sf.jdummy.
JDummyTestCase
Gets the stubs() mock whose proxy()is dummy.
R
registerProxy(DynamicMock)
- Method in class net.sf.jdummy.
Mockery
resultCache
- Variable in class net.sf.jdummy.generator.
DummyValueGeneratingStubFactory
returnOneOf(Object[])
- Method in class net.sf.jdummy.
JDummyTestCase
A stub that is useful for methods returning enumerations.
returnOneOf(Collection)
- Method in class net.sf.jdummy.
JDummyTestCase
rnd(int, int)
- Method in class net.sf.jdummy.generator.
DefaultGeneratorBuilder
S
setGenerator(Class, Generator)
- Method in class net.sf.jdummy.generator.
DummyValueFactory
setGenerator(Class, Generator)
- Method in class net.sf.jdummy.
JDummyTestCase
setSeed(long)
- Method in class net.sf.jdummy.
JDummyTestCase
V
valueFactory
- Variable in class net.sf.jdummy.generator.
DummyValueGeneratingStubFactory
verify()
- Method in class net.sf.jdummy.
Mockery
A
C
D
F
G
H
I
J
M
N
O
P
R
S
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
jDummy
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright 2005-2005-2006 Mark G. Mendel. All Rights Reserved.