Пример #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());
 }