mirror of
https://github.com/theonedev/onedev.git
synced 2025-12-08 18:26:30 +00:00
Change testXXX to shouldXXX
This commit is contained in:
parent
bf55319063
commit
400ecf99c2
@ -8,7 +8,7 @@ import org.junit.Test;
|
|||||||
|
|
||||||
public class StringUtilsTest {
|
public class StringUtilsTest {
|
||||||
|
|
||||||
@Test public void testCameCaseToLowerCaseWithUnderscore() {
|
@Test public void shouldConvertCameCaseToLowerCaseWithUnderscore() {
|
||||||
String input = null;
|
String input = null;
|
||||||
assertTrue(StringUtils.camelCaseToLowerCaseWithUnderscore(input) == null);
|
assertTrue(StringUtils.camelCaseToLowerCaseWithUnderscore(input) == null);
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ public class StringUtilsTest {
|
|||||||
assertEquals(StringUtils.camelCaseToLowerCaseWithUnderscore(input), "ilove_you");
|
assertEquals(StringUtils.camelCaseToLowerCaseWithUnderscore(input), "ilove_you");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test public void testCamelCaseToLowerCaseWithHyphen() {
|
@Test public void shouldConvertCamelCaseToLowerCaseWithHyphen() {
|
||||||
String input = null;
|
String input = null;
|
||||||
assertTrue(StringUtils.camelCaseToLowerCaseWithHyphen(input) == null);
|
assertTrue(StringUtils.camelCaseToLowerCaseWithHyphen(input) == null);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user