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 22
33import org .junit .jupiter .api .Test ;
44
5+ import static org .junit .jupiter .api .Assertions .assertFalse ;
56import static org .junit .jupiter .api .Assertions .assertTrue ;
67import static org .utplsql .maven .plugin .util .StringUtil .isBlank ;
78import static org .utplsql .maven .plugin .util .StringUtil .isEmpty ;
1112class StringUtilTest {
1213
1314 @ Test
14- void is_empty () {
15+ void is_empty_true () {
1516 assertTrue (isEmpty ("" ));
1617 }
1718
1819 @ 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 () {
2026 assertTrue (isNotEmpty ("abc" ));
2127 }
2228
2329 @ Test
24- void is_blank () {
30+ void is_not_empty_false () {
31+ assertFalse (isNotEmpty ("" ));
32+ }
33+
34+ @ Test
35+ void is_blank_true () {
2536 assertTrue (isBlank (" " ));
2637 }
2738
2839 @ 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 () {
3046 assertTrue (isNotBlank ("abc" ));
3147 }
48+
49+ @ Test
50+ void is_not_blank_false () {
51+ assertFalse (isNotBlank ("" ));
52+ }
3253}
You can’t perform that action at this time.
0 commit comments