Java Doc for OgnlIntegrationTest.java in  » Development » iScreen » org » iscreen » ognl » 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 » Development » iScreen » org.iscreen.ognl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.iscreen.ognl.OgnlIntegrationTest

OgnlIntegrationTest
public class OgnlIntegrationTest extends TestCase (Code)
This set of unit tests are designed to test integration of the XML configuration together with the underlying object model.
author:
   Shellman, Dan



Constructor Summary
public  OgnlIntegrationTest(String name)
    

Method Summary
public  voidtestDefaultMappingsOnSet()
     Tests the default values on the mapping element for a use-validator.
public  voidtestEmailAddressValidatorFailure()
     Tests the email address validator to ensure that it catches and reports failures properly.
public  voidtestEmailAddressValidatorSuccess()
     Tests the email address validator to ensure that a valid email address is accepted and not reported.
public  voidtestFailFastOnEmbeddedValidator()
     Tests the usage of an embedded validation set within a set.
public  voidtestFailFastOnSet()
     Tests the fail fast feature on a validation set.
public  voidtestFailFastOnValidationSet()
     Tests the usage of an embedded validation set within a set.
public  voidtestFailureMessage()
     Tests to ensure that the failure message is reported correctly (that is, that the text of the message is correct).
public  voidtestFailureMessageName()
     Tests to ensure that the failure message has the appropriate name.
public  voidtestFailureMessageNameFromSet()
     Tests to ensure that the failure message has the appropriate name.
public  voidtestFailureMessageNameFromSetNoName()
     Tests to ensure that the failure message has the appropriate name.
public  voidtestIfIterateMapValidationSet()
     Tests the usage of an embedded validation set within a set.
public  voidtestIfValidationSet()
     Tests the usage of an embedded validation set within a set.
public  voidtestIncludeValidationSet()
     Tests the usage of an embedded validation set within a set.
public  voidtestIterateValidationSet()
     Tests the usage of an embedded validation set within a set.
public  voidtestLocalizedFailureMessage()
     Tests the use of internationalization in failure message and the locale provided during call to the validate() method.
public  voidtestLocalizedFailureMessageWithFactory()
     Tests the use of internationalization in failure message and the locale provided during call to the validate() method.
public  voidtestMapValidationSet()
     Tests the usage of an embedded validation set within a set.
public  voidtestMappingInheritance()
     Tests to ensure that a mapping is inherited from a configured Validator to a validator reference within a validation set.
public  voidtestNoMapping()
     Tests to verify that if there's no mapping, the default mapping is used.
public  voidtestSettingFailure()
     Tests the setting of failure objects and their proper usage.
public  voidtestSettingService()
     Tests the setting of a service on a validator.
public  voidtestSimpleStringValidation()
     Tests the use of a simple validation.


Constructor Detail
OgnlIntegrationTest
public OgnlIntegrationTest(String name)(Code)




Method Detail
testDefaultMappingsOnSet
public void testDefaultMappingsOnSet()(Code)
Tests the default values on the mapping element for a use-validator.



testEmailAddressValidatorFailure
public void testEmailAddressValidatorFailure()(Code)
Tests the email address validator to ensure that it catches and reports failures properly.



testEmailAddressValidatorSuccess
public void testEmailAddressValidatorSuccess()(Code)
Tests the email address validator to ensure that a valid email address is accepted and not reported.



testFailFastOnEmbeddedValidator
public void testFailFastOnEmbeddedValidator()(Code)
Tests the usage of an embedded validation set within a set. This test will use the 'fail-fast' setting within a validator that's within an embedded set.



testFailFastOnSet
public void testFailFastOnSet()(Code)
Tests the fail fast feature on a validation set.



testFailFastOnValidationSet
public void testFailFastOnValidationSet()(Code)
Tests the usage of an embedded validation set within a set. This test will use the 'fail-fast' setting.



testFailureMessage
public void testFailureMessage()(Code)
Tests to ensure that the failure message is reported correctly (that is, that the text of the message is correct).



testFailureMessageName
public void testFailureMessageName()(Code)
Tests to ensure that the failure message has the appropriate name.



testFailureMessageNameFromSet
public void testFailureMessageNameFromSet()(Code)
Tests to ensure that the failure message has the appropriate name.



testFailureMessageNameFromSetNoName
public void testFailureMessageNameFromSetNoName()(Code)
Tests to ensure that the failure message has the appropriate name.



testIfIterateMapValidationSet
public void testIfIterateMapValidationSet()(Code)
Tests the usage of an embedded validation set within a set. This test will use the 'if', 'iterate', and 'map' settings.



testIfValidationSet
public void testIfValidationSet()(Code)
Tests the usage of an embedded validation set within a set. This test will use the 'if' setting.



testIncludeValidationSet
public void testIncludeValidationSet()(Code)
Tests the usage of an embedded validation set within a set. This test will not use any 'if', 'iterate', or 'mapping' settings.



testIterateValidationSet
public void testIterateValidationSet()(Code)
Tests the usage of an embedded validation set within a set. This test will use the 'iterate' setting.



testLocalizedFailureMessage
public void testLocalizedFailureMessage()(Code)
Tests the use of internationalization in failure message and the locale provided during call to the validate() method.



testLocalizedFailureMessageWithFactory
public void testLocalizedFailureMessageWithFactory()(Code)
Tests the use of internationalization in failure message and the locale provided during call to the validate() method.



testMapValidationSet
public void testMapValidationSet()(Code)
Tests the usage of an embedded validation set within a set. This test will use the 'map' setting.



testMappingInheritance
public void testMappingInheritance()(Code)
Tests to ensure that a mapping is inherited from a configured Validator to a validator reference within a validation set.



testNoMapping
public void testNoMapping()(Code)
Tests to verify that if there's no mapping, the default mapping is used.



testSettingFailure
public void testSettingFailure()(Code)
Tests the setting of failure objects and their proper usage.



testSettingService
public void testSettingService()(Code)
Tests the setting of a service on a validator.



testSimpleStringValidation
public void testSimpleStringValidation()(Code)
Tests the use of a simple validation.



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