org.apache.commons.betwixt
Class RSSBeanReader

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.betwixt.xmlunit.XmlTestCase
              extended by org.apache.commons.betwixt.AbstractTestCase
                  extended by org.apache.commons.betwixt.RSSBeanReader
All Implemented Interfaces:
junit.framework.Test

public class RSSBeanReader
extends AbstractTestCase

Reads an RSS file using Betwixt's auto-digester rules then outputs it again.

Version:
$Revision: 438373 $
Author:
James Strachan

Field Summary
protected static java.lang.String[] registrations
          The set of public identifiers, and corresponding resource names, for the versions of the DTDs that we know about.
 
Fields inherited from class org.apache.commons.betwixt.AbstractTestCase
basedir
 
Fields inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
debug
 
Constructor Summary
RSSBeanReader(java.lang.String testName)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void run(java.lang.String[] args)
           
 void write(java.lang.Object bean)
           
 
Methods inherited from class org.apache.commons.betwixt.AbstractTestCase
createBean, getTestFile, getTestFileURL
 
Methods inherited from class org.apache.commons.betwixt.xmlunit.XmlTestCase
createDocumentBuilder, getDomFactory, isValid, parseFile, parseString, parseString, validateWithSchema, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphic, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsomorphicContent, xmlAssertIsValid, xmlAssertIsValid
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

registrations

protected static final java.lang.String[] registrations
The set of public identifiers, and corresponding resource names, for the versions of the DTDs that we know about.

Constructor Detail

RSSBeanReader

public RSSBeanReader(java.lang.String testName)
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

run

public void run(java.lang.String[] args)
         throws java.lang.Exception
Throws:
java.lang.Exception

write

public void write(java.lang.Object bean)
           throws java.lang.Exception
Throws:
java.lang.Exception


Copyright 2002-2008 The Apache Software Foundation. All Rights Reserved.