Home
last modified time | relevance | path

Searched refs:PersonType (Results 1 – 3 of 3) sorted by relevance

/external/junit-params/src/test/java/junitparams/
DEnumsAsParamsTest.java15 public void passEnumAsString(PersonType person) { in passEnumAsString()
16 assertThat(person).isIn(PersonType.SOME_VALUE, PersonType.OTHER_VALUE); in passEnumAsString()
21 public void passEnumFromMethod(PersonType person) { in passEnumFromMethod()
25 private PersonType[] parametersForPassEnumFromMethod() { in parametersForPassEnumFromMethod()
26 return new PersonType[] {PersonType.SOME_VALUE, PersonType.OTHER_VALUE}; in parametersForPassEnumFromMethod()
/external/junit-params/src/test/java/junitparams/usage/
DSamplesOfUsageTest.java23 import junitparams.usage.person_example.PersonType;
86 public void enumsAsParamInAnnotation(PersonType person) { } in enumsAsParamInAnnotation()
90 public void enumsAsParamsInMethod(PersonType person) { } in enumsAsParamsInMethod()
91 …private PersonType[] parametersForEnumsAsParamsInMethod() { return (PersonType[]) new PersonType[]… in parametersForEnumsAsParamsInMethod()
94 @Parameters(source = PersonType.class)
95 public void enumAsSource(PersonType personType) { in enumAsSource()
/external/junit-params/src/test/java/junitparams/usage/person_example/
DPersonType.java3 public enum PersonType { enum