org.apache.commons.configuration.plist
Class TestXMLPropertyListConfiguration

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

public class TestXMLPropertyListConfiguration
extends Object

Version:
$Id: TestXMLPropertyListConfiguration.java 1367253 2012-07-30 19:59:36Z oheger $
Author:
Emmanuel Bourg

Constructor Summary
TestXMLPropertyListConfiguration()
           
 
Method Summary
 void setUp()
           
 void testAddDataProperty()
          Ensure that addProperty doesn't alter an array of byte
 void testArray()
           
 void testBoolean()
           
 void testDate()
           
 void testDictionary()
           
 void testDictionaryArray()
           
 void testInitCopy()
           
 void testInteger()
           
 void testLoadNoDict()
          Tests whether a configuration can be loaded that does not start with a dict element.
 void testLoadNoDictConstr()
          Tests whether a configuration that does not start with a dict element can be loaded from a constructor.
 void testNested()
           
 void testNestedArray()
           
 void testReal()
           
 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 testSetDatePropertyInvalid()
          Tests a configuration file which contains an invalid date property value.
 void testString()
           
 void testSubset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestXMLPropertyListConfiguration

public TestXMLPropertyListConfiguration()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testString

public void testString()
                throws Exception
Throws:
Exception

testInteger

public void testInteger()
                 throws Exception
Throws:
Exception

testReal

public void testReal()
              throws Exception
Throws:
Exception

testBoolean

public void testBoolean()
                 throws Exception
Throws:
Exception

testDictionary

public void testDictionary()

testDate

public void testDate()
              throws Exception
Throws:
Exception

testSubset

public void testSubset()

testArray

public void testArray()

testNestedArray

public void testNestedArray()

testDictionaryArray

public void testDictionaryArray()

testNested

public void testNested()

testSave

public void testSave()
              throws Exception
Throws:
Exception

testSaveEmptyDictionary

public void testSaveEmptyDictionary()
                             throws Exception
Throws:
Exception

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()

testLoadNoDict

public void testLoadNoDict()
                    throws ConfigurationException
Tests whether a configuration can be loaded that does not start with a dict element. This test case is related to CONFIGURATION-405.

Throws:
ConfigurationException

testLoadNoDictConstr

public void testLoadNoDictConstr()
                          throws ConfigurationException
Tests whether a configuration that does not start with a dict element can be loaded from a constructor. This test case is related to CONFIGURATION-405.

Throws:
ConfigurationException

testSetDatePropertyInvalid

public void testSetDatePropertyInvalid()
                                throws ConfigurationException
Tests a configuration file which contains an invalid date property value. This test is related to CONFIGURATION-501.

Throws:
ConfigurationException


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