HomeSort by relevance Sort by last modified time
    Searched full:spy (Results 26 - 50 of 151) sorted by null

12 3 4 5 6 7

  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
WrapContentBasicTest.java 39 import static org.mockito.Mockito.spy;
62 mRecyclerView = spy(rv);
63 mLayoutManager = spy(new WrapContentLayoutManager());
66 mAdapter = spy(new WrapAdapter());
  /frameworks/base/core/tests/utiltests/src/com/android/internal/util/
WakeupMessageTest.java 35 import org.mockito.Spy;
52 // Make a spy so that we can verify calls to it
53 @Spy MessageCapturingHandler mHandler = new MessageCapturingHandler();
  /packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
ConversationInputManagerTest.java 41 import org.mockito.Spy;
45 @Spy protected ImeUtil spyImeUtil;
62 spyImeUtil = Mockito.spy(new ImeUtil());
  /prebuilts/tools/common/m2/repository/org/gebish/geb-spock/0.9.3/
geb-spock-0.9.3.jar 
  /external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DfpMath.java 347 Dfp[] spy = new Dfp[2]; local
348 spy[0] = pow(a.getTwo(), p2); // use spy[0] temporarily as a divisor
349 spx[0] = spx[0].divide(spy[0]);
350 spx[1] = spx[1].divide(spy[0]);
352 spy[0] = a.newInstance("1.33333"); // Use spy[0] for comparison
353 while (spx[0].add(spx[1]).greaterThan(spy[0])) {
364 spy = splitMult(a.getField().getLn2Split(), spx);
366 spz[0] = spz[0].add(spy[0])
    [all...]
  /external/mockito/src/org/mockito/stubbing/
OngoingStubbing.java 137 * See also javadoc {@link Mockito#spy(Object)} to find out more about partial mocks.
138 * <b>Mockito.spy() is a recommended way of creating partial mocks.</b>
139 * The reason is it guarantees real methods are called against correctly constructed object because you're responsible for constructing the object passed to spy() method.
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
BaseBasicsTestCase.java 33 import static org.mockito.Mockito.spy;
123 // Create a spy of one of our test listener and set it on our content
125 = spy(new TestOnApplyWindowInsetsListener());
  /external/mockito/src/org/mockito/
Mock.java 56 * @see Spy
MockitoAnnotations.java 56 * Read also about other annotations &#064;{@link Spy}, &#064;{@link Captor}, &#064;{@link InjectMocks}
85 * &#064;{@link org.mockito.Mock}, &#064;{@link Spy}, &#064;{@link Captor}, &#064;{@link InjectMocks}
  /packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
CellBroadcastTest.java 34 import static org.mockito.Mockito.spy;
  /packages/apps/TV/tests/unit/src/com/android/tv/util/
TestUtils.java 35 // Note that mockito doesn't support mock/spy on final object.
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
ContactsAsyncHelperTest.java 38 import static org.mockito.Mockito.spy;
63 private ImageLoadListenerImpl mListener = spy(new ImageLoadListenerImpl());
ComponentContextFixture.java 80 import static org.mockito.Mockito.spy;
397 // We then create a spy on the application context allowing standard Mockito-style
401 private final Context mApplicationContextSpy = spy(mApplicationContext);
403 private final AudioManager mAudioManager = spy(new FakeAudioManager(mContext));
InCallServiceFixture.java 135 private IInCallService.Stub mInCallServiceSpy = Mockito.spy(mInCallServiceFake);
  /frameworks/support/design/tests/src/android/support/design/widget/
CoordinatorLayoutTest.java 29 import static org.mockito.Mockito.spy;
233 spy(new CoordinatorLayoutUtils.DependentBehavior(viewA));
273 spy(new CoordinatorLayoutUtils.DependentBehavior(viewA));
  /prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcomponents-client/4.2.6/
httpcomponents-client-4.2.6.pom 84 <id>spy</id>
85 <name>Spy Repository</name>
122 <groupId>spy</groupId>
  /external/opencv3/modules/cudaimgproc/src/
mssegmentation.cpp 259 Vec2s* spy = spmap.ptr<Vec2s>(y); local
264 sp1 = spy[x];
271 sp2[0] = spy[x + 1];
284 sp1 = spy[x + 1];
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
ContextFixture.java 81 import static org.mockito.Mockito.spy;
465 private final Context mContext = spy(new FakeContext());
467 // We then create a spy on the application context allowing standard Mockito-style
483 private final ContentProvider mContentProvider = spy(new FakeContentProvider());
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
BrowseFragmentTest.java 92 Presenter.ViewHolderTask itemTask = Mockito.spy(
BrowseSupportFragmentTest.java 94 Presenter.ViewHolderTask itemTask = Mockito.spy(
  /cts/tests/app/src/android/app/cts/
AlertDialog_BuilderCursorTest.java 68 * private) so that Mockito can "spy" on it.
212 spy(new MultiChoiceClickListener(checkedTracker));
  /cts/tests/camera/src/android/hardware/camera2/cts/helpers/
CameraSessionUtils.java 144 return spy(new CaptureCallback());
151 return spy(new SessionListener());
  /packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/
MessageParserTest.java 43 import static org.mockito.Mockito.spy;
99 mMessageParser = new MessageParser(mUtils = spy(new Utils()));
  /cts/tests/tests/widget/src/android/widget/cts/
HorizontalScrollViewTest.java 40 import static org.mockito.Mockito.spy;
337 MyView child = spy(new MyView(mActivity));
349 MyView child = spy(new MyView(mActivity));
362 MyView child = spy(new MyView(mActivity));
375 MyView child = spy(new MyView(mActivity));
389 MyView child = spy(new MyView(mActivity));
    [all...]
ScrollViewTest.java 20 import static org.mockito.Mockito.spy;
359 MyView child = spy(new MyView(mActivity));
371 MyView child = spy(new MyView(mActivity));
384 MyView child = spy(new MyView(mActivity));
397 MyView child = spy(new MyView(mActivity));
411 MyView child = spy(new MyView(mActivity));
    [all...]

Completed in 3012 milliseconds

12 3 4 5 6 7