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, toString
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
protected ConfigParser instance
public ConfigParserTest()
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testAddHasRemove() throws Exception
Exception
public void testAddSectionDuplicate() throws Exception
Exception
public void testAddSectionIllegal() throws Exception
Exception
public void testDefaults() throws Exception
Exception
public void testDwarfs() throws Exception
Exception
public void testGet() throws Exception
Exception
public void testGetBooleanException() throws Exception
Exception
public void testGetMissinOptionException() throws Exception
Exception
public void testGetNoOption() throws Exception
Exception
public void testGetNoSection() throws Exception
Exception
public void testGetVars() throws Exception
Exception
public void testItems() throws Exception
Exception
public void testOptions() throws Exception
Exception
public void testRead() throws Exception
Exception
public void testReadFileException() throws Exception
Exception
public void testReadReaderException() throws Exception
Exception
public void testReadStreamException() throws Exception
Exception
public void testReadURLException() throws Exception
Exception
public void testSections() throws Exception
Exception
public void testSet() throws Exception
Exception
public void testSetNoSection() throws Exception
Exception
public void testWrite() throws Exception
Exception
protected void checkEquals(Dwarf expected, String sectionName) throws Exception
Exception
protected File newTestFile(String path)
protected void readDwarfs() throws Exception
Exception