HomeSort by relevance Sort by last modified time
    Searched refs:mockRunnable (Results 1 - 3 of 3) sorted by null

  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
RunUtilTest.java 100 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock(
102 EasyMock.expect(mockRunnable.run()).andReturn(Boolean.TRUE);
103 EasyMock.replay(mockRunnable);
105 mRunUtil.runTimed(SHORT_TIMEOUT_MS, mockRunnable, true));
112 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock(
114 EasyMock.expect(mockRunnable.run()).andReturn(Boolean.FALSE);
115 EasyMock.replay(mockRunnable);
117 mRunUtil.runTimed(SHORT_TIMEOUT_MS, mockRunnable, true));
124 IRunUtil.IRunnableResult mockRunnable = EasyMock.createStrictMock(
126 EasyMock.expect(mockRunnable.run()).andThrow(new RuntimeException())
    [all...]
RunUtilFuncTest.java 51 MyRunnable mockRunnable = new MyRunnable() {
63 mockRunnable, true));
64 assertTrue(mockRunnable.mCanceled);
73 IRunUtil.IRunnableResult mockRunnable = new IRunUtil.IRunnableResult() {
87 mockRunnable));
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
IconTest.java 126 Runnable mockRunnable = mock(Runnable.class);
129 mockRunnable)));
133 verify(mockRunnable, times(1)).run();

Completed in 199 milliseconds