コード例 #1
0
 @Test
 public void shouldParseCommaSeparatedListOfClassesToAvoidCallTo() {
   final ReportOptions actual = parseAddingRequiredArgs("--avoidCallsTo", "foo,bar,foo.bar");
   assertEquals(Arrays.asList("foo", "bar", "foo.bar"), actual.getLoggingClasses());
 }
コード例 #2
0
 @Test
 public void shouldDefaultLoggingPackagesToDefaultsDefinedByDefaultMutationConfigFactory() {
   final ReportOptions actual = parseAddingRequiredArgs();
   assertEquals(ReportOptions.LOGGING_CLASSES, actual.getLoggingClasses());
 }