HomeSort by relevance Sort by last modified time
    Searched full:littlemock (Results 1 - 23 of 23) sorted by null

  /frameworks/base/tests/TtsTests/src/com/android/speech/tts/
TextToSpeechTests.java 25 import com.google.testing.littlemock.ArgumentCaptor;
26 import com.google.testing.littlemock.Behaviour;
27 import com.google.testing.littlemock.LittleMock;
43 IDelegate passThrough = LittleMock.mock(IDelegate.class);
67 IDelegate delegate = LittleMock.mock(IDelegate.class);
70 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onIsLanguageAvailable(
72 LittleMock.doReturn(TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE).when(delegate).onLoadLanguage(
78 LittleMock.verify(delegate, LittleMock.anyTimes()).onIsLanguageAvailable
    [all...]
  /external/littlemock/
README 1 This folder contains the littlemock library.
3 The latest version of littlemock can be found at this url:
4 http://code.google.com/p/littlemock
Android.mk 24 LOCAL_MODULE := littlemock
  /frameworks/base/core/tests/coretests/src/android/net/
SSLSessionCacheTest.java 22 import com.google.testing.littlemock.LittleMock;
42 final SSLClientSessionCache mock = LittleMock.mock(SSLClientSessionCache.class);
48 LittleMock.verify(mock).getSessionData(LittleMock.anyString(), LittleMock.anyInt());
53 LittleMock.verifyNoMoreInteractions(mock);
60 new SSLSessionCache(LittleMock.mock(SSLClientSessionCache.class)),
105 return LittleMock.mock(SSLSessionContext.class);
  /packages/apps/Camera2/tests/
Android.mk 9 LOCAL_STATIC_JAVA_LIBRARIES := littlemock dexmaker
  /packages/apps/Camera/tests/
Android.mk 9 LOCAL_STATIC_JAVA_LIBRARIES := littlemock dexmaker
  /packages/apps/Camera/tests/src/com/android/camera/activity/
CameraTestCase.java 37 import static com.google.testing.littlemock.LittleMock.mock;
38 import static com.google.testing.littlemock.LittleMock.doAnswer;
39 import static com.google.testing.littlemock.LittleMock.doReturn;
40 import static com.google.testing.littlemock.LittleMock.anyObject;
41 import com.google.testing.littlemock.AppDataDirGuesser;
42 import com.google.testing.littlemock.ArgumentCaptor
    [all...]
CameraActivityTest.java 26 import static com.google.testing.littlemock.LittleMock.doReturn;
  /packages/apps/Camera2/tests_camera/src/com/android/camera/activity/
CameraTestCase.java 37 import static com.google.testing.littlemock.LittleMock.mock;
38 import static com.google.testing.littlemock.LittleMock.doAnswer;
39 import static com.google.testing.littlemock.LittleMock.doReturn;
40 import static com.google.testing.littlemock.LittleMock.anyObject;
41 import com.google.testing.littlemock.AppDataDirGuesser;
42 import com.google.testing.littlemock.ArgumentCaptor
    [all...]
CameraActivityTest.java 25 import static com.google.testing.littlemock.LittleMock.doReturn;
  /external/littlemock/tests/com/google/testing/littlemock/
LittleMockTest.java 17 package com.google.testing.littlemock;
19 import static com.google.testing.littlemock.LittleMock.anyBoolean;
20 import static com.google.testing.littlemock.LittleMock.anyByte;
21 import static com.google.testing.littlemock.LittleMock.anyChar;
22 import static com.google.testing.littlemock.LittleMock.anyDouble;
23 import static com.google.testing.littlemock.LittleMock.anyFloat
    [all...]
AppDataDirGuesserTest.java 17 package com.google.testing.littlemock;
  /external/littlemock/src/com/google/testing/littlemock/
ArgumentCaptor.java 17 package com.google.testing.littlemock;
28 public interface ArgumentCaptor<T extends Object> extends LittleMock.ArgumentMatcher {
Captor.java 17 package com.google.testing.littlemock;
32 * <p>Then when the {@link LittleMock#initMocks(Object)} method is called (which should be
Mock.java 17 package com.google.testing.littlemock;
32 * <p>You just have to make sure that {@link LittleMock#initMocks(Object)} is called from
Behaviour.java 17 package com.google.testing.littlemock;
LittleMock.java 17 package com.google.testing.littlemock;
112 public class LittleMock {
277 public static <T> T anyObject() { return LittleMock.<T>addMatcher(new MatchAnything(), null); }
318 return LittleMock.<T>addMatcher(new ArgumentMatcher() {
403 return (T) LittleMock.<Integer>addMatcher(this, 0);
406 return (T) LittleMock.<Float>addMatcher(this, 0f);
409 return (T) LittleMock.<Double>addMatcher(this, 0.0);
412 return (T) LittleMock.<Boolean>addMatcher(this, false);
415 return (T) LittleMock.<Short>addMatcher(this, (short) 0);
418 return (T) LittleMock.<Character>addMatcher(this, '\u0000')
    [all...]
AppDataDirGuesser.java 17 package com.google.testing.littlemock;
  /frameworks/base/tests/TtsTests/
Android.mk 23 LOCAL_STATIC_JAVA_LIBRARIES := littlemock
  /frameworks/testing/support/tests/
.project 75 <name>littlemock-src</name>
77 <locationURI>ANDROID_TOP/external/littlemock/src</locationURI>
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
RequestFocusTest.java 19 import static com.google.testing.littlemock.LittleMock.inOrder;
20 import static com.google.testing.littlemock.LittleMock.mock;
34 import com.google.testing.littlemock.LittleMock.InOrder;
  /frameworks/base/core/tests/coretests/
Android.mk 26 LOCAL_STATIC_JAVA_LIBRARIES := core-tests-support android-common frameworks-core-util-lib mockwebserver guava littlemock mockito-target
  /external/chromium_org/android_webview/buildbot/
aosp_manifest.xml 158 <project name="platform/external/littlemock" path="external/littlemock" revision="328b01eada8965cd38feea884d4080c31e3763b0"/>
    [all...]

Completed in 619 milliseconds