@Test public void strips_options() { final RuntimeOptions options = new RuntimeOptions( " --glue somewhere somewhere_else"); assertEquals(1, options.getGlue().size()); assertTrue(options.getGlue().contains("somewhere")); }
public List<String> getGlue() { return glue; }
RuntimeOptions { public List<String> getGlue() { return glue; } }
RuntimeOptions { public List<String> getGlue() { return glue; } RuntimeOptions(final String argv);  RuntimeOptions(List<String> argv); }
RuntimeOptions { public List<String> getGlue() { return glue; } RuntimeOptions(final String argv);  RuntimeOptions(List<String> argv); List<String> getGlue(); boolean isStrict(); boolean isDryRun(); List<String> getFilters(); boolean isMonochrome(); List<String> getPluginNames(); }
RuntimeOptions { public List<String> getGlue() { return glue; } RuntimeOptions(final String argv);  RuntimeOptions(List<String> argv); List<String> getGlue(); boolean isStrict(); boolean isDryRun(); List<String> getFilters(); boolean isMonochrome(); List<String> getPluginNames();  }