public class InflectorTest extends Object
| Constructor and Description |
|---|
InflectorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeEach() |
void |
capitalize(String words,
String expectedValue) |
void |
humanize(String word,
String expectedValue,
String... removableTokens) |
void |
lowerCamelCase(String word,
String expectedCamelized,
char... delimiterChars) |
void |
ordinalize(int number,
String expectedValue) |
void |
shouldCapitalize() |
void |
shouldConvertToCamelCase() |
void |
shouldConvertToTitleCase() |
void |
shouldConvertToUnderscore() |
void |
shouldHumanize() |
void |
shouldOrdinalize() |
void |
shouldPluralizeAndSingularize() |
void |
shouldReplaceAllWithUppercase() |
void |
singularToPlural(Object singular,
String expectedPlural) |
void |
titleCase(String word,
String expectedValue,
String... removableTokens) |
void |
underscore(String word,
String expectedUnderscored,
char... delimiterChars) |
void |
upperCamelCase(String word,
String expectedCamelized,
char... delimiterChars) |
public InflectorTest()
public void beforeEach()
public void singularToPlural(Object singular, String expectedPlural)
public void upperCamelCase(String word, String expectedCamelized, char... delimiterChars)
public void lowerCamelCase(String word, String expectedCamelized, char... delimiterChars)
public void underscore(String word, String expectedUnderscored, char... delimiterChars)
public void capitalize(String words, String expectedValue)
public void ordinalize(int number, String expectedValue)
public void shouldReplaceAllWithUppercase()
public void shouldPluralizeAndSingularize()
public void shouldConvertToCamelCase()
public void shouldConvertToUnderscore()
public void shouldCapitalize()
public void shouldHumanize()
public void shouldConvertToTitleCase()
public void shouldOrdinalize()
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.