HomeSort by relevance Sort by last modified time
    Searched refs:mockito (Results 276 - 300 of 2324) sorted by null

<<11121314151617181920>>

  /external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
CallsRealMethodsTest.java 3 * Copyright (c) 2007 Mockito contributors
6 package org.mockito.internal.stubbing.answers;
11 import org.mockito.exceptions.base.MockitoException;
12 import org.mockito.internal.MockitoCore;
13 import org.mockito.internal.invocation.InvocationBuilder;
14 import org.mockito.invocation.Invocation;
17 import static org.mockito.Mockito.RETURNS_DEFAULTS;
18 import static org.mockito.Mockito.mock
    [all...]
  /external/mockito/src/test/java/org/mockito/internal/verification/
OnlyTest.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.verification;
8 import org.mockito.exceptions.base.MockitoAssertionError;
9 import org.mockito.internal.invocation.InvocationBuilder;
10 import org.mockito.internal.invocation.InvocationMatcher;
11 import org.mockito.invocation.MatchableInvocation;
12 import org.mockito.internal.verification.api.VerificationData;
13 import org.mockito.invocation.Invocation;
  /external/mockito/src/test/java/org/mockitousage/annotation/
DeprecatedAnnotationEngineApiTest.java 2 * Copyright (c) 2007 Mockito contributors
10 import org.mockito.InjectMocks;
11 import org.mockito.Mock;
12 import org.mockito.MockitoAnnotations;
13 import org.mockito.configuration.AnnotationEngine;
14 import org.mockito.configuration.DefaultMockitoConfiguration;
15 import org.mockito.internal.configuration.ConfigurationAccess;
16 import org.mockito.internal.configuration.IndependentAnnotationEngine;
CaptorAnnotationUnhappyPathTest.java 2 * Copyright (c) 2007 Mockito contributors
10 import org.mockito.Captor;
11 import org.mockito.MockitoAnnotations;
12 import org.mockito.exceptions.base.MockitoException;
SpyInjectionTest.java 2 * Copyright (c) 2007 Mockito contributors
8 import org.mockito.InjectMocks;
9 import org.mockito.Spy;
10 import org.mockito.internal.util.MockUtil;
  /external/mockito/src/test/java/org/mockitousage/verification/
CustomVerificationTest.java 2 * Copyright (c) 2007 Mockito contributors
8 import org.mockito.Mock;
9 import org.mockito.exceptions.base.MockitoAssertionError;
10 import org.mockito.internal.invocation.InvocationMatcher;
11 import org.mockito.internal.verification.api.VerificationData;
12 import org.mockito.invocation.Invocation;
13 import org.mockito.verification.VerificationMode;
18 import static org.mockito.Mockito.verify;
38 //Old api still supported, see https://github.com/mockito/mockito/issues/73
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
BatteryStatsHelperLoaderTest.java 18 import static org.mockito.Matchers.any;
19 import static org.mockito.Matchers.eq;
20 import static org.mockito.Mockito.doReturn;
21 import static org.mockito.Mockito.spy;
22 import static org.mockito.Mockito.verify;
33 import org.mockito.Mock;
34 import org.mockito.MockitoAnnotations
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/handler/
InvocationNotifierHandler.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.handler;
7 import static org.mockito.internal.exceptions.Reporter.invocationListenerThrewException;
10 import org.mockito.internal.InternalMockHandler;
11 import org.mockito.internal.stubbing.InvocationContainer;
12 import org.mockito.invocation.Invocation;
13 import org.mockito.invocation.MockHandler;
14 import org.mockito.listeners.InvocationListener;
15 import org.mockito.mock.MockCreationSettings;
16 import org.mockito.stubbing.Answer
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/progress/
ArgumentMatcherStorageImpl.java 2 * Copyright (c) 2007 Mockito contributors
6 package org.mockito.internal.progress;
8 import org.mockito.ArgumentMatcher;
9 import org.mockito.internal.matchers.And;
10 import org.mockito.internal.matchers.LocalizedMatcher;
11 import org.mockito.internal.matchers.Not;
12 import org.mockito.internal.matchers.Or;
15 import static org.mockito.internal.exceptions.Reporter.incorrectUseOfAdditionalMatchers;
16 import static org.mockito.internal.exceptions.Reporter.misplacedArgumentMatcher;
17 import static org.mockito.internal.exceptions.Reporter.reportNoSubMatchersFound
    [all...]
  /external/mockito/src/test/java/org/mockitousage/junitrule/
MutableStrictJUnitRuleTest.java 7 import org.mockito.Mock;
8 import org.mockito.junit.MockitoJUnit;
9 import org.mockito.junit.MockitoRule;
10 import org.mockito.quality.Strictness;
14 import static org.mockito.Mockito.when;
41 @Rule public MockitoRule mockito = MockitoJUnit.rule().strictness(Strictness.LENIENT); field in class:MutableStrictJUnitRuleTest.LenientByDefault
49 //making Mockito strict only for this test method
50 mockito.strictness(Strictness.STRICT_STUBS);
57 @Rule public MockitoRule mockito = MockitoJUnit.rule().strictness(Strictness.STRICT_STUBS) field in class:MutableStrictJUnitRuleTest.StrictByDefault
    [all...]
  /external/mockito/src/test/java/org/mockitousage/misuse/
DetectingMisusedMatchersTest.java 2 * Copyright (c) 2007 Mockito contributors
10 import org.mockito.Mock;
11 import org.mockito.exceptions.misusing.InvalidUseOfMatchersException;
12 import org.mockito.exceptions.misusing.UnfinishedVerificationException;
19 import static org.mockito.Mockito.anyBoolean;
20 import static org.mockito.Mockito.anyInt;
21 import static org.mockito.Mockito.anyObject
    [all...]
  /frameworks/opt/setupwizard/library/recyclerview/test/robotest/src/com/android/setupwizardlib/template/
RecyclerViewScrollHandlingDelegateTest.java 19 import static org.mockito.Matchers.anyInt;
20 import static org.mockito.Matchers.eq;
21 import static org.mockito.Mockito.doNothing;
22 import static org.mockito.Mockito.doReturn;
23 import static org.mockito.Mockito.spy;
24 import static org.mockito.Mockito.verify
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/
DefaultSmsPickerTest.java 31 import org.mockito.Answers;
32 import org.mockito.Mock;
33 import org.mockito.MockitoAnnotations;
38 import static org.mockito.Matchers.any;
39 import static org.mockito.Matchers.eq;
40 import static org.mockito.Mockito.doReturn;
41 import static org.mockito.Mockito.spy;
42 import static org.mockito.Mockito.verify
    [all...]
  /external/mockito/src/main/java/org/mockito/compat/
ArgumentMatcher.java 16 package org.mockito.compat;
19 import org.mockito.internal.util.Decamelizer;
22 * Base class for code that has to compile against Mockito 1.x and Mockito 2.x.
24 public abstract class ArgumentMatcher<T> implements org.mockito.ArgumentMatcher<T> {
CapturingMatcher.java 16 package org.mockito.compat;
19 import org.mockito.internal.util.Decamelizer;
22 * Base class for code that has to compile against Mockito 1.x and Mockito 2.x.
24 public abstract class CapturingMatcher<T> extends org.mockito.internal.matchers.CapturingMatcher<T> {
  /external/mockito/src/main/java/org/mockito/internal/debugging/
LocationImpl.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.debugging;
8 import org.mockito.internal.exceptions.stacktrace.StackTraceFilter;
9 import org.mockito.invocation.Location;
WarningsPrinterImpl.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.debugging;
7 import org.mockito.internal.invocation.InvocationMatcher;
8 import org.mockito.invocation.Invocation;
  /external/mockito/src/main/java/org/mockito/internal/invocation/realmethod/
CleanTraceRealMethod.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.invocation.realmethod;
7 import org.mockito.internal.creation.util.MockitoMethodProxy;
8 import org.mockito.internal.exceptions.stacktrace.ConditionalStackTraceFilter;
  /external/mockito/src/main/java/org/mockito/internal/stubbing/
ConsecutiveStubbing.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.stubbing;
7 import org.mockito.stubbing.Answer;
8 import org.mockito.stubbing.OngoingStubbing;
  /external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DefaultAnswerValidator.java 2 * Copyright (c) 2007 Mockito contributors
6 package org.mockito.internal.stubbing.answers;
8 import org.mockito.invocation.InvocationOnMock;
10 import static org.mockito.internal.exceptions.Reporter.wrongTypeReturnedByDefaultAnswer;
  /external/mockito/src/main/java/org/mockito/internal/util/
ObjectMethodsGuru.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.util;
8 import org.mockito.internal.creation.DelegatingMethod;
9 import org.mockito.internal.invocation.MockitoMethod;
  /external/mockito/src/test/java/org/mockito/
ArgumentCaptorTest.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito;
9 import org.mockito.exceptions.misusing.InvalidUseOfMatchersException;
12 import static org.mockito.Mockito.validateMockitoUsage;
17 * Clean up the internal Mockito-Stubbing state
  /external/mockito/src/test/java/org/mockito/internal/progress/
AtLeastTest.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.progress;
8 import org.mockito.exceptions.base.MockitoException;
9 import org.mockito.internal.verification.VerificationModeFactory;
  /external/mockito/src/test/java/org/mockito/internal/runners/util/
RunnerProviderTest.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.runners.util;
8 import org.mockito.internal.runners.DefaultInternalRunner;
9 import org.mockito.internal.runners.InternalRunner;
  /external/mockito/src/test/java/org/mockito/internal/util/reflection/
GenericArrayReturnTypeTest.java 1 package org.mockito.internal.util.reflection;
4 import org.mockito.Answers;
8 import static org.mockito.Mockito.mock;

Completed in 382 milliseconds

<<11121314151617181920>>