Skip to content

Commit 51dc47d

Browse files
committed
Renamed test methods
1 parent 5514bd2 commit 51dc47d

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

src/test/java/org/utplsql/maven/plugin/util/StringUtilTest.java

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,52 +12,62 @@
1212
class StringUtilTest {
1313

1414
@Test
15-
void is_empty_true() {
15+
void isEmpty_with_empty() {
1616
assertTrue(isEmpty(""));
1717
}
1818

1919
@Test
20-
void is_empty_null_true() {
20+
void isEmpty_with_null() {
2121
assertTrue(isEmpty(null));
2222
}
2323

2424
@Test
25-
void is_empty_false() {
25+
void isEmpty_with_string() {
2626
assertFalse(isEmpty("abc"));
2727
}
2828

2929
@Test
30-
void is_not_empty_true() {
30+
void isNotEmpty_with_string() {
3131
assertTrue(isNotEmpty("abc"));
3232
}
3333

3434
@Test
35-
void is_not_empty_false() {
35+
void isNotEmpty_with_empty() {
3636
assertFalse(isNotEmpty(""));
3737
}
3838

3939
@Test
40-
void is_blank_true() {
40+
void isNotEmpty_with_blank() {
41+
assertTrue(isNotEmpty(" "));
42+
}
43+
44+
@Test
45+
void isBlank_with_blank() {
4146
assertTrue(isBlank(" "));
4247
}
4348

4449
@Test
45-
void is_blank_null_true() {
50+
void isBlank_with_null() {
4651
assertTrue(isBlank(null));
4752
}
4853

4954
@Test
50-
void is_blank_false() {
55+
void isBlank_with_string() {
5156
assertFalse(isBlank("abc"));
5257
}
5358

5459
@Test
55-
void is_not_blank_true() {
60+
void isBlank_with_whitespaces_before_string() {
61+
assertFalse(isBlank(" abc"));
62+
}
63+
64+
@Test
65+
void isNotBlank_with_string() {
5666
assertTrue(isNotBlank("abc"));
5767
}
5868

5969
@Test
60-
void is_not_blank_false() {
70+
void isNotBlank_with_empty() {
6171
assertFalse(isNotBlank(""));
6272
}
6373
}

0 commit comments

Comments
 (0)