|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of MockCentralServerException in org.mockcentral.server |
|---|
| Subclasses of MockCentralServerException in org.mockcentral.server | |
|---|---|
class |
UnknownVariableException
RuntimeException class used to indicate that a required
runtime variable object was not found in the map defined by a
MockCentralServer instance. |
| Methods in org.mockcentral.server that throw MockCentralServerException | |
|---|---|
void |
MockCentralServer.addFixture(Fixture fixture)
Adds a new Fixture to the map. |
void |
Fixture.addSimpleBoundObject(SimpleBoundObjectBean bean)
Creates and adds a simple (non-Mock) object to map of JNDI-bound objects. |
void |
MockCentralServer.bindFixtureProxies()
If using the MockCentralTestingContext, gets the current
Fixture and binds all of the Proxy Objects into
the Context which have supplied JNDI names. |
void |
MockCentralServer.bindFixtureProxies(java.lang.String fixtureName)
If using the MockCentralTestingContext, gets the named
Fixture from the map and binds all of its Proxy
Objects into the Context which have supplied JNDI names. |
static com.mockobjects.dynamic.ConstraintMatcher |
ParamsBuilder.buildParams(MethodExpectationBean bean)
Creates and returns a ConstraintMatcher instance using the
supplied MethodExpectationBean object. |
static java.lang.Object |
ResultBuilder.buildResult(SignaturePartBean bean)
Creates and returns the expected result Object for a Mock Object method. |
com.mockobjects.dynamic.Mock |
MockObjectSetup.createMockObject()
Creates the Mock Object and adds method expectations to it using the list of MethodExpectationBean instances. |
static java.lang.Object |
SignaturePartBuilder.extractObject(SignaturePartBean bean,
boolean isCollectionEntry)
Returns an Object constructed using the data from the supplied SignaturePartBean instance. |
javax.naming.Context |
MockCentralServer.getContext()
Returns the MockCentralTestingContext instance. |
static MockMethodType |
MockMethodType.getMethodType(java.lang.String label)
Returns the MockMethodType corresponding to the supplied
label. |
java.lang.Object |
MockCentralServer.getProxy(java.lang.String mockObjectName)
Returns the Proxy for the Mock Object specified by the
argument. |
static ValueType |
ValueType.getValueType(java.lang.String label)
Returns the ValueType corresponding to the supplied label. |
void |
MockCentralServer.init(java.io.File file)
Initializes the application; creates the map to store the Fixture instances and invokes the
MockDataLoader class to parse the configuration file. |
void |
MockCentralServer.init(java.io.File file,
boolean useTestingContext)
Initializes the application; creates the map to store the Fixture instances, invokes the MockDataLoader
class to parse the configuration file and sets up the
MockCentralTestingContext. |
void |
MockCentralServer.init(java.util.HashMap<java.lang.String,java.lang.Object> variablesMap,
java.io.File file)
Initializes the application; stores the map of runtime variables, creates the map to store the Fixture instances and invokes the
MockDataLoader class to parse the configuration file. |
void |
MockCentralServer.init(java.util.HashMap<java.lang.String,java.lang.Object> variablesMap,
java.io.File file,
boolean useTestingContext)
Initializes the application; stores the map of runtime variables, creates the map to store the Fixture instances, invokes the
MockDataLoader class to parse the configuration file and
sets up the MockCentralTestingContext. |
void |
MockCentralServer.init(java.util.HashMap<java.lang.String,java.lang.Object> variablesMap,
java.io.InputStream input)
Initializes the application; stores the map of runtime variables, creates the map to store the Fixture instances and invokes the
MockDataLoader class to parse the configuration file. |
void |
MockCentralServer.init(java.util.HashMap<java.lang.String,java.lang.Object> variablesMap,
java.io.InputStream input,
boolean useTestingContext)
Initializes the application; stores the map of runtime variables, creates the map to store the Fixture instances, invokes the
MockDataLoader class to parse the configuration file and
sets up the MockCentralTestingContext. |
void |
MockCentralServer.init(java.util.HashMap<java.lang.String,java.lang.Object> variablesMap,
java.lang.String path)
Initializes the application; stores the map of runtime variables, creates the map to store the Fixture instances and invokes the
MockDataLoader class to parse the configuration file. |
void |
MockCentralServer.init(java.util.HashMap<java.lang.String,java.lang.Object> variablesMap,
java.lang.String path,
boolean useTestingContext)
Initializes the application; stores the map of runtime variables, creates the map to store the Fixture instances, invokes the
MockDataLoader class to parse the configuration file and
sets up the MockCentralTestingContext. |
void |
MockCentralServer.init(java.io.InputStream input)
Initializes the application; creates the map to store the Fixture instances and invokes the
MockDataLoader class to parse the configuration file. |
void |
MockCentralServer.init(java.io.InputStream input,
boolean useTestingContext)
Initializes the application; creates the map to store the Fixture instances, invokes the MockDataLoader
class to parse the configuration file and sets up the
MockCentralTestingContext. |
void |
MockCentralServer.init(java.lang.String path)
Initializes the application; creates the map to store the Fixture instances and invokes the
MockDataLoader class to parse the configuration file. |
void |
MockCentralServer.init(java.lang.String path,
boolean useTestingContext)
Initializes the application; creates the map to store the Fixture instances, invokes the MockDataLoader
class to parse the configuration file and sets up the
MockCentralTestingContext. |
void |
MockDataLoader.parseData(java.io.InputStream input)
Parses the configuration file, creating Fixture instances,
simple (non-Mock) JNDI-bound Objects, and Mock and Proxy
Objects using the Commons Digester. |
void |
Fixture.processMockObjectSetups()
Processes the list of MockObjectSetup instances to create
the Mocks and Proxy objects, adding them to the appropriate
maps defined in this class. |
void |
MockCentralServer.verifyMock(java.lang.String mockObjectName)
Gets the indicated Mock Object and verifies its expectations. |
void |
MockCentralServer.verifyMocks()
Gets all the Mock Objects belonging to the current Fixture
and verifies their expectations. |
void |
MockCentralServer.verifyMocks(java.lang.String fixtureName)
Gets all the Mock Objects belonging to the Fixture defined
by the fixtureName parameter and verifies their
expectations. |
| Constructors in org.mockcentral.server that throw MockCentralServerException | |
|---|---|
FixtureImportsComposite(Fixture importedFixture,
java.util.ArrayList<java.lang.String> ancestorImportersList)
Creates a new instance. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||