Java Doc for KualiDecimalTest.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » core » util » 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 » ERP CRM Financial » Kuali Financial System » org.kuali.core.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.kfs.context.KualiTestBase
   org.kuali.core.util.KualiDecimalTest

KualiDecimalTest
public class KualiDecimalTest extends KualiTestBase (Code)
This class tests the KualiDecimal methods.




Method Summary
protected  voidsetUp()
    
final public  voidtestAdd_nullAddend()
    
final public  voidtestAdd_validAddend()
    
final public  voidtestDivide_nullDivisor()
    
final public  voidtestDivide_validDivisor()
    
final public  voidtestDoubleConstructor_noSig()
    
final public  voidtestDoubleConstructor_oneSig()
    
final public  voidtestDoubleConstructor_threeSig()
    
final public  voidtestDoubleConstructor_twoSig()
    
final public  voidtestEquals_equalDoubleValues()
    
final public  voidtestEquals_equalIntegerValues()
    
final public  voidtestEquals_equalStringValues()
    
final public  voidtestEquals_equivalentValues()
    
final public  voidtestEquals_inequalDoubleValues()
    
final public  voidtestEquals_inequalIntegerValues()
    
final public  voidtestEquals_inequalStringValue()
    
final public  voidtestEquals_roughlyEqualDoubleValues()
    
final public  voidtestEquals_summedFloatValues()
     The specific values used in this test case were copied from the code which was breaking because it was converting the KualiDecimals into floats, adding the floats, and comparing them.
final public  voidtestIntConstructor()
    
final public  voidtestIsGreaterEqual_equalOperand()
    
final public  voidtestIsGreaterEqual_greaterOperand()
    
final public  voidtestIsGreaterEqual_lesserOperand()
    
final public  voidtestIsGreaterEqual_nullOperand()
    
final public  voidtestIsGreaterThan_equalOperand()
    
final public  voidtestIsGreaterThan_greaterOperand()
    
final public  voidtestIsGreaterThan_lesserOperand()
    
final public  voidtestIsGreaterThan_nullOperand()
    
final public  voidtestIsLessEqual_equalOperand()
    
final public  voidtestIsLessEqual_greaterOperand()
    
final public  voidtestIsLessEqual_lesserOperand()
    
final public  voidtestIsLessEqual_nullOperand()
    
final public  voidtestIsLessThan_equalOperand()
    
final public  voidtestIsLessThan_greaterOperand()
    
final public  voidtestIsLessThan_lesserOperand()
    
final public  voidtestIsLessThan_nullOperand()
    
final public  voidtestIsNegative_negativeValue()
    
final public  voidtestIsNegative_positiveValue()
    
final public  voidtestIsNegative_zeroValue()
    
final public  voidtestIsNonZero_negativeValue()
    
final public  voidtestIsNonZero_positiveValue()
    
final public  voidtestIsNonZero_zeroValue()
    
final public  voidtestIsNumeric_alphanumeric()
    
final public  voidtestIsNumeric_blank()
    
final public  voidtestIsNumeric_decimal()
    
final public  voidtestIsNumeric_decimalZero()
    
final public  voidtestIsNumeric_integral()
    
final public  voidtestIsNumeric_moreSignificantDecimal()
    
final public  voidtestIsNumeric_multiZero()
    
final public  voidtestIsNumeric_negativeDecimal()
    
final public  voidtestIsNumeric_negativeDecimalZero()
    
final public  voidtestIsNumeric_negativeIntegral()
    
final public  voidtestIsNumeric_negativeZero()
    
final public  voidtestIsNumeric_null()
    
final public  voidtestIsNumeric_zero()
    
final public  voidtestIsPositive_negativeValue()
    
final public  voidtestIsPositive_positiveValue()
    
final public  voidtestIsPositive_zeroValue()
    
final public  voidtestIsZero_negativeValue()
    
final public  voidtestIsZero_positiveValue()
    
final public  voidtestIsZero_zeroValue()
    
final public  voidtestMod_nullModulus()
    
final public  voidtestMod_validNonZeroModulus()
    
final public  voidtestMod_validZeroModulus()
    
final public  voidtestMultiply_nullMultiplier()
    
final public  voidtestMultiply_validMultiplier()
    
final public  voidtestNegative_negativeDoubleValue()
    
final public  voidtestNegative_negativeValue()
    
final public  voidtestNegative_positiveDoubleValue()
    
final public  voidtestNegative_positiveValue()
    
final public  voidtestNegative_zeroValue()
    
final public  voidtestStringConstructor_floatingPointString()
    
final public  voidtestStringConstructor_integerString()
    
final public  voidtestStringConstructor_nonnumericString()
    
final public  voidtestStringConstructor_nullString()
    
final public  voidtestSubtract_nullSubtrahend()
    
final public  voidtestSubtract_validSubtrahend()
    



Method Detail
setUp
protected void setUp() throws Exception(Code)



testAdd_nullAddend
final public void testAdd_nullAddend() throws Exception(Code)



testAdd_validAddend
final public void testAdd_validAddend() throws Exception(Code)



testDivide_nullDivisor
final public void testDivide_nullDivisor() throws Exception(Code)



testDivide_validDivisor
final public void testDivide_validDivisor() throws Exception(Code)



testDoubleConstructor_noSig
final public void testDoubleConstructor_noSig() throws Exception(Code)



testDoubleConstructor_oneSig
final public void testDoubleConstructor_oneSig() throws Exception(Code)



testDoubleConstructor_threeSig
final public void testDoubleConstructor_threeSig() throws Exception(Code)



testDoubleConstructor_twoSig
final public void testDoubleConstructor_twoSig() throws Exception(Code)



testEquals_equalDoubleValues
final public void testEquals_equalDoubleValues()(Code)



testEquals_equalIntegerValues
final public void testEquals_equalIntegerValues()(Code)



testEquals_equalStringValues
final public void testEquals_equalStringValues()(Code)



testEquals_equivalentValues
final public void testEquals_equivalentValues()(Code)



testEquals_inequalDoubleValues
final public void testEquals_inequalDoubleValues()(Code)



testEquals_inequalIntegerValues
final public void testEquals_inequalIntegerValues()(Code)



testEquals_inequalStringValue
final public void testEquals_inequalStringValue()(Code)



testEquals_roughlyEqualDoubleValues
final public void testEquals_roughlyEqualDoubleValues()(Code)



testEquals_summedFloatValues
final public void testEquals_summedFloatValues()(Code)
The specific values used in this test case were copied from the code which was breaking because it was converting the KualiDecimals into floats, adding the floats, and comparing them. The float addition is here to illustrate one of the problems that requires us to do KualiDecimal math instead of converting back to a primitive format.



testIntConstructor
final public void testIntConstructor() throws Exception(Code)



testIsGreaterEqual_equalOperand
final public void testIsGreaterEqual_equalOperand()(Code)



testIsGreaterEqual_greaterOperand
final public void testIsGreaterEqual_greaterOperand()(Code)



testIsGreaterEqual_lesserOperand
final public void testIsGreaterEqual_lesserOperand()(Code)



testIsGreaterEqual_nullOperand
final public void testIsGreaterEqual_nullOperand()(Code)



testIsGreaterThan_equalOperand
final public void testIsGreaterThan_equalOperand()(Code)



testIsGreaterThan_greaterOperand
final public void testIsGreaterThan_greaterOperand()(Code)



testIsGreaterThan_lesserOperand
final public void testIsGreaterThan_lesserOperand()(Code)



testIsGreaterThan_nullOperand
final public void testIsGreaterThan_nullOperand()(Code)



testIsLessEqual_equalOperand
final public void testIsLessEqual_equalOperand()(Code)



testIsLessEqual_greaterOperand
final public void testIsLessEqual_greaterOperand()(Code)



testIsLessEqual_lesserOperand
final public void testIsLessEqual_lesserOperand()(Code)



testIsLessEqual_nullOperand
final public void testIsLessEqual_nullOperand()(Code)



testIsLessThan_equalOperand
final public void testIsLessThan_equalOperand()(Code)



testIsLessThan_greaterOperand
final public void testIsLessThan_greaterOperand()(Code)



testIsLessThan_lesserOperand
final public void testIsLessThan_lesserOperand()(Code)



testIsLessThan_nullOperand
final public void testIsLessThan_nullOperand()(Code)



testIsNegative_negativeValue
final public void testIsNegative_negativeValue()(Code)



testIsNegative_positiveValue
final public void testIsNegative_positiveValue()(Code)



testIsNegative_zeroValue
final public void testIsNegative_zeroValue()(Code)



testIsNonZero_negativeValue
final public void testIsNonZero_negativeValue()(Code)



testIsNonZero_positiveValue
final public void testIsNonZero_positiveValue()(Code)



testIsNonZero_zeroValue
final public void testIsNonZero_zeroValue()(Code)



testIsNumeric_alphanumeric
final public void testIsNumeric_alphanumeric()(Code)



testIsNumeric_blank
final public void testIsNumeric_blank()(Code)



testIsNumeric_decimal
final public void testIsNumeric_decimal()(Code)



testIsNumeric_decimalZero
final public void testIsNumeric_decimalZero()(Code)



testIsNumeric_integral
final public void testIsNumeric_integral()(Code)



testIsNumeric_moreSignificantDecimal
final public void testIsNumeric_moreSignificantDecimal()(Code)



testIsNumeric_multiZero
final public void testIsNumeric_multiZero()(Code)



testIsNumeric_negativeDecimal
final public void testIsNumeric_negativeDecimal()(Code)



testIsNumeric_negativeDecimalZero
final public void testIsNumeric_negativeDecimalZero()(Code)



testIsNumeric_negativeIntegral
final public void testIsNumeric_negativeIntegral()(Code)



testIsNumeric_negativeZero
final public void testIsNumeric_negativeZero()(Code)



testIsNumeric_null
final public void testIsNumeric_null()(Code)



testIsNumeric_zero
final public void testIsNumeric_zero()(Code)



testIsPositive_negativeValue
final public void testIsPositive_negativeValue()(Code)



testIsPositive_positiveValue
final public void testIsPositive_positiveValue()(Code)



testIsPositive_zeroValue
final public void testIsPositive_zeroValue()(Code)



testIsZero_negativeValue
final public void testIsZero_negativeValue()(Code)



testIsZero_positiveValue
final public void testIsZero_positiveValue()(Code)



testIsZero_zeroValue
final public void testIsZero_zeroValue()(Code)



testMod_nullModulus
final public void testMod_nullModulus() throws Exception(Code)



testMod_validNonZeroModulus
final public void testMod_validNonZeroModulus() throws Exception(Code)



testMod_validZeroModulus
final public void testMod_validZeroModulus() throws Exception(Code)



testMultiply_nullMultiplier
final public void testMultiply_nullMultiplier() throws Exception(Code)



testMultiply_validMultiplier
final public void testMultiply_validMultiplier() throws Exception(Code)



testNegative_negativeDoubleValue
final public void testNegative_negativeDoubleValue()(Code)



testNegative_negativeValue
final public void testNegative_negativeValue()(Code)



testNegative_positiveDoubleValue
final public void testNegative_positiveDoubleValue()(Code)



testNegative_positiveValue
final public void testNegative_positiveValue()(Code)



testNegative_zeroValue
final public void testNegative_zeroValue()(Code)



testStringConstructor_floatingPointString
final public void testStringConstructor_floatingPointString() throws Exception(Code)



testStringConstructor_integerString
final public void testStringConstructor_integerString() throws Exception(Code)



testStringConstructor_nonnumericString
final public void testStringConstructor_nonnumericString() throws Exception(Code)



testStringConstructor_nullString
final public void testStringConstructor_nullString() throws Exception(Code)



testSubtract_nullSubtrahend
final public void testSubtract_nullSubtrahend() throws Exception(Code)



testSubtract_validSubtrahend
final public void testSubtract_validSubtrahend() throws Exception(Code)



Fields inherited from org.kuali.kfs.context.KualiTestBase
final public static String SKIP_OPEN_OR_IN_PROGRESS_OR_REOPENED_JIRA_ISSUES(Code)(Java Doc)
protected static UserSession userSession(Code)(Java Doc)

Methods inherited from org.kuali.kfs.context.KualiTestBase
protected void changeCurrentUser(UserNameFixture sessionUser) throws Exception(Code)(Java Doc)
final public void runBare() throws Throwable(Code)(Java Doc)
protected boolean testTransactionIsRollbackOnly()(Code)(Java Doc)

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