@Test public void parses_plugin() { final RuntimeOptions options = new RuntimeOptions(asList("--plugin", "html:some/dir", "--glue", "somewhere")); assertEquals("html:some/dir", options.getPluginNames().get(0)); }
public List<String> getPluginNames() { return pluginNames; }
RuntimeOptions { public List<String> getPluginNames() { return pluginNames; } }
RuntimeOptions { public List<String> getPluginNames() { return pluginNames; } RuntimeOptions(final String argv);  RuntimeOptions(List<String> argv); }
RuntimeOptions { public List<String> getPluginNames() { return pluginNames; } 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> getPluginNames() { return pluginNames; } RuntimeOptions(final String argv);  RuntimeOptions(List<String> argv); List<String> getGlue(); boolean isStrict(); boolean isDryRun(); List<String> getFilters(); boolean isMonochrome(); List<String> getPluginNames();  }