Java Doc for StringUtilsTest.java in  » Library » Apache-common-lang » org » apache » commons » lang » 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 common lang » org.apache.commons.lang 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.commons.lang.StringUtilsTest

StringUtilsTest
public class StringUtilsTest extends TestCase (Code)
Unit tests org.apache.commons.lang.StringUtils .
author:
   Daniel Rall
author:
   Stephen Colebourne
author:
   Ringo De Smet
author:
   Henning P. Schmiedehausen
author:
   Phil Steitz
author:
   Gary D. Gregory
author:
   Al Chou
version:
   $Id: StringUtilsTest.java 471626 2006-11-06 04:02:09Z bayard $


Field Summary
final static  StringNON_TRIMMABLE
    
final static  StringNON_WHITESPACE
    
final static  StringTRIMMABLE
    
final static  StringWHITESPACE
    

Constructor Summary
public  StringUtilsTest(String name)
    

Method Summary
public static  voidmain(String[] args)
    
protected  voidsetUp()
    
public static  Testsuite()
    
protected  voidtearDown()
    
public  voidtestAbbreviate_StringInt()
    
public  voidtestAbbreviate_StringIntInt()
    
public  voidtestCaseFunctions()
    
public  voidtestCenter_StringInt()
    
public  voidtestCenter_StringIntChar()
    
public  voidtestCenter_StringIntString()
    
public  voidtestChomp()
    
public  voidtestChop()
    
public  voidtestChopNewLine()
    
public  voidtestConcatenate_Objectarray()
    
public  voidtestConstructor()
    
public  voidtestDefaultIfEmpty_StringString()
    
public  voidtestDefault_String()
    
public  voidtestDefault_StringString()
    
public  voidtestDeleteSpace_String()
    
public  voidtestDeleteWhitespace_String()
    
public  voidtestDeprecatedChompFunctions()
    
public  voidtestDifferenceAt_StringString()
    
public  voidtestDifference_StringString()
    
public  voidtestEMPTY()
     A sanity check for StringUtils.EMPTY .
public  voidtestEscapeFunctions_String()
    
public  voidtestGetLevenshteinDistance_StringString()
    
public  voidtestJoin_ArrayChar()
    
public  voidtestJoin_ArrayString()
    
public  voidtestJoin_CollectionChar()
    
public  voidtestJoin_CollectionString()
    
public  voidtestJoin_IteratorChar()
    
public  voidtestJoin_IteratorString()
    
public  voidtestJoin_Objectarray()
    
public  voidtestLeftPad_StringInt()
    
public  voidtestLeftPad_StringIntChar()
    
public  voidtestLeftPad_StringIntString()
    
public  voidtestOverlayString_StringStringIntInt()
    
public  voidtestOverlay_StringStringIntInt()
    
public  voidtestRemoveEnd()
    
public  voidtestRemoveStart()
    
public  voidtestRemove_String()
    
public  voidtestRemove_char()
    
public  voidtestRepeat_StringInt()
    
public  voidtestReplaceChars_StringCharChar()
    
public  voidtestReplaceChars_StringStringString()
    
public  voidtestReplaceOnce_StringStringString()
    
public  voidtestReplace_StringStringString()
    
public  voidtestReplace_StringStringStringInt()
    
public  voidtestReverseDelimitedString_StringString()
    
public  voidtestReverseDelimited_StringChar()
    
public  voidtestReverse_String()
    
public  voidtestRightPad_StringInt()
    
public  voidtestRightPad_StringIntChar()
    
public  voidtestRightPad_StringIntString()
    
public  voidtestSplitByWholeString_StringStringBoolean()
    
public  voidtestSplitByWholeString_StringStringBooleanInt()
    
public  voidtestSplitPreserveAllTokens_String()
    
public  voidtestSplitPreserveAllTokens_StringChar()
    
public  voidtestSplitPreserveAllTokens_StringString_StringStringInt()
    
public  voidtestSplit_String()
    
public  voidtestSplit_StringChar()
    
public  voidtestSplit_StringString_StringStringInt()
    
public  voidtestSwapCase_String()
    

Field Detail
NON_TRIMMABLE
final static String NON_TRIMMABLE(Code)



NON_WHITESPACE
final static String NON_WHITESPACE(Code)



TRIMMABLE
final static String TRIMMABLE(Code)



WHITESPACE
final static String WHITESPACE(Code)




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




Method Detail
main
public static void main(String[] args)(Code)



setUp
protected void setUp() throws Exception(Code)



suite
public static Test suite()(Code)



tearDown
protected void tearDown() throws Exception(Code)



testAbbreviate_StringInt
public void testAbbreviate_StringInt()(Code)



testAbbreviate_StringIntInt
public void testAbbreviate_StringIntInt()(Code)



testCaseFunctions
public void testCaseFunctions()(Code)



testCenter_StringInt
public void testCenter_StringInt()(Code)



testCenter_StringIntChar
public void testCenter_StringIntChar()(Code)



testCenter_StringIntString
public void testCenter_StringIntString()(Code)



testChomp
public void testChomp()(Code)



testChop
public void testChop()(Code)



testChopNewLine
public void testChopNewLine()(Code)



testConcatenate_Objectarray
public void testConcatenate_Objectarray()(Code)



testConstructor
public void testConstructor()(Code)



testDefaultIfEmpty_StringString
public void testDefaultIfEmpty_StringString()(Code)



testDefault_String
public void testDefault_String()(Code)



testDefault_StringString
public void testDefault_StringString()(Code)



testDeleteSpace_String
public void testDeleteSpace_String()(Code)



testDeleteWhitespace_String
public void testDeleteWhitespace_String()(Code)



testDeprecatedChompFunctions
public void testDeprecatedChompFunctions()(Code)



testDifferenceAt_StringString
public void testDifferenceAt_StringString()(Code)



testDifference_StringString
public void testDifference_StringString()(Code)



testEMPTY
public void testEMPTY()(Code)
A sanity check for StringUtils.EMPTY .



testEscapeFunctions_String
public void testEscapeFunctions_String()(Code)



testGetLevenshteinDistance_StringString
public void testGetLevenshteinDistance_StringString()(Code)



testJoin_ArrayChar
public void testJoin_ArrayChar()(Code)



testJoin_ArrayString
public void testJoin_ArrayString()(Code)



testJoin_CollectionChar
public void testJoin_CollectionChar()(Code)



testJoin_CollectionString
public void testJoin_CollectionString()(Code)



testJoin_IteratorChar
public void testJoin_IteratorChar()(Code)



testJoin_IteratorString
public void testJoin_IteratorString()(Code)



testJoin_Objectarray
public void testJoin_Objectarray()(Code)



testLeftPad_StringInt
public void testLeftPad_StringInt()(Code)



testLeftPad_StringIntChar
public void testLeftPad_StringIntChar()(Code)



testLeftPad_StringIntString
public void testLeftPad_StringIntString()(Code)



testOverlayString_StringStringIntInt
public void testOverlayString_StringStringIntInt()(Code)



testOverlay_StringStringIntInt
public void testOverlay_StringStringIntInt()(Code)



testRemoveEnd
public void testRemoveEnd()(Code)



testRemoveStart
public void testRemoveStart()(Code)



testRemove_String
public void testRemove_String()(Code)



testRemove_char
public void testRemove_char()(Code)



testRepeat_StringInt
public void testRepeat_StringInt()(Code)



testReplaceChars_StringCharChar
public void testReplaceChars_StringCharChar()(Code)



testReplaceChars_StringStringString
public void testReplaceChars_StringStringString()(Code)



testReplaceOnce_StringStringString
public void testReplaceOnce_StringStringString()(Code)



testReplace_StringStringString
public void testReplace_StringStringString()(Code)



testReplace_StringStringStringInt
public void testReplace_StringStringStringInt()(Code)



testReverseDelimitedString_StringString
public void testReverseDelimitedString_StringString()(Code)



testReverseDelimited_StringChar
public void testReverseDelimited_StringChar()(Code)



testReverse_String
public void testReverse_String()(Code)



testRightPad_StringInt
public void testRightPad_StringInt()(Code)



testRightPad_StringIntChar
public void testRightPad_StringIntChar()(Code)



testRightPad_StringIntString
public void testRightPad_StringIntString()(Code)



testSplitByWholeString_StringStringBoolean
public void testSplitByWholeString_StringStringBoolean()(Code)



testSplitByWholeString_StringStringBooleanInt
public void testSplitByWholeString_StringStringBooleanInt()(Code)



testSplitPreserveAllTokens_String
public void testSplitPreserveAllTokens_String()(Code)



testSplitPreserveAllTokens_StringChar
public void testSplitPreserveAllTokens_StringChar()(Code)



testSplitPreserveAllTokens_StringString_StringStringInt
public void testSplitPreserveAllTokens_StringString_StringStringInt()(Code)



testSplit_String
public void testSplit_String()(Code)



testSplit_StringChar
public void testSplit_StringChar()(Code)



testSplit_StringString_StringStringInt
public void testSplit_StringString_StringStringInt()(Code)



testSwapCase_String
public void testSwapCase_String()(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.