xmlBlaster 2.2.0 API

org.xmlBlaster.test.classtest.qos
Class MsgQosFactoryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.xmlBlaster.test.classtest.qos.MsgQosFactoryTest
All Implemented Interfaces:
junit.framework.Test

public class MsgQosFactoryTest
extends junit.framework.TestCase

Test MsgQosSaxFactory.

All methods starting with 'test' and without arguments are invoked automatically

TODO: http://xmlunit.sourceforge.net/

Invoke: java -Djava.compiler= junit.textui.TestRunner -noloading org.xmlBlaster.test.classtest.qos.MsgQosFactoryTest

See Also:
MsgQosSaxFactory, the interface.publish requirement

Field Summary
(package private)  int counter
           
protected  Global glob
           
private static java.util.logging.Logger log
           
 
Constructor Summary
MsgQosFactoryTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           java org.xmlBlaster.test.classtest.qos.MsgQosFactoryTest
protected  void setUp()
           
 void testAdministrative()
          Tests given administrative
 void testDefault()
          Tests empty xml string
 void testFromPersistentStore()
          Tests given rcvTimestamp
 void testGetReturnQos()
          Tries with all known tags
 void testParse()
          Tries with all known tags
 void testPublishQosServer()
          Tries with all known tags
 void testToXml()
          Tries with all known tags
 void testUpdateQos()
          Tries with all known tags
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

glob

protected Global glob

log

private static java.util.logging.Logger log

counter

int counter
Constructor Detail

MsgQosFactoryTest

public MsgQosFactoryTest(java.lang.String name)
Method Detail

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

testParse

public void testParse()
Tries with all known tags


testToXml

public void testToXml()
Tries with all known tags


testPublishQosServer

public void testPublishQosServer()
Tries with all known tags


testGetReturnQos

public void testGetReturnQos()
Tries with all known tags


testUpdateQos

public void testUpdateQos()
Tries with all known tags


testFromPersistentStore

public void testFromPersistentStore()
Tests given rcvTimestamp


testAdministrative

public void testAdministrative()
Tests given administrative


testDefault

public void testDefault()
Tests empty xml string


main

public static void main(java.lang.String[] args)
  java org.xmlBlaster.test.classtest.qos.MsgQosFactoryTest
 


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.