xmlBlaster 1.6.2 API

org.xmlBlaster.test.client
Class TestCommand

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.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
           
 
Fields inherited from class junit.framework.TestCase
 
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.

Method Detail

main

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

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
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 1.6.2 API

Copyright © 1999-2007 The xmlBlaster.org contributers.