Home
last modified time | relevance | path

Searched refs:shadows (Results 1 – 25 of 2153) sorted by relevance

12345678910>>...87

/external/robolectric/sandbox/src/test/java/org/robolectric/
DShadowWranglerIntegrationTest.java36 …@SandboxConfig(shadows = {ShadowForAClassWithDefaultConstructor_HavingNoConstructorDelegate.class})
44 @SandboxConfig(shadows = { ShadowFoo.class })
51 @SandboxConfig(shadows = {ShadowFoo.class})
62 @SandboxConfig(shadows = {ShadowFoo.class})
69 @SandboxConfig(shadows = {WithEquals.class})
77 @SandboxConfig(shadows = {WithEquals.class})
84 @SandboxConfig(shadows = {WithToString.class})
91 @SandboxConfig(shadows = {ShadowFoo.class})
98 @SandboxConfig(shadows = {ShadowFoo.class, ShadowTextFoo.class})
116 @SandboxConfig(shadows = ShadowThrowInShadowMethod.class)
[all …]
DShadowingTest.java28 @SandboxConfig(shadows = {ShadowAccountManagerForTests.class})
58 @SandboxConfig(shadows = {ShadowClassWithProtectedMethod.class})
80 @SandboxConfig(shadows = {ShadowPaintForTests.class})
131 @SandboxConfig(shadows = {Pony.ShadowPony.class})
142 @SandboxConfig(shadows = {Pony.ShadowPony.class})
166 @SandboxConfig(shadows = ShadowOfClassWithSomeConstructors.class)
194 @SandboxConfig(shadows = {ShadowApiImplementedClass.class})
219 @SandboxConfig(shadows = {ShadowNonInstrumentedClass.class})
/external/robolectric/annotations/src/main/java/org/robolectric/annotation/
DConfig.java154 Class<?>[] shadows() default {}; // DEFAULT_SHADOWS in shadows() method
183 private final Class<?>[] shadows; field in Config.Implementation
301 Class<?>[] shadows, in Implementation() argument
314 this.shadows = shadows; in Implementation()
373 public Class<?>[] shadows() { in shadows() method in Config.Implementation
374 return shadows; in shadows()
418 + Arrays.toString(shadows) in toString()
439 protected Class<?>[] shadows = new Class[0]; field in Config.Builder
456 shadows = config.shadows(); in Builder()
507 public Builder setShadows(Class<?>... shadows) { in setShadows() argument
[all …]
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/
DConfig.java150 Class<?>[] shadows() default {}; // DEFAULT_SHADOWS in shadows() method
179 private final Class<?>[] shadows; field in Config.Implementation
280 Class<?>[] shadows, in Implementation() argument
292 this.shadows = shadows; in Implementation()
346 public Class<?>[] shadows() { in shadows() method in Config.Implementation
347 return shadows; in shadows()
375 protected Class<?>[] shadows = new Class[0]; field in Config.Builder
392 shadows = config.shadows(); in Builder()
438 public Builder setShadows(Class<?>[] shadows) { in setShadows() argument
439 this.shadows = shadows; in setShadows()
[all …]
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
DShadowWranglerIntegrationTest.java37 …@SandboxConfig(shadows = {ShadowForAClassWithDefaultConstructor_HavingNoConstructorDelegate.class})
45 @SandboxConfig(shadows = { ShadowFoo.class })
52 @SandboxConfig(shadows = {ShadowFoo.class})
63 @SandboxConfig(shadows = {ShadowFoo.class})
70 @SandboxConfig(shadows = {WithEquals.class})
78 @SandboxConfig(shadows = {WithEquals.class})
85 @SandboxConfig(shadows = {WithToString.class})
92 @SandboxConfig(shadows = {ShadowFoo.class})
99 @SandboxConfig(shadows = {ShadowFoo.class, ShadowTextFoo.class})
117 @SandboxConfig(shadows = ShadowThrowInShadowMethod.class)
[all …]
DShadowingTest.java28 @SandboxConfig(shadows = {ShadowAccountManagerForTests.class})
58 @SandboxConfig(shadows = {ShadowClassWithProtectedMethod.class})
80 @SandboxConfig(shadows = {ShadowPaintForTests.class})
131 @SandboxConfig(shadows = {Pony.ShadowPony.class})
142 @SandboxConfig(shadows = {Pony.ShadowPony.class})
166 @SandboxConfig(shadows = ShadowOfClassWithSomeConstructors.class)
194 @SandboxConfig(shadows = {ShadowApiImplementedClass.class})
219 @SandboxConfig(shadows = {ShadowNonInstrumentedClass.class})
/external/robolectric/shadows/playservices/
Dbuild.gradle9 shadows {
10 packageName "org.robolectric.shadows.gms"
15 compileOnly project(":shadows:framework")
19 compileOnly libs.bundles.play.services.base.for.shadows
24 testCompileOnly libs.bundles.play.services.base.for.shadows
30 testRuntimeOnly libs.bundles.play.services.base.for.shadows
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DNativeInput.java1 package org.robolectric.shadows;
4 import static org.robolectric.shadows.NativeAndroidInput.AINPUT_EVENT_TYPE_MOTION;
5 import static org.robolectric.shadows.NativeAndroidInput.AINPUT_SOURCE_CLASS_POINTER;
6 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_CANCEL;
7 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_DOWN;
8 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_MASK;
9 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_MOVE;
10 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_OUTSIDE;
11 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_POINTER_DOWN;
12 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_POINTER_INDEX_MASK;
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DNativeInput.java1 package org.robolectric.shadows;
4 import static org.robolectric.shadows.NativeAndroidInput.AINPUT_EVENT_TYPE_MOTION;
5 import static org.robolectric.shadows.NativeAndroidInput.AINPUT_SOURCE_CLASS_POINTER;
6 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_CANCEL;
7 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_DOWN;
8 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_MASK;
9 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_MOVE;
10 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_OUTSIDE;
11 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_POINTER_DOWN;
12 import static org.robolectric.shadows.NativeAndroidInput.AMOTION_EVENT_ACTION_POINTER_INDEX_MASK;
[all …]
/external/robolectric-shadows/processor/src/test/resources/org/robolectric/
DRobolectric_HiddenClasses.java8 import org.robolectric.annotation.processing.shadows.ShadowDummy;
9 import org.robolectric.annotation.processing.shadows.ShadowOuterDummy2;
10 import org.robolectric.annotation.processing.shadows.ShadowOuterDummy2.ShadowInnerPackage;
11 import org.robolectric.annotation.processing.shadows.ShadowOuterDummy2.ShadowInnerProtected;
12 import org.robolectric.annotation.processing.shadows.ShadowPrivate;
DRobolectric_InnerClassCollision.java10 import org.robolectric.annotation.processing.shadows.ShadowDummy;
11 import org.robolectric.annotation.processing.shadows.ShadowOuterDummy;
12 import org.robolectric.annotation.processing.shadows.ShadowUniqueDummy;
13 import org.robolectric.annotation.processing.shadows.ShadowUniqueDummy.ShadowUniqueInnerDummy;
/external/robolectric/
Dsettings.gradle15 include ":shadows:framework"
16 include ":shadows:httpclient"
17 include ":shadows:multidex"
18 include ":shadows:playservices"
19 include ":shadows:versioning"
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DConfigMergerTest.java20 import org.robolectric.shadows.ShadowView;
21 import org.robolectric.shadows.ShadowViewGroup;
22 import org.robolectric.shadows.testing.TestApplication;
427 Class<?>[] shadows,
437 assertThat(config.shadows()).asList().containsAtLeastElementsIn(shadows).inOrder();
448 shadows = Test1.class,
470 shadows = Test2.class,
496 shadows = Test1.class,
532 shadows = Test5.class,
543 shadows = Test6.class,
DInvokeDynamicTest.java19 @Config(shadows = {DoNothingShadow.class})
26 @Config(shadows = {RealShadow.class})
44 @Config(shadows = {RealShadow1.class})
52 @Config(shadows = {RealShadow2.class})
/external/robolectric/processor/src/test/resources/org/robolectric/
DRobolectric_HiddenClasses.java11 import org.robolectric.annotation.processing.shadows.ShadowDummy;
12 import org.robolectric.annotation.processing.shadows.ShadowOuterDummy2;
13 import org.robolectric.annotation.processing.shadows.ShadowOuterDummy2.ShadowInnerPackage;
14 import org.robolectric.annotation.processing.shadows.ShadowOuterDummy2.ShadowInnerProtected;
15 import org.robolectric.annotation.processing.shadows.ShadowPrivate;
DRobolectric_InnerClassCollision.java13 import org.robolectric.annotation.processing.shadows.ShadowDummy;
14 import org.robolectric.annotation.processing.shadows.ShadowOuterDummy;
15 import org.robolectric.annotation.processing.shadows.ShadowUniqueDummy;
16 import org.robolectric.annotation.processing.shadows.ShadowUniqueDummy.ShadowUniqueInnerDummy;
/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/ProjectSettings/
DQualitySettings.asset12 shadows: 0
40 shadows: 0
68 shadows: 1
96 shadows: 2
124 shadows: 2
152 shadows: 2
/external/robolectric/robolectric/src/test/java/org/robolectric/plugins/
DHierarchicalConfigurationStrategyTest.java26 import org.robolectric.shadows.ShadowView;
27 import org.robolectric.shadows.ShadowViewGroup;
28 import org.robolectric.shadows.testing.TestApplication;
531 Class<?>[] shadows, in assertConfig() argument
541 assertThat(config.shadows()).asList().containsAtLeastElementsIn(shadows).inOrder(); in assertConfig()
554 shadows = Test1.class,
576 shadows = Test2.class,
602 shadows = Test1.class,
638 shadows = Test1B.class,
649 shadows = Test1C.class,
DSQLiteModeConfigurerClassTest.java15 import org.robolectric.shadows.ShadowCursorWindow;
16 import org.robolectric.shadows.ShadowLegacyCursorWindow;
17 import org.robolectric.shadows.ShadowNativeCursorWindow;
57 @Config(shadows = MyShadowCursorWindow.class)
/external/robolectric/robolectric/src/main/java/org/robolectric/android/internal/
DAndroidTestEnvironment.java72 import org.robolectric.shadows.ClassNameResolver;
73 import org.robolectric.shadows.LegacyManifestParser;
74 import org.robolectric.shadows.ShadowActivityThread;
75 import org.robolectric.shadows.ShadowActivityThread._ActivityThread_;
76 import org.robolectric.shadows.ShadowActivityThread._AppBindData_;
77 import org.robolectric.shadows.ShadowApplication;
78 import org.robolectric.shadows.ShadowAssetManager;
79 import org.robolectric.shadows.ShadowContextImpl._ContextImpl_;
80 import org.robolectric.shadows.ShadowInstrumentation;
81 import org.robolectric.shadows.ShadowInstrumentation._Instrumentation_;
[all …]
/external/robolectric-shadows/src/main/resources/META-INF/services/
Dorg.robolectric.internal.ShadowProvider4 org.robolectric.shadows.httpclient.Shadows
5 org.robolectric.shadows.multidex.Shadows
6 org.robolectric.shadows.support.v4.Shadows
/external/robolectric/shadows/multidex/
Dbuild.gradle9 shadows {
10 packageName "org.robolectric.shadows.multidex"
15 compileOnly project(":shadows:framework")
/external/robolectric/robolectric/
Dbuild.gradle23 // We need to have shadows-framework.jar on the runtime system classpath so ServiceLoader
24 // can find its META-INF/services/org.robolectric.shadows.ShadowAdapter.
25 api project(":shadows:framework")
62 "org.robolectric:shadows-framework:${apiCompatVersion}@jar",
71 project(":shadows:framework"),
/external/robolectric/buildSrc/src/main/groovy/
DShadowsPlugin.groovy13 project.extensions.create("shadows", ShadowsPluginExtension)
33 …lerArgs.add("-Aorg.robolectric.annotation.processing.shadowPackage=${project.shadows.packageName}")
34 …lerArgs.add("-Aorg.robolectric.annotation.processing.sdkCheckMode=${project.shadows.sdkCheckMode}")
43 def shadowPackageNameDir = project.shadows.packageName.replaceAll(/\./, '/')
48 def shadowPackageNameDir = project.shadows.packageName.replaceAll(/\./, '/')
/external/robolectric/robolectric/src/test/java/org/robolectric/
DInvokeDynamicTest.java19 @Config(shadows = {DoNothingShadow.class})
26 @Config(shadows = {RealShadow.class})
44 @Config(shadows = {RealShadow1.class})
52 @Config(shadows = {RealShadow2.class})

12345678910>>...87