|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.configuration.TestINIConfiguration
public class TestINIConfiguration
Test class for INIConfiguration.
| Constructor Summary | |
|---|---|
TestINIConfiguration()
|
|
| Method Summary | |
|---|---|
void |
testGetSections()
Test of getSections method, of class INIConfiguration. |
void |
testIsCommentLine()
Test of isCommentLine method, of class INIConfiguration. |
void |
testIsSectionLine()
Test of isSectionLine method, of class INIConfiguration. |
void |
testLoad()
Test of load method, of class INIConfiguration. |
void |
testLoadAlternativeSeparator()
Tests the load() method when the alternative value separator is used (a ':' for '='). |
void |
testQuotedValue()
|
void |
testQuotedValueWithComment()
|
void |
testQuotedValueWithQuotes()
|
void |
testQuotedValueWithSingleQuotes()
|
void |
testQuotedValueWithWhitespace()
Tests whether whitespace is left unchanged for quoted values. |
void |
testQuotedValueWithWhitespaceAndComment()
Tests a quoted value with space and a comment. |
void |
testSave()
Test of save method, of class INIConfiguration. |
void |
testValueWithComment()
|
void |
testWriteValueWithCommentChar()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestINIConfiguration()
| Method Detail |
|---|
public void testSave()
throws java.lang.Exception
INIConfiguration.
java.lang.Exception
public void testLoad()
throws java.lang.Exception
INIConfiguration.
java.lang.Exception
public void testLoadAlternativeSeparator()
throws java.lang.Exception
java.lang.Exceptionpublic void testIsCommentLine()
INIConfiguration.
public void testIsSectionLine()
INIConfiguration.
public void testGetSections()
INIConfiguration.
public void testQuotedValue()
throws java.lang.Exception
java.lang.Exception
public void testQuotedValueWithQuotes()
throws java.lang.Exception
java.lang.Exception
public void testValueWithComment()
throws java.lang.Exception
java.lang.Exception
public void testQuotedValueWithComment()
throws java.lang.Exception
java.lang.Exception
public void testQuotedValueWithSingleQuotes()
throws java.lang.Exception
java.lang.Exception
public void testWriteValueWithCommentChar()
throws java.lang.Exception
java.lang.Exception
public void testQuotedValueWithWhitespace()
throws java.lang.Exception
java.lang.Exception
public void testQuotedValueWithWhitespaceAndComment()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||