Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@226862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
159999da0c
commit
23845c1751
|
@ -360,6 +360,9 @@ public class StrBuilderTest extends TestCase {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests {@link StrBuilder#replace(char, char)}.
|
||||
*/
|
||||
public void testReplaceCharChar() {
|
||||
StrBuilder sb = new StrBuilder("abc");
|
||||
sb.replace('a', 'd');
|
||||
|
@ -374,6 +377,9 @@ public class StrBuilderTest extends TestCase {
|
|||
assertEquals("ddbbcc", sb.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests {@link StrBuilder#replace(String, String)}.
|
||||
*/
|
||||
public void testReplaceStringString() {
|
||||
StrBuilder sb = new StrBuilder("abc");
|
||||
sb.replace("a", "d");
|
||||
|
|
Loading…
Reference in New Issue