Searched refs:ChoiceType (Results 1 – 2 of 2) sorted by relevance
37 public enum ChoiceType { ONE, Two, THREE }; enum in ArgsEnum39 public ChoiceType choice = ChoiceType.ONE;42 public List<ChoiceType> choices = new ArrayList<ChoiceType>();50 "Options: " + EnumSet.allOf((Class<? extends Enum>) ArgsEnum.ChoiceType.class)); in main()
52 import com.beust.jcommander.args.ArgsEnum.ChoiceType;598 Assert.assertEquals(args.choice, ArgsEnum.ChoiceType.ONE); in enumArgs()600 List<ChoiceType> expected = Arrays.asList(ChoiceType.ONE, ChoiceType.Two); in enumArgs()603 "Options: " + EnumSet.allOf((Class<? extends Enum>) ArgsEnum.ChoiceType.class)); in enumArgs()612 Assert.assertEquals(args.choice, ArgsEnum.ChoiceType.ONE); in enumArgsCaseInsensitive()