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
DynaBean
bean
The basic test bean for each test.
protected
String
describes
The set of properties that should be described.
protected
TestBean
nested
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
DynaClass
createDynaClass
()
Create and return a
DynaClass
instance for our test
DynaBean
.
public
void
setUp
()
Set up instance variables required by this test case.
public
static Test
suite
()
Return the tests included in this test suite.
public
void
tearDown
()
Tear down instance variables required by this test case.
public
void
testCopyPropertiesMap
()
Test copyProperties() when the origin is a a
Map
.
public
void
testDescribe
()
Test the describe() method.
public
void
testGetIndexedArguments
()
Corner cases on getIndexedProperty invalid arguments.
public
void
testGetIndexedValues
()
Positive and negative tests on getIndexedProperty valid arguments.
public
void
testGetMappedArguments
()
Corner cases on getMappedProperty invalid arguments.
public
void
testGetMappedPeriods
()
Test getting mapped values with periods in the key.
public
void
testGetMappedSlashes
()
Test getting mapped values with slashes in the key.
public
void
testGetMappedValues
()
Positive and negative tests on getMappedProperty valid arguments.
public
void
testGetNestedArguments
()
Corner cases on getNestedProperty invalid arguments.
public
void
testGetNestedBoolean
()
Test getNestedProperty on a boolean property.
public
void
testGetNestedDouble
()
Test getNestedProperty on a double property.
public
void
testGetNestedFloat
()
Test getNestedProperty on a float property.
public
void
testGetNestedInt
()
Test getNestedProperty on an int property.
public
void
testGetNestedLong
()
Test getNestedProperty on a long property.
public
void
testGetNestedReadOnly
()
Test getNestedProperty on a read-only String property.
public
void
testGetNestedShort
()
Test getNestedProperty on a short property.
public
void
testGetNestedString
()
Test getNestedProperty on a String property.
public
void
testGetNestedUnknown
()
Negative test getNestedProperty on an unknown property.
public
void
testGetSimpleArguments
()
Corner cases on getSimpleProperty invalid arguments.
public
void
testGetSimpleBoolean
()
Test getSimpleProperty on a boolean property.
public
void
testGetSimpleDouble
()
Test getSimpleProperty on a double property.
public
void
testGetSimpleFloat
()
Test getSimpleProperty on a float property.
public
void
testGetSimpleIndexed
()
Negative test getSimpleProperty on an indexed property.
public
void
testGetSimpleInt
()
Test getSimpleProperty on an int property.
public
void
testGetSimpleLong
()
Test getSimpleProperty on a long property.
public
void
testGetSimpleNested
()
Negative test getSimpleProperty on a nested property.
public
void
testGetSimpleShort
()
Test getSimpleProperty on a short property.
public
void
testGetSimpleString
()
Test getSimpleProperty on a String property.
public
void
testGetSimpleUnknown
()
Negative test getSimpleProperty on an unknown property.
public
void
testSetIndexedArguments
()
Corner cases on setIndexedProperty invalid arguments.
public
void
testSetIndexedValues
()
Positive and negative tests on setIndexedProperty valid arguments.
public
void
testSetMappedArguments
()
Corner cases on getMappedProperty invalid arguments.
public
void
testSetMappedValues
()
Positive and negative tests on setMappedProperty valid arguments.
public
void
testSetNestedArguments
()
Corner cases on setNestedProperty invalid arguments.
public
void
testSetNestedBoolean
()
Test setNextedProperty on a boolean property.
public
void
testSetNestedDouble
()
Test setNestedProperty on a double property.
public
void
testSetNestedFloat
()
Test setNestedProperty on a float property.
public
void
testSetNestedInt
()
Test setNestedProperty on a int property.
public
void
testSetNestedLong
()
Test setNestedProperty on a long property.
public
void
testSetNestedReadOnly
()
Test setNestedProperty on a read-only String property.
public
void
testSetNestedShort
()
Test setNestedProperty on a short property.
public
void
testSetNestedString
()
Test setNestedProperty on a String property.
public
void
testSetNestedUnknown
()
Test setNestedProperty on an unknown property name.
public
void
testSetNestedWriteOnly
()
Test setNestedProperty on a write-only String property.
public
void
testSetSimpleArguments
()
Corner cases on setSimpleProperty invalid arguments.
public
void
testSetSimpleBoolean
()
Test setSimpleProperty on a boolean property.
public
void
testSetSimpleDouble
()
Test setSimpleProperty on a double property.
public
void
testSetSimpleFloat
()
Test setSimpleProperty on a float property.
public
void
testSetSimpleIndexed
()
Negative test setSimpleProperty on an indexed property.
public
void
testSetSimpleInt
()
Test setSimpleProperty on a int property.
public
void
testSetSimpleLong
()
Test setSimpleProperty on a long property.
public
void
testSetSimpleNested
()
Negative test setSimpleProperty on a nested property.
public
void
testSetSimpleShort
()
Test setSimpleProperty on a short property.
public
void
testSetSimpleString
()
Test setSimpleProperty on a String property.
public
void
testSetSimpleUnknown
()
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.