|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
junit.com.mcdermottroe.exemplar.ExemplarTestCase<T>
junit.com.mcdermottroe.exemplar.NormalClassTestCase<T>
junit.com.mcdermottroe.exemplar.output.XMLParserGeneratorTestCase<T>
junit.com.mcdermottroe.exemplar.output.XMLParserSourceGeneratorTestCase<Generator>
junit.com.mcdermottroe.exemplar.output.xslt.GeneratorTest
public class GeneratorTest
Test class for Generator.
| Field Summary |
|---|
| Fields inherited from class junit.com.mcdermottroe.exemplar.NormalClassTestCase |
|---|
allowPublicStaticMembers, ignoreHashCodeTests |
| Fields inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase |
|---|
DELIBERATE_PASS, testedClass, TMP |
| Constructor Summary | |
|---|---|
GeneratorTest()
|
|
| Method Summary | |
|---|---|
Collection<File> |
generatedFiles(File outputDir,
XMLDocumentType docType)
Get the names of the Files which were created by XMLParserSourceGenerator.generateParser(XMLDocumentType, File). |
void |
setUp()
Set up the JUnit test. |
void |
testDescribeAPI()
Test XMLParserGenerator.describeAPI(). |
| Methods inherited from class junit.com.mcdermottroe.exemplar.output.XMLParserSourceGeneratorTestCase |
|---|
testDescribeLanguage, testGenerateParser |
| Methods inherited from class junit.com.mcdermottroe.exemplar.output.XMLParserGeneratorTestCase |
|---|
getSampleDocTypes |
| Methods inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase |
|---|
getTestedClass, testAllMethodsBeingTested, testCorrectPackage |
| 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeneratorTest()
| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class XMLParserGeneratorTestCase<Generator>Exception - if TestCase.setUp() throws one.ExemplarTestCase.testedClass,
TestCase.setUp()public void testDescribeAPI()
XMLParserGenerator.describeAPI().
testDescribeAPI in class XMLParserSourceGeneratorTestCase<Generator>
public Collection<File> generatedFiles(File outputDir,
XMLDocumentType docType)
Files which were created by XMLParserSourceGenerator.generateParser(XMLDocumentType, File).
generatedFiles in class XMLParserSourceGeneratorTestCase<Generator>outputDir - The directory in which the files were constructed.docType - The XMLDocumentType for which we are
generating a parser.
Collection of Files which should
have been generated by the output module.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||