org.objectweb.cjdbc.scenario.basic
Class ControllerJavaInstanceTest
java.lang.Object
TestCase
org.objectweb.cjdbc.scenario.templates.NoTemplate
org.objectweb.cjdbc.scenario.templates.Template
org.objectweb.cjdbc.scenario.templates.DatabaseTemplate
org.objectweb.cjdbc.scenario.basic.ControllerJavaInstanceTest
- public class ControllerJavaInstanceTest
- extends DatabaseTemplate
This class defines a ControllerJavaInstanceTest. Creates a Controller from
java code (as opposed to load it with an xml configuration file) and check
that it is able to handle requests.
- Version:
- 1.0
- Author:
- Nicolas Modrzyk , Emmanuel Cecchet
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cjdbcDriver
java.lang.String cjdbcDriver
driverJar
java.lang.String driverJar
driverClass
java.lang.String driverClass
driverPath
java.lang.String driverPath
backendTest
java.lang.String backendTest
backendUrl
java.lang.String backendUrl
backendUser
java.lang.String backendUser
backendPassword
java.lang.String backendPassword
controller
Controller controller
ControllerJavaInstanceTest
public ControllerJavaInstanceTest()
tearDown
public void tearDown()
- Overrides:
tearDown
in class DatabaseTemplate
- See Also:
junit.framework.TestCase#tearDown()
testBackendTestStatement
public void testBackendTestStatement()
throws java.lang.Exception
- Test the test statement on a hypersonic backend
- Throws:
java.lang.Exception
- if fails
testCreateVirtualDatabase
public void testCreateVirtualDatabase()
throws java.lang.Exception
- Test the creation of a virtual database and send some requests.
- Throws:
java.lang.Exception
- if fails
testCreateDistributedVirtualDatabase
public void testCreateDistributedVirtualDatabase()
throws java.lang.Exception
- Test the creation of a DistributedVirtualDatabase and send some requests
- Throws:
java.lang.Exception
- if fails
Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.