|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.sca4j.runtime.generic.junit.AbstractScaTest
public class AbstractScaTest
Abstract super class for all JUnit test.
| Field Summary | |
|---|---|
protected org.sca4.runtime.generic.impl.GenericRuntimeImpl |
genericRuntime
|
| Constructor Summary | |
|---|---|
AbstractScaTest(java.lang.String applicationScdl)
Initialises the test with the application SCDL. |
|
| Method Summary | ||
|---|---|---|
protected
|
getBinding(java.lang.Class<T> endpointInterface,
javax.xml.namespace.QName bindingType,
java.net.URI endpointUri,
javax.xml.namespace.QName... intents)
Get the bindings with the specified intents. |
|
protected javax.persistence.EntityManager |
getEntityManager(java.lang.String name)
Returns a named entity manager. |
|
protected java.util.Properties |
getHostProperties()
Override if you want to provide additionalhost proeprties. |
|
protected javax.management.MBeanServer |
getMBeanServer()
Override if you want to provide a different MBean server. |
|
protected org.sca4j.monitor.MonitorFactory |
getMonitorFactory()
Override if you want to use a different monitor factory. |
|
protected java.util.Properties |
getProperties()
Override if you want to provide a different set of host properties. |
|
protected
|
getServiceProxy(java.lang.String serviceName)
Gets a service proxy. |
|
protected javax.transaction.TransactionManager |
getTransactionManager()
Returns the transaction manager. |
|
protected void |
shutdown()
Shuts down the runtime. |
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.sca4.runtime.generic.impl.GenericRuntimeImpl genericRuntime
| Constructor Detail |
|---|
public AbstractScaTest(java.lang.String applicationScdl)
applicationScdl - Application SCDL.| Method Detail |
|---|
protected void shutdown()
protected <T> T getServiceProxy(java.lang.String serviceName)
T - Type of the service proxy.serviceName - Service name.
protected org.sca4j.monitor.MonitorFactory getMonitorFactory()
protected java.util.Properties getHostProperties()
protected javax.management.MBeanServer getMBeanServer()
protected java.util.Properties getProperties()
protected javax.transaction.TransactionManager getTransactionManager()
protected javax.persistence.EntityManager getEntityManager(java.lang.String name)
name - Name of the entity manager persistence unit.
protected <T> T getBinding(java.lang.Class<T> endpointInterface,
javax.xml.namespace.QName bindingType,
java.net.URI endpointUri,
javax.xml.namespace.QName... intents)
T - Binding type.endpointInterface - Endpoint interface for the binding.bindingType - Qualified name of the bindings.endpointUri - Endpoint URI.intents - Intents that are requested.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||