Java Doc for DynaPropertyUtilsTestCase.java in  » Library » Apache-commons-beanutils-1.8.0-BETA-src » org » apache » commons » beanutils » 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 beanutils 1.8.0 BETA src » org.apache.commons.beanutils 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.commons.beanutils.DynaPropertyUtilsTestCase

DynaPropertyUtilsTestCase
public class DynaPropertyUtilsTestCase extends TestCase (Code)
Test accessing DynaBeans transparently via PropertyUtils.
author:
   Craig R. McClanahan
version:
   $Revision: 471138 $ $Date: 2006-11-04 08:06:03 +0000 (Sat, 04 Nov 2006) $


Field Summary
protected  DynaBeanbean
     The basic test bean for each test.
protected  Stringdescribes
     The set of properties that should be described.
protected  TestBeannested
     The nested bean pointed at by the "nested" property.

Constructor Summary
public  DynaPropertyUtilsTestCase(String name)
     Construct a new instance of this test case.

Method Summary
protected  DynaClasscreateDynaClass()
     Create and return a DynaClass instance for our test DynaBean.
public  voidsetUp()
     Set up instance variables required by this test case.
public static  Testsuite()
     Return the tests included in this test suite.
public  voidtearDown()
     Tear down instance variables required by this test case.
public  voidtestCopyPropertiesMap()
     Test copyProperties() when the origin is a a Map.
public  voidtestDescribe()
     Test the describe() method.
public  voidtestGetIndexedArguments()
     Corner cases on getIndexedProperty invalid arguments.
public  voidtestGetIndexedValues()
     Positive and negative tests on getIndexedProperty valid arguments.
public  voidtestGetMappedArguments()
     Corner cases on getMappedProperty invalid arguments.
public  voidtestGetMappedPeriods()
     Test getting mapped values with periods in the key.
public  voidtestGetMappedSlashes()
     Test getting mapped values with slashes in the key.
public  voidtestGetMappedValues()
     Positive and negative tests on getMappedProperty valid arguments.
public  voidtestGetNestedArguments()
     Corner cases on getNestedProperty invalid arguments.
public  voidtestGetNestedBoolean()
     Test getNestedProperty on a boolean property.
public  voidtestGetNestedDouble()
     Test getNestedProperty on a double property.
public  voidtestGetNestedFloat()
     Test getNestedProperty on a float property.
public  voidtestGetNestedInt()
     Test getNestedProperty on an int property.
public  voidtestGetNestedLong()
     Test getNestedProperty on a long property.
public  voidtestGetNestedReadOnly()
     Test getNestedProperty on a read-only String property.
public  voidtestGetNestedShort()
     Test getNestedProperty on a short property.
public  voidtestGetNestedString()
     Test getNestedProperty on a String property.
public  voidtestGetNestedUnknown()
     Negative test getNestedProperty on an unknown property.
public  voidtestGetSimpleArguments()
     Corner cases on getSimpleProperty invalid arguments.
public  voidtestGetSimpleBoolean()
     Test getSimpleProperty on a boolean property.
public  voidtestGetSimpleDouble()
     Test getSimpleProperty on a double property.
public  voidtestGetSimpleFloat()
     Test getSimpleProperty on a float property.
public  voidtestGetSimpleIndexed()
     Negative test getSimpleProperty on an indexed property.
public  voidtestGetSimpleInt()
     Test getSimpleProperty on an int property.
public  voidtestGetSimpleLong()
     Test getSimpleProperty on a long property.
public  voidtestGetSimpleNested()
     Negative test getSimpleProperty on a nested property.
public  voidtestGetSimpleShort()
     Test getSimpleProperty on a short property.
public  voidtestGetSimpleString()
     Test getSimpleProperty on a String property.
public  voidtestGetSimpleUnknown()
     Negative test getSimpleProperty on an unknown property.
public  voidtestSetIndexedArguments()
     Corner cases on setIndexedProperty invalid arguments.
public  voidtestSetIndexedValues()
     Positive and negative tests on setIndexedProperty valid arguments.
public  voidtestSetMappedArguments()
     Corner cases on getMappedProperty invalid arguments.
public  voidtestSetMappedValues()
     Positive and negative tests on setMappedProperty valid arguments.
public  voidtestSetNestedArguments()
     Corner cases on setNestedProperty invalid arguments.
public  voidtestSetNestedBoolean()
     Test setNextedProperty on a boolean property.
public  voidtestSetNestedDouble()
     Test setNestedProperty on a double property.
public  voidtestSetNestedFloat()
     Test setNestedProperty on a float property.
public  voidtestSetNestedInt()
     Test setNestedProperty on a int property.
public  voidtestSetNestedLong()
     Test setNestedProperty on a long property.
public  voidtestSetNestedReadOnly()
     Test setNestedProperty on a read-only String property.
public  voidtestSetNestedShort()
     Test setNestedProperty on a short property.
public  voidtestSetNestedString()
     Test setNestedProperty on a String property.
public  voidtestSetNestedUnknown()
     Test setNestedProperty on an unknown property name.
public  voidtestSetNestedWriteOnly()
     Test setNestedProperty on a write-only String property.
public  voidtestSetSimpleArguments()
     Corner cases on setSimpleProperty invalid arguments.
public  voidtestSetSimpleBoolean()
     Test setSimpleProperty on a boolean property.
public  voidtestSetSimpleDouble()
     Test setSimpleProperty on a double property.
public  voidtestSetSimpleFloat()
     Test setSimpleProperty on a float property.
public  voidtestSetSimpleIndexed()
     Negative test setSimpleProperty on an indexed property.
public  voidtestSetSimpleInt()
     Test setSimpleProperty on a int property.
public  voidtestSetSimpleLong()
     Test setSimpleProperty on a long property.
public  voidtestSetSimpleNested()
     Negative test setSimpleProperty on a nested property.
public  voidtestSetSimpleShort()
     Test setSimpleProperty on a short property.
public  voidtestSetSimpleString()
     Test setSimpleProperty on a String property.
public  voidtestSetSimpleUnknown()
     Test setSimpleProperty on an unknown property name.

Field Detail
bean
protected DynaBean bean(Code)
The basic test bean for each test.



describes
protected String describes(Code)
The set of properties that should be described.



nested
protected TestBean nested(Code)
The nested bean pointed at by the "nested" property.




Constructor Detail
DynaPropertyUtilsTestCase
public DynaPropertyUtilsTestCase(String name)(Code)
Construct a new instance of this test case.
Parameters:
  name - Name of the test case




Method Detail
createDynaClass
protected DynaClass createDynaClass()(Code)
Create and return a DynaClass instance for our test DynaBean.



setUp
public void setUp() throws Exception(Code)
Set up instance variables required by this test case.



suite
public static Test suite()(Code)
Return the tests included in this test suite.



tearDown
public void tearDown()(Code)
Tear down instance variables required by this test case.



testCopyPropertiesMap
public void testCopyPropertiesMap()(Code)
Test copyProperties() when the origin is a a Map.



testDescribe
public void testDescribe()(Code)
Test the describe() method.



testGetIndexedArguments
public void testGetIndexedArguments()(Code)
Corner cases on getIndexedProperty invalid arguments.



testGetIndexedValues
public void testGetIndexedValues()(Code)
Positive and negative tests on getIndexedProperty valid arguments.



testGetMappedArguments
public void testGetMappedArguments()(Code)
Corner cases on getMappedProperty invalid arguments.



testGetMappedPeriods
public void testGetMappedPeriods()(Code)
Test getting mapped values with periods in the key.



testGetMappedSlashes
public void testGetMappedSlashes()(Code)
Test getting mapped values with slashes in the key. This is different from periods because slashes are not syntactically significant.



testGetMappedValues
public void testGetMappedValues()(Code)
Positive and negative tests on getMappedProperty valid arguments.



testGetNestedArguments
public void testGetNestedArguments()(Code)
Corner cases on getNestedProperty invalid arguments.



testGetNestedBoolean
public void testGetNestedBoolean()(Code)
Test getNestedProperty on a boolean property.



testGetNestedDouble
public void testGetNestedDouble()(Code)
Test getNestedProperty on a double property.



testGetNestedFloat
public void testGetNestedFloat()(Code)
Test getNestedProperty on a float property.



testGetNestedInt
public void testGetNestedInt()(Code)
Test getNestedProperty on an int property.



testGetNestedLong
public void testGetNestedLong()(Code)
Test getNestedProperty on a long property.



testGetNestedReadOnly
public void testGetNestedReadOnly()(Code)
Test getNestedProperty on a read-only String property.



testGetNestedShort
public void testGetNestedShort()(Code)
Test getNestedProperty on a short property.



testGetNestedString
public void testGetNestedString()(Code)
Test getNestedProperty on a String property.



testGetNestedUnknown
public void testGetNestedUnknown()(Code)
Negative test getNestedProperty on an unknown property.



testGetSimpleArguments
public void testGetSimpleArguments()(Code)
Corner cases on getSimpleProperty invalid arguments.



testGetSimpleBoolean
public void testGetSimpleBoolean()(Code)
Test getSimpleProperty on a boolean property.



testGetSimpleDouble
public void testGetSimpleDouble()(Code)
Test getSimpleProperty on a double property.



testGetSimpleFloat
public void testGetSimpleFloat()(Code)
Test getSimpleProperty on a float property.



testGetSimpleIndexed
public void testGetSimpleIndexed()(Code)
Negative test getSimpleProperty on an indexed property.



testGetSimpleInt
public void testGetSimpleInt()(Code)
Test getSimpleProperty on an int property.



testGetSimpleLong
public void testGetSimpleLong()(Code)
Test getSimpleProperty on a long property.



testGetSimpleNested
public void testGetSimpleNested()(Code)
Negative test getSimpleProperty on a nested property.



testGetSimpleShort
public void testGetSimpleShort()(Code)
Test getSimpleProperty on a short property.



testGetSimpleString
public void testGetSimpleString()(Code)
Test getSimpleProperty on a String property.



testGetSimpleUnknown
public void testGetSimpleUnknown()(Code)
Negative test getSimpleProperty on an unknown property.



testSetIndexedArguments
public void testSetIndexedArguments()(Code)
Corner cases on setIndexedProperty invalid arguments.



testSetIndexedValues
public void testSetIndexedValues()(Code)
Positive and negative tests on setIndexedProperty valid arguments.



testSetMappedArguments
public void testSetMappedArguments()(Code)
Corner cases on getMappedProperty invalid arguments.



testSetMappedValues
public void testSetMappedValues()(Code)
Positive and negative tests on setMappedProperty valid arguments.



testSetNestedArguments
public void testSetNestedArguments()(Code)
Corner cases on setNestedProperty invalid arguments.



testSetNestedBoolean
public void testSetNestedBoolean()(Code)
Test setNextedProperty on a boolean property.



testSetNestedDouble
public void testSetNestedDouble()(Code)
Test setNestedProperty on a double property.



testSetNestedFloat
public void testSetNestedFloat()(Code)
Test setNestedProperty on a float property.



testSetNestedInt
public void testSetNestedInt()(Code)
Test setNestedProperty on a int property.



testSetNestedLong
public void testSetNestedLong()(Code)
Test setNestedProperty on a long property.



testSetNestedReadOnly
public void testSetNestedReadOnly()(Code)
Test setNestedProperty on a read-only String property.



testSetNestedShort
public void testSetNestedShort()(Code)
Test setNestedProperty on a short property.



testSetNestedString
public void testSetNestedString()(Code)
Test setNestedProperty on a String property.



testSetNestedUnknown
public void testSetNestedUnknown()(Code)
Test setNestedProperty on an unknown property name.



testSetNestedWriteOnly
public void testSetNestedWriteOnly()(Code)
Test setNestedProperty on a write-only String property.



testSetSimpleArguments
public void testSetSimpleArguments()(Code)
Corner cases on setSimpleProperty invalid arguments.



testSetSimpleBoolean
public void testSetSimpleBoolean()(Code)
Test setSimpleProperty on a boolean property.



testSetSimpleDouble
public void testSetSimpleDouble()(Code)
Test setSimpleProperty on a double property.



testSetSimpleFloat
public void testSetSimpleFloat()(Code)
Test setSimpleProperty on a float property.



testSetSimpleIndexed
public void testSetSimpleIndexed()(Code)
Negative test setSimpleProperty on an indexed property.



testSetSimpleInt
public void testSetSimpleInt()(Code)
Test setSimpleProperty on a int property.



testSetSimpleLong
public void testSetSimpleLong()(Code)
Test setSimpleProperty on a long property.



testSetSimpleNested
public void testSetSimpleNested()(Code)
Negative test setSimpleProperty on a nested property.



testSetSimpleShort
public void testSetSimpleShort()(Code)
Test setSimpleProperty on a short property.



testSetSimpleString
public void testSetSimpleString()(Code)
Test setSimpleProperty on a String property.



testSetSimpleUnknown
public void testSetSimpleUnknown()(Code)
Test setSimpleProperty on an unknown property name.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.