xmlBlaster 2.1.0 API

org.xmlBlaster.test.client
Class TestRequestResponse

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.xmlBlaster.test.client.TestRequestResponse
All Implemented Interfaces:
junit.framework.Test

public class TestRequestResponse
extends junit.framework.TestCase

Testing XmlBlasterAccess.request() method.
We send a request and expect a response.

Author:
Marcel Ruff

Field Summary
private  Global glob
           
private static java.util.logging.Logger log
           
private  I_XmlBlasterAccess receiver
           
private  java.lang.String receiverName
           
private  I_XmlBlasterAccess sender
           
private  java.lang.String senderName
           
private  int serverPort
           
private  EmbeddedXmlBlaster serverThread
           
private  boolean startEmbedded
           
 
Constructor Summary
TestRequestResponse(java.lang.String arg0)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testRequestResponse()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

private static java.util.logging.Logger log

glob

private Global glob

serverThread

private EmbeddedXmlBlaster serverThread

serverPort

private int serverPort

startEmbedded

private boolean startEmbedded

sender

private I_XmlBlasterAccess sender

senderName

private final java.lang.String senderName
See Also:
Constant Field Values

receiver

private I_XmlBlasterAccess receiver

receiverName

private final java.lang.String receiverName
See Also:
Constant Field Values
Constructor Detail

TestRequestResponse

public TestRequestResponse(java.lang.String arg0)
Parameters:
arg0 -
Method Detail

testRequestResponse

public void testRequestResponse()

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.