xmlBlaster 2.2.0 API

org.xmlBlaster.test.classtest
Class XmlScriptInterpreterTest

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

public class XmlScriptInterpreterTest
extends org.custommonkey.xmlunit.XMLTestCase

Test ClientProperty.

Author:
Michele Laghi

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

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

See Also:
XmlScriptInterpreter, The client.xmlScript requirement

Nested Class Summary
 class XmlScriptInterpreterTest.TestAccessor
           
 
Field Summary
private  XmlScriptInterpreterTest.TestAccessor accessor
           
private  java.util.HashMap attachments
           
protected  Global glob
           
protected  XmlScriptInterpreter interpreter
           
private static java.util.logging.Logger log
           
protected static java.lang.String ME
           
private  java.io.ByteArrayOutputStream out
           
 
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
XmlScriptInterpreterTest(Global global, java.lang.String name)
           
XmlScriptInterpreterTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           java org.xmlBlaster.test.classtest.XmlScriptInterpreterTest
protected  void setUp()
           
protected  void testConnect()
           
protected  void testDisconnect()
           
protected  void testErase()
           
protected  void testGet()
           
protected  void testParseProcessingInstruction()
           
protected  void testPublish()
           
protected  void testPublishArr()
           
protected  void testSubscribe()
           
protected  void testUnSubscribe()
           
 
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, 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

protected static final java.lang.String ME
See Also:
Constant Field Values

glob

protected Global glob

log

private static java.util.logging.Logger log

interpreter

protected XmlScriptInterpreter interpreter

accessor

private XmlScriptInterpreterTest.TestAccessor accessor

out

private java.io.ByteArrayOutputStream out

attachments

private java.util.HashMap attachments
Constructor Detail

XmlScriptInterpreterTest

public XmlScriptInterpreterTest(java.lang.String name)

XmlScriptInterpreterTest

public XmlScriptInterpreterTest(Global global,
                                java.lang.String name)
Method Detail

setUp

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

testParseProcessingInstruction

protected void testParseProcessingInstruction()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testConnect

protected void testConnect()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testSubscribe

protected void testSubscribe()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testPublish

protected void testPublish()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testPublishArr

protected void testPublishArr()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testDisconnect

protected void testDisconnect()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testUnSubscribe

protected void testUnSubscribe()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testErase

protected void testErase()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testGet

protected void testGet()
                throws java.lang.Exception
Throws:
java.lang.Exception

main

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


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.