File tree Expand file tree Collapse file tree 1 file changed +25
-4
lines changed
src/test/java/org/utplsql/maven/plugin/util Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import org .junit .jupiter .api .Test ;
4
4
5
+ import static org .junit .jupiter .api .Assertions .assertFalse ;
5
6
import static org .junit .jupiter .api .Assertions .assertTrue ;
6
7
import static org .utplsql .maven .plugin .util .StringUtil .isBlank ;
7
8
import static org .utplsql .maven .plugin .util .StringUtil .isEmpty ;
11
12
class StringUtilTest {
12
13
13
14
@ Test
14
- void is_empty () {
15
+ void is_empty_true () {
15
16
assertTrue (isEmpty ("" ));
16
17
}
17
18
18
19
@ Test
19
- void is_not_empty () {
20
+ void is_empty_false () {
21
+ assertFalse (isEmpty ("abc" ));
22
+ }
23
+
24
+ @ Test
25
+ void is_not_empty_true () {
20
26
assertTrue (isNotEmpty ("abc" ));
21
27
}
22
28
23
29
@ Test
24
- void is_blank () {
30
+ void is_not_empty_false () {
31
+ assertFalse (isNotEmpty ("" ));
32
+ }
33
+
34
+ @ Test
35
+ void is_blank_true () {
25
36
assertTrue (isBlank (" " ));
26
37
}
27
38
28
39
@ Test
29
- void is_not_blank () {
40
+ void is_blank_false () {
41
+ assertFalse (isBlank ("abc" ));
42
+ }
43
+
44
+ @ Test
45
+ void is_not_blank_true () {
30
46
assertTrue (isNotBlank ("abc" ));
31
47
}
48
+
49
+ @ Test
50
+ void is_not_blank_false () {
51
+ assertFalse (isNotBlank ("" ));
52
+ }
32
53
}
You can’t perform that action at this time.
0 commit comments