Java Doc for TestHierarchicalConfiguration.java in » Library » Apache-commons-configuration-1.4-src » org » apache » commons » configuration » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
Library
»
Apache commons configuration 1.4 src
»
org.apache.commons.configuration
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.apache.commons.configuration
.TestHierarchicalConfiguration
TestHierarchicalConfiguration
public
class TestHierarchicalConfiguration extends TestCase
(Code)
Test class for HierarchicalConfiguration.
version:
$Id: TestHierarchicalConfiguration.java 525488 2007-04-04 10:46:33Z oheger $
Inner Class :static class CountVisitor extends
HierarchicalConfiguration.NodeVisitor
Method Summary
protected
void
setUp
()
public
void
testAddNodes
()
public
void
testAddNodesForNonExistingKey
()
Tests the addNodes() method when the provided key does not exist.
public
void
testAddNodesWithAttributeKey
()
Tests the addNodes() method when the new nodes should be added to an attribute node.
public
void
testAddProperty
()
public
void
testClearProperty
()
public
void
testClearTree
()
public
void
testClearTreeComplex
()
Tests removing more complex node structures.
public
void
testClone
()
public
void
testCloneWithEventListeners
()
Tests whether registered event handlers are handled correctly when a configuration is cloned.
public
void
testConfigurationAt
()
Tests the configurationAt() method to obtain a configuration for a sub tree.
public
void
testConfigurationAtMultipleNodes
()
Tests the configurationAt() method when the passed in key selects multiple nodes.
public
void
testConfigurationAtUnknownSubTree
()
Tests the configurationAt() method when the passed in key does not exist.
public
void
testConfigurationsAt
()
Tests the configurationsAt() method.
public
void
testConfigurationsAtEmpty
()
Tests the configurationsAt() method when the passed in key does not select any sub nodes.
public
void
testContainsKey
()
public
void
testGetKeys
()
public
void
testGetKeysString
()
public
void
testGetMaxIndex
()
public
void
testGetProperty
()
public
void
testInitCopy
()
Tests the copy constructor.
public
void
testInitCopyNull
()
Tests the copy constructor when a null reference is passed.
public
void
testInitCopyUpdate
()
Tests whether the nodes of a copied configuration are independent from the source configuration.
public
void
testInterpolation
()
Tests interpolation facilities.
public
void
testIsEmpty
()
public
void
testNodeRemove
()
Tests removing children from a configuration node.
public
void
testNodeVisitor
()
Tests the visitor mechanism.
public
void
testSetDefaultExpressionEngine
()
Tests setting the default expression engine.
public
void
testSetDefaultExpressionEngineNull
()
Tests setting the default expression engine to null.
public
void
testSetExpressionEngine
()
Tests setting a custom expression engine, which uses a slightly different syntax.
public
void
testSetProperty
()
public
void
testSetRoot
()
public
void
testSetRootNode
()
public
void
testSetRootNodeNull
()
public
void
testSubset
()
Method Detail
setUp
protected
void setUp() throws
Exception
(Code)
testAddNodes
public
void testAddNodes()
(Code)
testAddNodesForNonExistingKey
public
void testAddNodesForNonExistingKey()
(Code)
Tests the addNodes() method when the provided key does not exist. In this case, a new node (or even a complete new branch) will be created.
testAddNodesWithAttributeKey
public
void testAddNodesWithAttributeKey()
(Code)
Tests the addNodes() method when the new nodes should be added to an attribute node. This is not allowed.
testAddProperty
public
void testAddProperty()
(Code)
testClearProperty
public
void testClearProperty()
(Code)
testClearTree
public
void testClearTree()
(Code)
testClearTreeComplex
public
void testClearTreeComplex()
(Code)
Tests removing more complex node structures.
testClone
public
void testClone()
(Code)
testCloneWithEventListeners
public
void testCloneWithEventListeners()
(Code)
Tests whether registered event handlers are handled correctly when a configuration is cloned. They should not be registered at the clone.
testConfigurationAt
public
void testConfigurationAt()
(Code)
Tests the configurationAt() method to obtain a configuration for a sub tree.
testConfigurationAtMultipleNodes
public
void testConfigurationAtMultipleNodes()
(Code)
Tests the configurationAt() method when the passed in key selects multiple nodes. This should cause an exception.
testConfigurationAtUnknownSubTree
public
void testConfigurationAtUnknownSubTree()
(Code)
Tests the configurationAt() method when the passed in key does not exist.
testConfigurationsAt
public
void testConfigurationsAt()
(Code)
Tests the configurationsAt() method.
testConfigurationsAtEmpty
public
void testConfigurationsAtEmpty()
(Code)
Tests the configurationsAt() method when the passed in key does not select any sub nodes.
testContainsKey
public
void testContainsKey()
(Code)
testGetKeys
public
void testGetKeys()
(Code)
testGetKeysString
public
void testGetKeysString()
(Code)
testGetMaxIndex
public
void testGetMaxIndex()
(Code)
testGetProperty
public
void testGetProperty()
(Code)
testInitCopy
public
void testInitCopy()
(Code)
Tests the copy constructor.
testInitCopyNull
public
void testInitCopyNull()
(Code)
Tests the copy constructor when a null reference is passed.
testInitCopyUpdate
public
void testInitCopyUpdate()
(Code)
Tests whether the nodes of a copied configuration are independent from the source configuration.
testInterpolation
public
void testInterpolation()
(Code)
Tests interpolation facilities.
testIsEmpty
public
void testIsEmpty()
(Code)
testNodeRemove
public
void testNodeRemove()
(Code)
Tests removing children from a configuration node.
testNodeVisitor
public
void testNodeVisitor()
(Code)
Tests the visitor mechanism.
testSetDefaultExpressionEngine
public
void testSetDefaultExpressionEngine()
(Code)
Tests setting the default expression engine. This should impact all configuration instances that do not have their own engine.
testSetDefaultExpressionEngineNull
public
void testSetDefaultExpressionEngineNull()
(Code)
Tests setting the default expression engine to null. This should not be allowed.
testSetExpressionEngine
public
void testSetExpressionEngine()
(Code)
Tests setting a custom expression engine, which uses a slightly different syntax.
testSetProperty
public
void testSetProperty()
(Code)
testSetRoot
public
void testSetRoot()
(Code)
testSetRootNode
public
void testSetRootNode()
(Code)
testSetRootNodeNull
public
void testSetRootNodeNull()
(Code)
testSubset
public
void testSubset()
(Code)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.