public class ConfigParserTest extends Ini4jCase
| Modifier and Type | Field and Description |
|---|---|
protected ConfigParser |
instance |
| Constructor and Description |
|---|
ConfigParserTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkEquals(Dwarf expected,
String sectionName) |
protected File |
newTestFile(String path) |
protected void |
readDwarfs() |
void |
setUp() |
void |
tearDown() |
void |
testAddHasRemove() |
void |
testAddSectionDuplicate() |
void |
testAddSectionIllegal() |
void |
testDefaults() |
void |
testDwarfs() |
void |
testGet() |
void |
testGetBooleanException() |
void |
testGetMissinOptionException() |
void |
testGetNoOption() |
void |
testGetNoSection() |
void |
testGetVars() |
void |
testItems() |
void |
testOptions() |
void |
testRead() |
void |
testReadFileException() |
void |
testReadReaderException() |
void |
testReadStreamException() |
void |
testReadURLException() |
void |
testSections() |
void |
testSet() |
void |
testSetNoSection() |
void |
testWrite() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, 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, formatprotected ConfigParser instance
public ConfigParserTest()
public void tearDown()
tearDown in class junit.framework.TestCasepublic void testAddHasRemove() throws Exception
Exceptionpublic void testAddSectionDuplicate() throws Exception
Exceptionpublic void testAddSectionIllegal() throws Exception
Exceptionpublic void testDefaults() throws Exception
Exceptionpublic void testDwarfs() throws Exception
Exceptionpublic void testGet() throws Exception
Exceptionpublic void testGetBooleanException() throws Exception
Exceptionpublic void testGetMissinOptionException() throws Exception
Exceptionpublic void testGetNoOption() throws Exception
Exceptionpublic void testGetNoSection() throws Exception
Exceptionpublic void testGetVars() throws Exception
Exceptionpublic void testItems() throws Exception
Exceptionpublic void testOptions() throws Exception
Exceptionpublic void testRead() throws Exception
Exceptionpublic void testReadFileException() throws Exception
Exceptionpublic void testReadReaderException() throws Exception
Exceptionpublic void testReadStreamException() throws Exception
Exceptionpublic void testReadURLException() throws Exception
Exceptionpublic void testSections() throws Exception
Exceptionpublic void testSet() throws Exception
Exceptionpublic void testSetNoSection() throws Exception
Exceptionpublic void testWrite() throws Exception
Exceptionprotected void checkEquals(Dwarf expected, String sectionName) throws Exception
Exceptionprotected File newTestFile(String path)
protected void readDwarfs() throws Exception
Exception