com.ricebridge.xmlman.test
Class BadRecordsTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.ricebridge.xmlman.test.BadRecordsTest
All Implemented Interfaces:
junit.framework.Test

public class BadRecordsTest
extends junit.framework.TestCase

Test cases for BadRecord handling.

Test files are badrec.xml, badxml.xml.

The Source Code of this Java class is available under a BSD-style license.


Nested Class Summary
static class BadRecordsTest.BadRecordContext
           
static class BadRecordsTest.FailingRecordListener
           
static class BadRecordsTest.SimpleBadRecordListener
           
 
Constructor Summary
BadRecordsTest(String pName)
           
 
Method Summary
static void main(String[] pArgs)
           
static junit.framework.TestSuite suite()
           
 void testBadRecord()
           
 void testBadXml()
           
 void testCollect()
           
 void testFailFast()
           
 void testListener()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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
 

Constructor Detail

BadRecordsTest

public BadRecordsTest(String pName)
Method Detail

suite

public static junit.framework.TestSuite suite()

main

public static void main(String[] pArgs)

testBadXml

public void testBadXml()
                throws Exception
Throws:
Exception

testBadRecord

public void testBadRecord()

testFailFast

public void testFailFast()
                  throws Exception
Throws:
Exception

testCollect

public void testCollect()
                 throws Exception
Throws:
Exception

testListener

public void testListener()
                  throws Exception
Throws:
Exception


Copyright © 2004-2005 Ricebridge