public class EnterpriseEntityResolverTest
extends junit.framework.TestCase
Constructor and Description |
---|
EnterpriseEntityResolverTest(String name)
Construct the test case for the XML class.
|
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Create a temporary directory with a temporary file as the test entity.
|
void |
tearDown()
Delete the temporary file entity and test directory.
|
void |
testDirFinding()
Test if the resolver can convert a string specification of entity references
into a
List . |
void |
testEntityParsing()
Test if the entity parser works at initialization time.
|
void |
testFileFinding()
Test if the resolver finds a file based on a list of directories and name.
|
void |
testFilenameComputation()
Test if the resolver computes filenames based on public and system identifiers.
|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public EnterpriseEntityResolverTest(String name)
name
- Case namepublic void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
- if an error occurs.public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
- if an error occurs.public void testEntityParsing()
public void testFilenameComputation()
public void testFileFinding()
public void testDirFinding()
List
.Copyright © 1999–2017 Apache OODT. All rights reserved.