public void testParseArgs(){
  assertEquals(Arrays.<String>asList(),LaunchConfigurationProcessorUtilities.parseArgs(null));
  assertEquals(Arrays.<String>asList(),LaunchConfigurationProcessorUtilities.parseArgs(""));
  assertEquals(Arrays.<String>asList(),LaunchConfigurationProcessorUtilities.parseArgs("   "));
  assertEquals(Arrays.asList("-one"),LaunchConfigurationProcessorUtilities.parseArgs("-one"));
  assertEquals(Arrays.asList("-one","-two"),LaunchConfigurationProcessorUtilities.parseArgs("-one -two"));
  assertEquals(Arrays.asList("-one","value"),LaunchConfigurationProcessorUtilities.parseArgs("-one value"));
  assertEquals(Arrays.asList("-one","value with spaces"),LaunchConfigurationProcessorUtilities.parseArgs("-one \"value with spaces\""));
  assertEquals(Arrays.asList("-one","test InnerQuotes"),LaunchConfigurationProcessorUtilities.parseArgs("-one test\" InnerQuotes\""));
  assertEquals(Arrays.asList("\""),LaunchConfigurationProcessorUtilities.parseArgs("\\\""));
}

public void testParseArgs ( ) { assertEquals ( Arrays . < String > asList ( ) , LaunchConfigurationProcessorUtilities . parseArgs ( null ) ) ; assertEquals ( Arrays . < String > asList ( ) , LaunchConfigurationProcessorUtilities . parseArgs ( "" ) ) ; assertEquals ( Arrays . < String > asList ( ) , LaunchConfigurationProcessorUtilities . parseArgs ( "   " ) ) ; assertEquals ( Arrays . asList ( "-one" ) , LaunchConfigurationProcessorUtilities . parseArgs ( "-one" ) ) ; assertEquals ( Arrays . asList ( "-one" , "-two" ) , LaunchConfigurationProcessorUtilities . parseArgs ( "-one -two" ) ) ; assertEquals ( Arrays . asList ( "-one" , "value" ) , LaunchConfigurationProcessorUtilities . parseArgs ( "-one value" ) ) ; assertEquals ( Arrays . asList ( "-one" , "value with spaces" ) , LaunchConfigurationProcessorUtilities . parseArgs ( "-one \"value with spaces\"" ) ) ; assertEquals ( Arrays . asList ( "-one" , "test InnerQuotes" ) , LaunchConfigurationProcessorUtilities . parseArgs ( "-one test\" InnerQuotes\"" ) ) ; assertEquals ( Arrays . asList ( "\"" ) , LaunchConfigurationProcessorUtilities . parseArgs ( "\\\"" ) ) ; }
tests launch configuration argument parsing .
