Home
last modified time | relevance | path

Searched refs:ChoiceType (Results 1 – 2 of 2) sorted by relevance

/external/jcommander/src/test/java/com/beust/jcommander/args/
DArgsEnum.java37 public enum ChoiceType { ONE, Two, THREE }; enum in ArgsEnum
39 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()
/external/jcommander/src/test/java/com/beust/jcommander/
DJCommanderTest.java52 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()