Java Doc for StrSubstitutorTest.java in » Library » Apache-common-lang » org » apache » commons » lang » text » 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.text
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.apache.commons.lang.text
.StrSubstitutorTest
StrSubstitutorTest
public
class StrSubstitutorTest extends TestCase
(Code)
Test class for StrSubstitutor.
author:
Oliver Heger
version:
$Id: StrSubstitutorTest.java 437554 2006-08-28 06:21:41Z bayard $
Method Summary
public
static void
main
(
String
[] args)
Main method.
protected
void
setUp
()
public
static Test
suite
()
Return a new test suite containing this test case.
protected
void
tearDown
()
public
void
testConstructorMapFull
()
Tests constructor.
public
void
testConstructorMapPrefixSuffix
()
Tests constructor.
public
void
testConstructorNoArgs
()
Tests constructor.
public
void
testCyclicReplacement
()
Tests a cyclic replace operation.
public
void
testGetSetEscape
()
Tests get set.
public
void
testGetSetPrefix
()
Tests get set.
public
void
testGetSetSuffix
()
Tests get set.
public
void
testReplaceAdjacentAtEnd
()
Tests adjacent keys.
public
void
testReplaceAdjacentAtStart
()
Tests adjacent keys.
public
void
testReplaceChangedMap
()
Tests key replace changing map after initialization (not recommended).
public
void
testReplaceComplexEscaping
()
Tests complex escaping.
public
void
testReplaceEmpty
()
Tests replace with null.
public
void
testReplaceEmptyKeys
()
Tests when no variable name.
public
void
testReplaceEscaping
()
Tests escaping.
public
void
testReplaceIncompletePefix
()
Tests when no incomplete prefix.
public
void
testReplaceNoPefixNoSuffix
()
Tests when no prefix or suffix.
public
void
testReplaceNoPrefixSuffix
()
Tests when suffix but no prefix.
public
void
testReplaceNoVariables
()
Tests replace with no variables.
public
void
testReplaceNull
()
Tests replace with null.
public
void
testReplacePartialString_noReplace
()
Tests simple key replace.
public
void
testReplacePrefixNoSuffix
()
Tests when prefix but no suffix.
public
void
testReplaceRecursive
()
Tests simple recursive replace.
public
void
testReplaceSimple
()
Tests simple key replace.
public
void
testReplaceSolo
()
Tests simple key replace.
public
void
testReplaceSoloEscaping
()
Tests escaping.
public
void
testReplaceToIdentical
()
Tests replace creates output same as input.
public
void
testReplaceUnknownKey
()
Tests unknown key replace.
public
void
testReplaceWeirdPattens
()
Tests interpolation with weird boundary patterns.
public
void
testResolveVariable
()
Tests protected.
public
void
testStaticReplace
()
Tests static.
public
void
testStaticReplacePrefixSuffix
()
Tests static.
public
void
testStaticReplaceSystemProperties
()
Tests interpolation with system properties.
Method Detail
main
public
static void main(
String
[] args)
(Code)
Main method.
Parameters:
args - command line arguments, ignored
setUp
protected
void setUp() throws
Exception
(Code)
suite
public
static Test suite()
(Code)
Return a new test suite containing this test case. a new test suite containing this test case
tearDown
protected
void tearDown() throws
Exception
(Code)
testConstructorMapFull
public
void testConstructorMapFull()
(Code)
Tests constructor.
testConstructorMapPrefixSuffix
public
void testConstructorMapPrefixSuffix()
(Code)
Tests constructor.
testConstructorNoArgs
public
void testConstructorNoArgs()
(Code)
Tests constructor.
testCyclicReplacement
public
void testCyclicReplacement()
(Code)
Tests a cyclic replace operation. The cycle should be detected and cause an exception to be thrown.
testGetSetEscape
public
void testGetSetEscape()
(Code)
Tests get set.
testGetSetPrefix
public
void testGetSetPrefix()
(Code)
Tests get set.
testGetSetSuffix
public
void testGetSetSuffix()
(Code)
Tests get set.
testReplaceAdjacentAtEnd
public
void testReplaceAdjacentAtEnd()
(Code)
Tests adjacent keys.
testReplaceAdjacentAtStart
public
void testReplaceAdjacentAtStart()
(Code)
Tests adjacent keys.
testReplaceChangedMap
public
void testReplaceChangedMap()
(Code)
Tests key replace changing map after initialization (not recommended).
testReplaceComplexEscaping
public
void testReplaceComplexEscaping()
(Code)
Tests complex escaping.
testReplaceEmpty
public
void testReplaceEmpty()
(Code)
Tests replace with null.
testReplaceEmptyKeys
public
void testReplaceEmptyKeys()
(Code)
Tests when no variable name.
testReplaceEscaping
public
void testReplaceEscaping()
(Code)
Tests escaping.
testReplaceIncompletePefix
public
void testReplaceIncompletePefix()
(Code)
Tests when no incomplete prefix.
testReplaceNoPefixNoSuffix
public
void testReplaceNoPefixNoSuffix()
(Code)
Tests when no prefix or suffix.
testReplaceNoPrefixSuffix
public
void testReplaceNoPrefixSuffix()
(Code)
Tests when suffix but no prefix.
testReplaceNoVariables
public
void testReplaceNoVariables()
(Code)
Tests replace with no variables.
testReplaceNull
public
void testReplaceNull()
(Code)
Tests replace with null.
testReplacePartialString_noReplace
public
void testReplacePartialString_noReplace()
(Code)
Tests simple key replace.
testReplacePrefixNoSuffix
public
void testReplacePrefixNoSuffix()
(Code)
Tests when prefix but no suffix.
testReplaceRecursive
public
void testReplaceRecursive()
(Code)
Tests simple recursive replace.
testReplaceSimple
public
void testReplaceSimple()
(Code)
Tests simple key replace.
testReplaceSolo
public
void testReplaceSolo()
(Code)
Tests simple key replace.
testReplaceSoloEscaping
public
void testReplaceSoloEscaping()
(Code)
Tests escaping.
testReplaceToIdentical
public
void testReplaceToIdentical()
(Code)
Tests replace creates output same as input.
testReplaceUnknownKey
public
void testReplaceUnknownKey()
(Code)
Tests unknown key replace.
testReplaceWeirdPattens
public
void testReplaceWeirdPattens()
(Code)
Tests interpolation with weird boundary patterns.
testResolveVariable
public
void testResolveVariable()
(Code)
Tests protected.
testStaticReplace
public
void testStaticReplace()
(Code)
Tests static.
testStaticReplacePrefixSuffix
public
void testStaticReplacePrefixSuffix()
(Code)
Tests static.
testStaticReplaceSystemProperties
public
void testStaticReplaceSystemProperties()
(Code)
Tests interpolation with system properties.
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.