HomeSort by relevance Sort by last modified time
    Searched defs:mockito (Results 1 - 25 of 514) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mockito/src/org/mockito/
Captor.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito;
10 * Allows shorthand {@link org.mockito.ArgumentCaptor} creation on fields.
Incubating.java 2 * Copyright (c) 2007 Mockito contributors
6 package org.mockito;
19 * The only reason we would want to change it is to provide better support for using and extending Mockito.
InjectMocks.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito;
22 * Mockito will try to inject mocks only either by constructor injection,
24 * If any of the following strategy fail, then Mockito <strong>won't report failure</strong>;
36 * annotated fields with the matching properties, otherwise Mockito might get confused and injection won't happen.</p>
43 * annotated fields with the matching fields, otherwise Mockito might get confused and injection won't happen.</p>
79 * <u>Mockito cannot instantiate inner classes, local classes, abstract classes and of course interfaces.</u>
83 * visibility, Mockito will see them through reflection.
142 * {@link org.mockito.runners.MockitoJUnitRunner}.
148 * @see org.mockito.runners.MockitoJUnitRunner
    [all...]
MockitoDebugger.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito;
ReturnValues.java 2 * Copyright (c) 2007 Mockito contributors
6 package org.mockito;
8 import org.mockito.invocation.InvocationOnMock;
9 import org.mockito.stubbing.Answer;
20 * Answer interface has been in Mockito for a while and it has the same responsibility as ReturnValues.
25 * Can be used in {@link Mockito#mock(Class, ReturnValues)}
Spy.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito;
22 * //Instance for spying is created by mockito via reflection (only default constructors supported):
35 * Foo spyOnFoo = Mockito.spy(new Foo("argument"));
36 * Bar spyOnFoo = Mockito.spy(new Bar());
40 * <strong>The field annotated with &#064;Spy can be initialized by Mockito if a zero argument constructor
41 * can be found in the type (even private). <u>But Mockito cannot instantiate inner classes, local classes,
45 * Alternatively, if you don't provide the instance Mockito will try to find zero argument constructor (even private)
47 * <u>But Mockito cannot instantiate inner classes, local classes, abstract classes and interfaces.</u></strong>
49 * For example this class can be instantiated by Mockito :
    [all...]
InOrder.java 2 * Copyright (c) 2007 Mockito contributors
6 package org.mockito;
8 import org.mockito.verification.VerificationMode;
20 * As of Mockito 1.8.4 you can verifyNoMoreInvocations() in order-sensitive way. Read more: {@link InOrder#verifyNoMoreInteractions()}
23 * See examples in javadoc for {@link Mockito} class
39 * See examples in javadoc for {@link Mockito} class
57 * See examples in javadoc for {@link Mockito} class
69 * Different from {@link Mockito#verifyNoMoreInteractions(Object...)} because the order of verification matters.
86 * Mockito.verifyNoMoreInteractions(mock);
MockingDetails.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito;
  /external/mockito/src/org/mockito/exceptions/
Pluralizer.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.exceptions;
10 * If you need it for extending Mockito please let us know. You can still use {@link org.mockito.internal.reporting.Pluralizer}.
13 public class Pluralizer extends org.mockito.internal.reporting.Pluralizer {}
Discrepancy.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.exceptions;
10 * If you need it for extending Mockito please let us know. You can still use {@link org.mockito.internal.reporting.Discrepancy}.
13 public class Discrepancy extends org.mockito.internal.reporting.Discrepancy {
  /external/mockito/src/org/mockito/runners/
MockitoJUnit44Runner.java 2 * Copyright (c) 2007 Mockito contributors
6 package org.mockito.runners;
8 import org.mockito.Mock;
9 import org.mockito.Mockito;
10 import org.mockito.MockitoAnnotations;
24 * validates framework usage after each test method. See javadoc for {@link Mockito#validateMockitoUsage()}.
28 * Explicitly validating framework usage is also optional because it is triggered automatically by Mockito every time you use the framework.
29 * See javadoc for {@link Mockito#validateMockitoUsage()}.
  /external/mockito/cglib-and-asm/src/org/mockito/asm/util/
ASMifierFieldVisitor.java 30 package org.mockito.asm.util;
32 import org.mockito.asm.FieldVisitor;
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
Callback.java 16 package org.mockito.cglib.proxy;
  /external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
ClassEmitterTransformer.java 16 package org.mockito.cglib.transform;
18 import org.mockito.cglib.core.ClassEmitter;
  /external/mockito/src/org/mockito/exceptions/misusing/
CannotVerifyStubOnlyMock.java 2 * Copyright (c) 2007 Mockito contributors
6 package org.mockito.exceptions.misusing;
8 import org.mockito.exceptions.base.MockitoException;
  /external/mockito/src/org/mockito/internal/listeners/
MockingProgressListener.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.listeners;
  /external/mockito/src/org/mockito/internal/matchers/
VarargMatcher.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.matchers;
  /external/mockito/src/org/mockito/internal/progress/
IOngoingStubbing.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.progress;
  /external/mockito/src/org/mockito/internal/util/
MockitoMock.java 1 package org.mockito.internal.util;
4 * Mark internally a Mockito mock.
MockitoSpy.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.internal.util;
8 * Mark internally a Mockito spy.
  /external/mockito/src/org/mockito/invocation/
Location.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.invocation;
7 import org.mockito.Incubating;
MockHandler.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.invocation;
7 import org.mockito.Incubating;
12 * Mockito handler of an invocation on a mock. This is a core part of the API, the heart of Mockito.
13 * See also the {@link org.mockito.plugins.MockMaker}.
16 * Mockito will provide you with the implementation via other {@link org.mockito.plugins.MockMaker} methods.
23 * The default implementation provided by Mockito handles invocations by recording
StubInfo.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.invocation;
7 import org.mockito.Incubating;
  /external/mockito/src/org/mockito/listeners/
InvocationListener.java 2 * Copyright (c) 2007 Mockito contributors
5 package org.mockito.listeners;
7 import org.mockito.MockSettings;
20 * Exceptions caused by this invocationListener will raise a {@link org.mockito.exceptions.base.MockitoException}.
  /external/mockito/src/org/mockito/plugins/
StackTraceCleanerProvider.java 1 package org.mockito.plugins;
3 import org.mockito.Incubating;
4 import org.mockito.exceptions.stacktrace.StackTraceCleaner;
8 * You can replace Mockito's default StackTraceCleaner.
9 * You can also 'enhance' Mockito's default behavior
16 * See the default implementation: {@link org.mockito.internal.exceptions.stacktrace.DefaultStackTraceCleanerProvider}
24 * @param defaultCleaner - Mockito's default StackTraceCleaner

Completed in 529 milliseconds

1 2 3 4 5 6 7 8 91011>>