org.davesag.generica.test
Class XmlParserTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.davesag.generica.test.XmlParserTest
All Implemented Interfaces:
Serializable, Test

public class XmlParserTest
extends TestCase
implements Serializable

XmlParserTest is collection of all of the tests on the FaqXmlParser.

Since:
Generica 0.4.0
Version:
CVS revision $Id: XmlParserTest.java,v 1.6 2004/03/30 13:00:43 davesag Exp $
Author:
Dave Sag http://www.davesag.com
See Also:
Serialized Form

Constructor Summary
XmlParserTest()
          null constructor
XmlParserTest(String name)
          constructor that takes a test name
 
Method Summary
static Test suite()
          test suite
 void testParseFaqs()
          test can parse a file of faqs
 void testParseLinks()
          test can parse a file of links
 void testParseMedia()
          test can parse a file of medias
 void testParseMediaTypes()
          test can parse a file of media-types
 void testParseMerchants()
          test can parse a file of merchants
 void testParseSiteCopy()
          test can parse a file of sitecopy
 String toString()
          test name
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown
 
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
 

Constructor Detail

XmlParserTest

public XmlParserTest()
null constructor


XmlParserTest

public XmlParserTest(String name)
constructor that takes a test name

Parameters:
name - the name of this suite of tests
Method Detail

testParseFaqs

public void testParseFaqs()
test can parse a file of faqs


testParseSiteCopy

public void testParseSiteCopy()
test can parse a file of sitecopy


testParseLinks

public void testParseLinks()
test can parse a file of links


testParseMerchants

public void testParseMerchants()
test can parse a file of merchants


testParseMediaTypes

public void testParseMediaTypes()
test can parse a file of media-types


testParseMedia

public void testParseMedia()
test can parse a file of medias


suite

public static Test suite()
test suite

Returns:
suite of tests

toString

public String toString()
test name

Returns:
name of test


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.