xmlBlaster 2.2.0 API

org.xmlBlaster.test.client
Class TestCommand

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

public class TestCommand
extends junit.framework.TestCase

Testing administrative commands.

Author:
xmlblast@marcelruff.info

Field Summary
private  Global connGlobal
           
private  Global global
           
private static java.util.logging.Logger log
           
private  MsgInterceptor updateInterceptor
           
 
Constructor Summary
TestCommand(java.lang.String name)
          Constructor for TestCommand.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testSendAdministrativeCommand()
           
 void testSetCallbackDispatcherActive()
           
 java.lang.String update(java.lang.String cbSessionId, UpdateKey updateKey, byte[] content, UpdateQos updateQos)
           
 
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

global

private final Global global

log

private static java.util.logging.Logger log

connGlobal

private Global connGlobal

updateInterceptor

private MsgInterceptor updateInterceptor
Constructor Detail

TestCommand

public TestCommand(java.lang.String name)
Constructor for TestCommand.

Parameters:
arg0 -
Method Detail

main

public static void main(java.lang.String[] args)

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

update

public java.lang.String update(java.lang.String cbSessionId,
                               UpdateKey updateKey,
                               byte[] content,
                               UpdateQos updateQos)
                        throws XmlBlasterException
Throws:
XmlBlasterException

testSetCallbackDispatcherActive

public void testSetCallbackDispatcherActive()

testSendAdministrativeCommand

public void testSendAdministrativeCommand()

xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.