org.apache.commons.configuration.plist
Class TestPropertyListConfiguration

java.lang.Object
  extended by org.apache.commons.configuration.plist.TestPropertyListConfiguration

public class TestPropertyListConfiguration
extends Object

Version:
$Id: TestPropertyListConfiguration.java 1225902 2011-12-30 19:46:24Z oheger $
Author:
Emmanuel Bourg

Constructor Summary
TestPropertyListConfiguration()
           
 
Method Summary
 void setUp()
           
 void testAddDataProperty()
          Ensure that addProperty doesn't alter an array of byte
 void testArray()
           
 void testData()
           
 void testDate()
           
 void testDictionary()
           
 void testDictionaryArray()
           
 void testEmptyArray()
           
 void testFormatDate()
          Tests formatting a date.
 void testInitCopy()
           
 void testLoad()
           
 void testLoadWithError()
           
 void testNestedArrays()
           
 void testNestedDictionaries()
           
 void testParseDateInvalidChar()
          Tests parsing a date that contains an invalid separator character.
 void testParseDateNoNumber()
          Tests parsing a date with an invalid numeric value.
 void testParseDateNull()
          Tries parsing a null date.
 void testParseDateTooShort()
          Tests parsing a date that is not long enough.
 void testQuotedString()
           
 void testQuoteString()
           
 void testSave()
           
 void testSaveEmptyDictionary()
           
 void testSetDataProperty()
          Ensure that setProperty doesn't alter an array of byte since it's a first class type in plist file
 void testString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestPropertyListConfiguration

public TestPropertyListConfiguration()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testLoad

public void testLoad()

testLoadWithError

public void testLoadWithError()

testString

public void testString()

testQuotedString

public void testQuotedString()

testEmptyArray

public void testEmptyArray()

testArray

public void testArray()

testNestedArrays

public void testNestedArrays()

testDictionary

public void testDictionary()

testDictionaryArray

public void testDictionaryArray()

testNestedDictionaries

public void testNestedDictionaries()

testData

public void testData()

testDate

public void testDate()
              throws Exception
Throws:
Exception

testSave

public void testSave()
              throws Exception
Throws:
Exception

testSaveEmptyDictionary

public void testSaveEmptyDictionary()
                             throws Exception
Throws:
Exception

testQuoteString

public void testQuoteString()

testSetDataProperty

public void testSetDataProperty()
                         throws Exception
Ensure that setProperty doesn't alter an array of byte since it's a first class type in plist file

Throws:
Exception

testAddDataProperty

public void testAddDataProperty()
                         throws Exception
Ensure that addProperty doesn't alter an array of byte

Throws:
Exception

testInitCopy

public void testInitCopy()

testParseDateNoNumber

public void testParseDateNoNumber()
                           throws ParseException
Tests parsing a date with an invalid numeric value.

Throws:
ParseException

testParseDateTooShort

public void testParseDateTooShort()
                           throws ParseException
Tests parsing a date that is not long enough.

Throws:
ParseException

testParseDateInvalidChar

public void testParseDateInvalidChar()
                              throws ParseException
Tests parsing a date that contains an invalid separator character.

Throws:
ParseException

testParseDateNull

public void testParseDateNull()
                       throws ParseException
Tries parsing a null date. This should cause an exception.n

Throws:
ParseException

testFormatDate

public void testFormatDate()
Tests formatting a date.



Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.