xmlBlaster 2.1.0 API

org.xmlBlaster.test.classtest.qos
Class QueryQosFactoryTest

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

public class QueryQosFactoryTest
extends junit.framework.TestCase

Test I_QueryQosFactory implementations.

 java -Djava.compiler= junit.textui.TestRunner -noloading org.xmlBlaster.test.classtest.qos.QueryQosFactoryTest
 

See Also:
QueryQosSaxFactory, the xmlBlaster access interface requirement

Field Summary
private  java.lang.String currImpl
           
private  I_QueryQosFactory factory
           
protected  Global glob
           
(package private) static I_QueryQosFactory[] IMPL
           
private static java.util.logging.Logger log
           
private  java.lang.String ME
           
 
Constructor Summary
QueryQosFactoryTest(Global glob, java.lang.String name, int currImpl)
           
 
Method Summary
static void main(java.lang.String[] args)
           java org.xmlBlaster.test.classtest.qos.QueryQosFactoryTest
protected  void setUp()
           
static junit.framework.Test suite()
          Method is used by TestRunner to load these tests
 void testDefault()
          Tests empty xml string
 void testEraseQos()
          Tests client side EraseQos.
 void testGetQos()
          Tests client side GetQos.
 void testParse()
          Tries with all known tags
 void testSubscribeQos()
          Tests client side SubscribeQos.
 void testToXml()
          Test toXml (parse - createXml - parse again - test)
 
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

ME

private java.lang.String ME

glob

protected final Global glob

log

private static java.util.logging.Logger log

currImpl

private java.lang.String currImpl

factory

private I_QueryQosFactory factory

IMPL

static I_QueryQosFactory[] IMPL
Constructor Detail

QueryQosFactoryTest

public QueryQosFactoryTest(Global glob,
                           java.lang.String name,
                           int currImpl)
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()
Test toXml (parse - createXml - parse again - test)


testDefault

public void testDefault()
Tests empty xml string


testEraseQos

public void testEraseQos()
Tests client side EraseQos.


testSubscribeQos

public void testSubscribeQos()
Tests client side SubscribeQos.


testGetQos

public void testGetQos()
Tests client side GetQos.


suite

public static junit.framework.Test suite()
Method is used by TestRunner to load these tests


main

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


xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.