xmlBlaster 2.2.0 API

org.xmlBlaster.test.dispatch
Class ConfigurationParserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.xmlBlaster.test.dispatch.ConfigurationParserTest
All Implemented Interfaces:
junit.framework.Test

public class ConfigurationParserTest
extends junit.framework.TestCase

Test ConfigurationParser.

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

TODO: http://xmlunit.sourceforge.net/

Invoke: java -Djava.compiler= junit.textui.TestRunner -noloading org.xmlBlaster.test.dispatch.ConfigurationParserTest

Author:
xmlBlaster@marcelruff.info
See Also:
ConfigurationParser, PriorizedDispatchPlugin, the dispatch.plugin.priorizedDispatch requirement

Field Summary
(package private)  int counter
           
protected  Global glob
           
private static java.util.logging.Logger log
           
 
Constructor Summary
ConfigurationParserTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           java org.xmlBlaster.test.dispatch.ConfigurationParserTest
protected  void setUp()
           
protected  void tearDown()
           
 void testDefault()
          Test empty parse -> default settings
 void testInvalidParse()
          Test invalid configuration
 void testParse()
          Test a valid configuration
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

glob

protected Global glob

log

private static java.util.logging.Logger log

counter

int counter
Constructor Detail

ConfigurationParserTest

public ConfigurationParserTest(java.lang.String name)
Method Detail

setUp

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

tearDown

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

testParse

public void testParse()
Test a valid configuration


testInvalidParse

public void testInvalidParse()
Test invalid configuration


testDefault

public void testDefault()
Test empty parse -> default settings


main

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


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.