Lines 37-43
public final class ClutilTestCase extends TestCase {
Link Here
|
37 |
"-Dstupid=idiot", "are", "--all", "--all", "here" }; |
37 |
"-Dstupid=idiot", "are", "--all", "--all", "here" }; |
38 |
|
38 |
|
39 |
private static final String[] ARGLIST4 = new String[] { |
39 |
private static final String[] ARGLIST4 = new String[] { |
40 |
// incompatable (blee/all) |
40 |
// incompatible (blee/all) |
41 |
"-Dstupid", "idiot", "are", "--all", "--blee", "here" }; |
41 |
"-Dstupid", "idiot", "are", "--all", "--blee", "here" }; |
42 |
|
42 |
|
43 |
private static final String[] ARGLIST5 = new String[] { "-f", "myfile.txt" }; |
43 |
private static final String[] ARGLIST5 = new String[] { "-f", "myfile.txt" }; |
Lines 188-194
public final class ClutilTestCase extends TestCase {
Link Here
|
188 |
public void testOptionalArgLongEquals() { |
188 |
public void testOptionalArgLongEquals() { |
189 |
final CLOptionDescriptor[] options = new CLOptionDescriptor[] { ALL, TAINT }; |
189 |
final CLOptionDescriptor[] options = new CLOptionDescriptor[] { ALL, TAINT }; |
190 |
|
190 |
|
191 |
// Check that optional args work woth long options |
191 |
// Check that optional args work with long options |
192 |
final String[] args = new String[] { "--taint=param", "-a" }; |
192 |
final String[] args = new String[] { "--taint=param", "-a" }; |
193 |
|
193 |
|
194 |
final CLArgsParser parser = new CLArgsParser(args, options); |
194 |
final CLArgsParser parser = new CLArgsParser(args, options); |