public class StringUtilsTest extends Object
Constructor and Description |
---|
StringUtilsTest() |
Modifier and Type | Method and Description |
---|---|
void |
begins_with_ignore_case_returns_false_when_seq_doesnot_match() |
void |
begins_with_ignore_case() |
void |
hasValue() |
void |
lowerCase_EmptyString() |
void |
lowerCase_NonEmptyString() |
void |
lowerCase_NullString() |
void |
replace_EmptyReplacementString_RemovesAllOccurencesOfMatchString() |
void |
replace_MatchNotFound_ReturnsOriginalString() |
void |
replace_ReplacementStringContainsMatchString_DoesNotCauseInfiniteLoop() |
void |
testAppendAndCompact() |
void |
testCompare_String1Null() |
void |
testCompare_String2Null() |
void |
testCompare() |
void |
testFromByte()
Tests that we can correctly convert Bytes to strings.
|
void |
testFromByteBuffer()
Tests that
StringUtils.fromByteBuffer(ByteBuffer) correctly
base64 encodes the contents in a ByteBuffer and returns the correct
result. |
void |
testUTF8Charset() |
void |
upperCase_EmptyString() |
void |
upperCase_NonEmptyString() |
void |
upperCase_NullString() |
public void testFromByteBuffer()
StringUtils.fromByteBuffer(ByteBuffer)
correctly
base64 encodes the contents in a ByteBuffer and returns the correct
result.public void testFromByte()
public void testUTF8Charset()
public void replace_ReplacementStringContainsMatchString_DoesNotCauseInfiniteLoop()
https://github.com/aws/aws-sdk-java/pull/517
public void replace_EmptyReplacementString_RemovesAllOccurencesOfMatchString()
public void replace_MatchNotFound_ReturnsOriginalString()
public void lowerCase_NonEmptyString()
public void lowerCase_NullString()
public void lowerCase_EmptyString()
public void upperCase_NonEmptyString()
public void upperCase_NullString()
public void upperCase_EmptyString()
public void testCompare()
public void testCompare_String1Null()
public void testCompare_String2Null()
public void testAppendAndCompact()
public void begins_with_ignore_case()
public void begins_with_ignore_case_returns_false_when_seq_doesnot_match()
public void hasValue()
Copyright © 2018. All rights reserved.