xmlBlaster 2.2.0 API

org.xmlBlaster.test.classtest.qos
Class ConnectQosFactoryTest

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

public class ConnectQosFactoryTest
extends junit.framework.TestCase

Test I_ConnectQosFactory implementations.

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

See Also:
ConnectQosSaxFactory, org.xmlBlaster.util.qos.ConnectQosQuickParseFactory, the xmlBlaster access interface requirement

Field Summary
private  I_ConnectQosFactory factory
           
protected  Global glob
           
(package private) static I_ConnectQosFactory[] IMPL
           
private static java.util.logging.Logger log
           
 
Constructor Summary
ConnectQosFactoryTest()
           
ConnectQosFactoryTest(Global glob, java.lang.String name, int currImpl)
           
 
Method Summary
static void main(java.lang.String[] args)
           java org.xmlBlaster.test.classtest.qos.ConnectQosFactoryTest
protected  void setUp()
           
static junit.framework.Test suite()
          Method is used by TestRunner to load these tests
 void testDefault()
          Tests empty xml string
 void testParse()
          Tries with all known tags
 void testPerformance()
          Tries with all known tags
 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

glob

protected final Global glob

log

private static java.util.logging.Logger log

factory

private I_ConnectQosFactory factory

IMPL

static I_ConnectQosFactory[] IMPL
Constructor Detail

ConnectQosFactoryTest

public ConnectQosFactoryTest()

ConnectQosFactoryTest

public ConnectQosFactoryTest(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


testPerformance

public void testPerformance()
Tries with all known tags


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.ConnectQosFactoryTest
 


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.