Skip to content

Commit

Permalink
null checking test
Browse files Browse the repository at this point in the history
  • Loading branch information
liweinan committed Oct 29, 2023
1 parent d38cbb4 commit 641f0b1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ public void testPropParsings() {
String p7 = "${INVALID}}";
String p8 = "${BAR:}";
String p9 = "${}";
String p10 = "${BAR}";


Assert.assertEquals("foo", BatchSEEnvironment.parseProp(p1));
Expand All @@ -179,6 +180,7 @@ public void testPropParsings() {
Assert.assertEquals("${INVALID}}", BatchSEEnvironment.parseProp(p7));
Assert.assertEquals("", BatchSEEnvironment.parseProp(p8));
Assert.assertEquals("${}", BatchSEEnvironment.parseProp(p9));
Assert.assertNull(BatchSEEnvironment.parseProp(p10));
}

private ThreadPoolExecutor verifyThreadPool(final int coreSize,
Expand Down

0 comments on commit 641f0b1

Please sign in to comment.