xmlBlaster 2.1.0 API

org.xmlBlaster.test.jms
Class TestJmsAdmin

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.custommonkey.xmlunit.XMLTestCase
              extended by org.xmlBlaster.test.jms.TestJmsAdmin
All Implemented Interfaces:
junit.framework.Test, org.custommonkey.xmlunit.XMLConstants, org.custommonkey.xmlunit.XSLTConstants

public class TestJmsAdmin
extends org.custommonkey.xmlunit.XMLTestCase

Test JmsAdmin.

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

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

Author:
Michele Laghi
See Also:
ConnectQosData, the jms requirement

Field Summary
private  java.lang.String[] args
           
private static java.lang.String CONNECTION_FACTORY
           
private  java.util.Hashtable env
           
protected  Global glob
           
private static java.util.logging.Logger log
           
private  org.apache.naming.NamingService namingService
           
private  ConnectQos qos
           
private static java.lang.String TOPIC
           
 
Fields inherited from interface org.custommonkey.xmlunit.XSLTConstants
XSLT_END, XSLT_IDENTITY_TEMPLATE, XSLT_START, XSLT_STRIP_WHITESPACE, XSLT_XML_OUTPUT_NOINDENT
 
Fields inherited from interface org.custommonkey.xmlunit.XMLConstants
CLOSE_NODE, END_CDATA, END_COMMENT, END_PROCESSING_INSTRUCTION, OPEN_END_NODE, OPEN_START_NODE, START_CDATA, START_COMMENT, START_DOCTYPE, START_PROCESSING_INSTRUCTION, XML_DECLARATION, XMLNS_PREFIX, XPATH_ATTRIBUTE_IDENTIFIER, XPATH_CHARACTER_NODE_IDENTIFIER, XPATH_COMMENT_IDENTIFIER, XPATH_NODE_INDEX_END, XPATH_NODE_INDEX_START, XPATH_PROCESSING_INSTRUCTION_IDENTIFIER, XPATH_SEPARATOR
 
Constructor Summary
TestJmsAdmin(java.lang.String name)
           
 
Method Summary
protected  void adminJmsStart()
           
 void finalize()
           
static void main(java.lang.String[] args)
           java org.xmlBlaster.test.classtest.TestJmsAdmin
 void prepare(java.lang.String[] args)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testConnectionFactory()
          Checks if the connectQos passed to the initial context also reaches the ConnectionFactrory correcty
 
Methods inherited from class org.custommonkey.xmlunit.XMLTestCase
assertNodeTestPasses, assertNodeTestPasses, assertNotXpathExists, assertNotXpathExists, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLIdentical, assertXMLIdentical, assertXMLIdentical, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathExists, assertXpathExists, assertXpathNotExists, assertXpathNotExists, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, compareXML, compareXML, compareXML, compareXML, compareXML, setControlParser, setIgnoreWhitespace, setTestParser
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONNECTION_FACTORY

private static final java.lang.String CONNECTION_FACTORY
See Also:
Constant Field Values

TOPIC

private static final java.lang.String TOPIC
See Also:
Constant Field Values

glob

protected Global glob

log

private static java.util.logging.Logger log

args

private java.lang.String[] args

namingService

private org.apache.naming.NamingService namingService

env

private java.util.Hashtable env

qos

private ConnectQos qos
Constructor Detail

TestJmsAdmin

public TestJmsAdmin(java.lang.String name)
             throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

prepare

public void prepare(java.lang.String[] args)

setUp

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

tearDown

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

adminJmsStart

protected void adminJmsStart()

testConnectionFactory

public void testConnectionFactory()
Checks if the connectQos passed to the initial context also reaches the ConnectionFactrory correcty


main

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


xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.