Searched refs:ArgsEnum (Results 1 – 2 of 2) sorted by relevance
35 public class ArgsEnum { class45 ArgsEnum args = new ArgsEnum(); in main()50 "Options: " + EnumSet.allOf((Class<? extends Enum>) ArgsEnum.ChoiceType.class)); in main()
51 import com.beust.jcommander.args.ArgsEnum;52 import com.beust.jcommander.args.ArgsEnum.ChoiceType;594 ArgsEnum args = new ArgsEnum(); in enumArgs()598 Assert.assertEquals(args.choice, ArgsEnum.ChoiceType.ONE); in enumArgs()603 "Options: " + EnumSet.allOf((Class<? extends Enum>) ArgsEnum.ChoiceType.class)); in enumArgs()608 ArgsEnum args = new ArgsEnum(); in enumArgsCaseInsensitive()612 Assert.assertEquals(args.choice, ArgsEnum.ChoiceType.ONE); in enumArgsCaseInsensitive()617 ArgsEnum args = new ArgsEnum(); in enumArgsFail()