OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:defaultChoice
(Results
1 - 3
of
3
) sorted by null
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/serialization/
ChoiceCallbackTest.java
41
int
defaultChoice
= 1;
44
return new Object[] {new ChoiceCallback(prompt, choices,
defaultChoice
, true)};
/external/smack/src/org/apache/harmony/javax/security/auth/callback/
ChoiceCallback.java
28
private int
defaultChoice
;
59
private void setDefaultChoice(int
defaultChoice
) {
60
if (0 >
defaultChoice
||
defaultChoice
>= choices.length) {
63
this.
defaultChoice
=
defaultChoice
;
66
public ChoiceCallback(String prompt, String[] choices, int
defaultChoice
,
71
setDefaultChoice(
defaultChoice
);
84
return
defaultChoice
;
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/
ChoiceCallbackTest.java
38
int
defaultChoice
= 1;
48
cb = new ChoiceCallback(prompt, choices,
defaultChoice
, true);
51
assertEquals(this.
defaultChoice
, cb.getDefaultChoice());
59
cb = new ChoiceCallback(prompt, choices,
defaultChoice
, false);
72
cb = new ChoiceCallback(prompt, null,
defaultChoice
, true);
78
cb = new ChoiceCallback(null, choices,
defaultChoice
, true);
89
cb = new ChoiceCallback(prompt, new String[0],
defaultChoice
, true);
95
cb = new ChoiceCallback("", choices,
defaultChoice
, true);
136
cb = new ChoiceCallback(prompt, c,
defaultChoice
, false);
140
cb = new ChoiceCallback(prompt, c,
defaultChoice
, true)
[
all
...]
Completed in 155 milliseconds