xmlBlaster 2.2.0 API

org.xmlBlaster.test.classtest.key
Class QueryKeyFactoryTest

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

public class QueryKeyFactoryTest
extends junit.framework.TestCase

Test I_QueryKeyFactory implementations.

 java -Djava.compiler= junit.textui.TestRunner -noloading org.xmlBlaster.test.classtest.key.QueryKeyFactoryTest
 

See Also:
QueryKeySaxFactory, the xmlBlaster access interface requirement

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

IMPL

static I_QueryKeyFactory[] IMPL
Constructor Detail

QueryKeyFactoryTest

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


testCdata

public void testCdata()
Tries with all known tags


testDefault

public void testDefault()
Tests empty xml string


testToXml

public void testToXml()
Test toXml (parse - createXml - parse again - test)


testSubscribeKey

public void testSubscribeKey()
Tests client side SubscribeKey.


testExactSubscribeKey

public void testExactSubscribeKey()
Tests client side SubscribeKey.


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.key.QueryKeyFactoryTest
 


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.