use of org.broadinstitute.barclay.argparser.CommandLineParser in project gatk by broadinstitute.
the class FeatureInputArgumentCollectionTest method testOptionalIsOptional.
@Test
public void testOptionalIsOptional() {
Object req = new Object() {
@ArgumentCollection
private OptionalFeatureInputArgumentCollection ric = new OptionalFeatureInputArgumentCollection();
};
CommandLineParser clp = new CommandLineArgumentParser(req);
String[] args = {};
clp.parseArguments(System.out, args);
}
use of org.broadinstitute.barclay.argparser.CommandLineParser in project gatk by broadinstitute.
the class ReadInputArgumentCollectionTest method testOptionalIsOptional.
@Test
public void testOptionalIsOptional() {
Object req = new Object() {
@ArgumentCollection
private ReadInputArgumentCollection ric = new OptionalReadInputArgumentCollection();
};
CommandLineParser clp = new CommandLineArgumentParser(req);
String[] args = {};
clp.parseArguments(System.out, args);
}
use of org.broadinstitute.barclay.argparser.CommandLineParser in project gatk by broadinstitute.
the class ReferenceInputArgumentCollectionTest method testOptionalIsOptional.
@Test
public void testOptionalIsOptional() {
String[] args = {};
WithOptionalReferenceCollection optional = new WithOptionalReferenceCollection();
CommandLineParser clp = new CommandLineArgumentParser(optional);
clp.parseArguments(System.out, args);
}
use of org.broadinstitute.barclay.argparser.CommandLineParser in project gatk by broadinstitute.
the class FeatureInputArgumentCollectionTest method testRequiredIsRequired.
@Test(expectedExceptions = CommandLineException.class)
public void testRequiredIsRequired() {
Object req = new Object() {
@ArgumentCollection
private RequiredFeatureInputArgumentCollection ric = new RequiredFeatureInputArgumentCollection();
};
CommandLineParser clp = new CommandLineArgumentParser(req);
String[] args = {};
clp.parseArguments(System.out, args);
}
use of org.broadinstitute.barclay.argparser.CommandLineParser in project gatk by broadinstitute.
the class IntervalArgumentCollectionTest method testOptionalIsOptional.
@Test
public void testOptionalIsOptional() {
WithOptionalIntervals opt = new WithOptionalIntervals();
CommandLineParser clp = new CommandLineArgumentParser(opt);
String[] args = {};
clp.parseArguments(System.out, args);
}
Aggregations