コード例 #1
0
 @Test
 public void shouldNotIncludeLaunchClasspathWhenFlagUnset() {
   final ReportOptions actual = parseAddingRequiredArgs("--includeLaunchClasspath=false");
   assertFalse(actual.isIncludeLaunchClasspath());
 }
コード例 #2
0
 @Test
 public void shouldIncludeLaunchClasspathWhenFlag() {
   final ReportOptions actual = parseAddingRequiredArgs("--includeLaunchClasspath=true");
   assertTrue(actual.isIncludeLaunchClasspath());
 }
コード例 #3
0
 @Test
 public void shouldIncludeLaunchClasspathByDefault() {
   final ReportOptions actual = parseAddingRequiredArgs("");
   assertTrue(actual.isIncludeLaunchClasspath());
 }