renamed test class
This commit is contained in:
parent
5de26d0df3
commit
dfbd91a678
@ -54,7 +54,7 @@ public class TitleCaseConverter {
|
|||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
|
|
||||||
return UCharacter.toTitleCase(text, null);
|
return UCharacter.toTitleCase(text, BreakIterator.getTitleInstance());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String convertToTileCaseWordUtilsFull(String text) {
|
public static String convertToTileCaseWordUtilsFull(String text) {
|
||||||
|
@ -5,7 +5,7 @@ import org.junit.Test;
|
|||||||
|
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
public class TitleCaseConverterTest {
|
public class TitleCaseConverterUnitTest {
|
||||||
|
|
||||||
private static final String TEXT = "tHis IS a tiTLe";
|
private static final String TEXT = "tHis IS a tiTLe";
|
||||||
private static final String TEXT_EXPECTED = "This Is A Title";
|
private static final String TEXT_EXPECTED = "This Is A Title";
|
Loading…
x
Reference in New Issue
Block a user