java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.miamm.soapmmil.SoapmmilTestCase
org.miamm.soapmmil.MIAMMServiceEngineTest
- All Implemented Interfaces:
- SoapMMILConstants, junit.framework.Test
- public class MIAMMServiceEngineTest
- extends SoapmmilTestCase
- implements SoapMMILConstants
Generated by JUnitDoclet, a tool provided by
ObjectFab GmbH under LGPL.
Please see www.junitdoclet.org, www.gnu.org
and www.objectfab.de for informations about
the tool, the licence and the authors.
| Fields inherited from class junit.framework.TestCase |
|
| 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 |
_logger
static org.apache.log4j.Logger _logger
_client
org.miamm.soapmmil.agents.NullMIAMMClient _client
_service
org.miamm.soapmmil.agents.NullMIAMMService _service
MIAMMServiceEngineTest
public MIAMMServiceEngineTest(java.lang.String name)
shortCircuitMessage
public void shortCircuitMessage(SoapmmilMessage message)
throws java.lang.Exception
- Directly invoke the receiveMessage of a service without
actually firing the message, per se
sendMessage
public void sendMessage(java.io.Reader contents)
throws java.lang.Exception
sendMessage
public void sendMessage(org.miamm.castor.headerblock.types.MsgContentType msgType,
java.io.Reader contents)
throws java.lang.Exception
createEmptyMessage
public SoapmmilMessage createEmptyMessage()
throws java.lang.Exception
createEmptyMessage
public SoapmmilMessage createEmptyMessage(org.miamm.castor.headerblock.types.MsgContentType type)
throws java.lang.Exception
sendMessage
public void sendMessage(SoapmmilMessage message)
throws java.lang.Exception
createFalseResponse
public SoapmmilMessage createFalseResponse(java.lang.String msgRef)
throws java.lang.Exception
- Creates a dummy outgoing MiammSoapHeaderBlock with a default
MsgContentType and which references the message indicated by the
MiammSoapHeaderBlock argument
testServiceControlMessages
public void testServiceControlMessages()
throws java.lang.Exception
- This test is a test on receiveMessage, but here we concentrate
on start/stop/restart
testXMLWellFormednessChecking
public void testXMLWellFormednessChecking()
throws java.lang.Exception
sendAwait1Trigger
public void sendAwait1Trigger()
createInstance
public MIAMMServiceEngine createInstance()
throws java.lang.Exception
setUp
protected void setUp()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
tearDown
protected void tearDown()
throws java.lang.Exception
- Description copied from class:
junit.framework.TestCase
- Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.
testAllowEventType
public void testAllowEventType()
throws java.lang.Exception
testDisallowEventType
public void testDisallowEventType()
throws java.lang.Exception
testAcceptEventType
public void testAcceptEventType()
throws java.lang.Exception
testRejectEventType
public void testRejectEventType()
throws java.lang.Exception
testSetRefuseCalls
public void testSetRefuseCalls()
throws java.lang.Exception
testSetActive
public void testSetActive()
throws java.lang.Exception
testFireMessage
public void testFireMessage()
throws java.lang.Exception
testCreateMessage
public void testCreateMessage()
throws java.lang.Exception
testCreateResponse
public void testCreateResponse()
throws java.lang.Exception
testReceiveBySAAJ
public void testReceiveBySAAJ()
throws java.lang.Exception
testReceiveMessage
public void testReceiveMessage()
throws java.lang.Exception
testAwaitResponse
public void testAwaitResponse()
throws java.lang.Exception
testSetAwaitable
public void testSetAwaitable()
throws java.lang.Exception
testIsAwaiting
public void testIsAwaiting()
throws java.lang.Exception
testGetServiceName
public void testGetServiceName()
throws java.lang.Exception
testVault
public void testVault()
throws java.lang.Exception
- JUnitDoclet moves marker to this method, if there is not match
for them in the regenerated code and if the marker is not empty.
This way, no test gets lost when regenerating after renaming.
Method testVault is supposed to be empty.
main
public static void main(java.lang.String[] args)