xmlBlaster 2.1.0 API

org.xmlBlaster.test.classtest.qos
Class StatusQosFactoryTest

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

public class StatusQosFactoryTest
extends junit.framework.TestCase

Test I_StatusQosFactory implementations.

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

See Also:
StatusQosSaxFactory, StatusQosQuickParseFactory, the xmlBlaster access interface requirement

Field Summary
private  java.lang.String currImpl
           
private  I_StatusQosFactory factory
           
protected  Global glob
           
(package private) static I_StatusQosFactory[] IMPL
           
private static java.util.logging.Logger log
           
private  java.lang.String ME
           
 
Constructor Summary
StatusQosFactoryTest(Global glob, java.lang.String name, int currImpl)
           
 
Method Summary
static void main(java.lang.String[] args)
           java org.xmlBlaster.test.classtest.qos.StatusQosFactoryTest
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

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_StatusQosFactory factory

IMPL

static I_StatusQosFactory[] IMPL
Constructor Detail

StatusQosFactoryTest

public StatusQosFactoryTest(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.StatusQosFactoryTest
 


xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.