OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:stubbing
(Results
1 - 25
of
91
) sorted by null
1
2
3
4
/external/mockito/src/main/java/org/mockito/internal/stubbing/
package-info.java
7
*
Stubbing
logic.
9
package org.mockito.internal.
stubbing
;
BaseStubbing.java
5
package org.mockito.internal.
stubbing
;
7
import org.mockito.internal.
stubbing
.answers.CallsRealMethods;
8
import org.mockito.internal.
stubbing
.answers.Returns;
9
import org.mockito.internal.
stubbing
.answers.ThrowsException;
10
import org.mockito.internal.
stubbing
.answers.ThrowsExceptionClass;
11
import org.mockito.
stubbing
.OngoingStubbing;
21
OngoingStubbing<T>
stubbing
= thenReturn(value);
local
24
return
stubbing
.thenReturn(null);
27
stubbing
=
stubbing
.thenReturn(v)
40
OngoingStubbing<T>
stubbing
= null;
local
60
OngoingStubbing<T>
stubbing
= thenThrow(toBeThrown);
local
[
all
...]
StubbingComparator.java
5
package org.mockito.internal.
stubbing
;
8
import org.mockito.
stubbing
.
Stubbing
;
15
public class StubbingComparator implements Comparator<
Stubbing
> {
19
public int compare(
Stubbing
o1,
Stubbing
o2) {
ConsecutiveStubbing.java
5
package org.mockito.internal.
stubbing
;
7
import org.mockito.
stubbing
.Answer;
8
import org.mockito.
stubbing
.OngoingStubbing;
InvocationContainer.java
5
package org.mockito.internal.
stubbing
;
/external/mockito/src/main/java/org/mockito/stubbing/
package-info.java
7
*
Stubbing
related classes.
9
package org.mockito.
stubbing
;
Answer.java
5
package org.mockito.
stubbing
;
13
* Example of
stubbing
a mock with custom answer:
Answer1.java
5
package org.mockito.
stubbing
;
14
* Example of
stubbing
a mock with this custom answer:
Answer2.java
5
package org.mockito.
stubbing
;
14
* Example of
stubbing
a mock with this custom answer:
Answer3.java
5
package org.mockito.
stubbing
;
14
* Example of
stubbing
a mock with this custom answer:
Answer4.java
5
package org.mockito.
stubbing
;
14
* Example of
stubbing
a mock with this custom answer:
Answer5.java
5
package org.mockito.
stubbing
;
14
* Example of
stubbing
a mock with this custom answer:
ValidableAnswer.java
6
package org.mockito.
stubbing
;
VoidAnswer1.java
5
package org.mockito.
stubbing
;
14
* Example of
stubbing
a mock with this custom answer:
VoidAnswer2.java
5
package org.mockito.
stubbing
;
14
* Example of
stubbing
a mock with this custom answer:
VoidAnswer3.java
5
package org.mockito.
stubbing
;
14
* Example of
stubbing
a mock with this custom answer:
VoidAnswer4.java
5
package org.mockito.
stubbing
;
14
* Example of
stubbing
a mock with this custom answer:
VoidAnswer5.java
5
package org.mockito.
stubbing
;
14
* Example of
stubbing
a mock with this custom answer:
Stubbing.java
5
package org.mockito.
stubbing
;
11
*
Stubbing
declared on the mock object.
16
public interface
Stubbing
{
20
* E.g. in the example
stubbing
<code>when(mock.foo()).thenReturn(true)</code>
33
* Informs if the
stubbing
was used
35
* What does it mean 'used
stubbing
'?
36
*
Stubbing
like <code>when(mock.foo()).thenReturn(true)</code> is considered used
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
package-info.java
9
package org.mockito.internal.
stubbing
.answers;
AnswerFunctionalInterfaces.java
5
package org.mockito.internal.
stubbing
.answers;
8
import org.mockito.
stubbing
.Answer;
9
import org.mockito.
stubbing
.Answer1;
10
import org.mockito.
stubbing
.Answer2;
11
import org.mockito.
stubbing
.Answer3;
12
import org.mockito.
stubbing
.Answer4;
13
import org.mockito.
stubbing
.Answer5;
14
import org.mockito.
stubbing
.VoidAnswer1;
15
import org.mockito.
stubbing
.VoidAnswer2;
16
import org.mockito.
stubbing
.VoidAnswer3
[
all
...]
CallsRealMethods.java
5
package org.mockito.internal.
stubbing
.answers;
10
import org.mockito.
stubbing
.Answer;
11
import org.mockito.
stubbing
.ValidableAnswer;
ReturnsElementsOf.java
5
package org.mockito.internal.
stubbing
.answers;
11
import org.mockito.
stubbing
.Answer;
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
package-info.java
9
package org.mockito.internal.
stubbing
.defaultanswers;
GloballyConfiguredAnswer.java
5
package org.mockito.internal.
stubbing
.defaultanswers;
12
import org.mockito.
stubbing
.Answer;
Completed in 823 milliseconds
1
2
3
4