[ini4j]

org.ini4j
Class ConfigParserTest

Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by Ini4jCase
              extended by ConfigParserTest
All Implemented Interfaces:
junit.framework.Test

public class ConfigParserTest
extends Ini4jCase


Field Summary
protected  ConfigParser instance
           
 
Constructor Summary
ConfigParserTest()
           
 
Method Summary
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()
           
 
Methods inherited from class Ini4jCase
missing
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

instance

protected ConfigParser instance
Constructor Detail

ConfigParserTest

public ConfigParserTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class Ini4jCase
Throws:
Exception

tearDown

public void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

testAddHasRemove

public void testAddHasRemove()
                      throws Exception
Throws:
Exception

testAddSectionDuplicate

public void testAddSectionDuplicate()
                             throws Exception
Throws:
Exception

testAddSectionIllegal

public void testAddSectionIllegal()
                           throws Exception
Throws:
Exception

testDefaults

public void testDefaults()
                  throws Exception
Throws:
Exception

testDwarfs

public void testDwarfs()
                throws Exception
Throws:
Exception

testGet

public void testGet()
             throws Exception
Throws:
Exception

testGetBooleanException

public void testGetBooleanException()
                             throws Exception
Throws:
Exception

testGetMissinOptionException

public void testGetMissinOptionException()
                                  throws Exception
Throws:
Exception

testGetNoOption

public void testGetNoOption()
                     throws Exception
Throws:
Exception

testGetNoSection

public void testGetNoSection()
                      throws Exception
Throws:
Exception

testGetVars

public void testGetVars()
                 throws Exception
Throws:
Exception

testItems

public void testItems()
               throws Exception
Throws:
Exception

testOptions

public void testOptions()
                 throws Exception
Throws:
Exception

testRead

public void testRead()
              throws Exception
Throws:
Exception

testReadFileException

public void testReadFileException()
                           throws Exception
Throws:
Exception

testReadReaderException

public void testReadReaderException()
                             throws Exception
Throws:
Exception

testReadStreamException

public void testReadStreamException()
                             throws Exception
Throws:
Exception

testReadURLException

public void testReadURLException()
                          throws Exception
Throws:
Exception

testSections

public void testSections()
                  throws Exception
Throws:
Exception

testSet

public void testSet()
             throws Exception
Throws:
Exception

testSetNoSection

public void testSetNoSection()
                      throws Exception
Throws:
Exception

testWrite

public void testWrite()
               throws Exception
Throws:
Exception

checkEquals

protected void checkEquals(Dwarf expected,
                           String sectionName)
                    throws Exception
Throws:
Exception

newTestFile

protected File newTestFile(String path)

readDwarfs

protected void readDwarfs()
                   throws Exception
Throws:
Exception

[ini4j]