Home
last modified time | relevance | path

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

/external/jcommander/src/test/java/com/beust/jcommander/args/
DArgsEnum.java35 public class ArgsEnum { class
45 ArgsEnum args = new ArgsEnum(); in main()
50 "Options: " + EnumSet.allOf((Class<? extends Enum>) ArgsEnum.ChoiceType.class)); in main()
/external/jcommander/src/test/java/com/beust/jcommander/
DJCommanderTest.java51 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()