C D E G H I K M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- compareTo(Sdk) - Method in class org.robolectric.pluginapi.Sdk
-
Instances of
Sdkare ordered by the API level they implement. - ConfigurationStrategy - Interface in org.robolectric.pluginapi.config
-
Strategy for configuring individual tests.
- ConfigurationStrategy.Configuration - Interface in org.robolectric.pluginapi.config
-
Heterogeneous typesafe collection of configuration objects managed by their
Configurer. - Configurer<T> - Interface in org.robolectric.pluginapi.config
-
Provides configuration data for tests.
D
- defaultConfig() - Method in interface org.robolectric.pluginapi.config.Configurer
-
Returns the default configuration for tests that do not specify a configuration of this type.
- DependencyJar - Class in org.robolectric.internal.dependency
- DependencyJar(String, String, String) - Constructor for class org.robolectric.internal.dependency.DependencyJar
- DependencyJar(String, String, String, String) - Constructor for class org.robolectric.internal.dependency.DependencyJar
- DependencyResolver - Interface in org.robolectric.internal.dependency
-
Provides mapping between a Maven coordinate (e.g.
E
- ensureLoaded() - Method in interface org.robolectric.pluginapi.NativeRuntimeLoader
- equals(Object) - Method in class org.robolectric.pluginapi.perf.Metric
- equals(Object) - Method in class org.robolectric.pluginapi.Sdk
- ExtensionPoint - Annotation Type in org.robolectric.pluginapi
-
Marks a component of Robolectric that may be replaced with a custom implementation.
G
- get() - Method in interface org.robolectric.pluginapi.config.GlobalConfigProvider
- get(Class<T>) - Method in interface org.robolectric.pluginapi.config.ConfigurationStrategy.Configuration
-
Returns the configuration instance of the specified class for the current test.
- get(Class<T>) - Method in class org.robolectric.pluginapi.perf.Metadata
- getAndroidCodeName() - Method in class org.robolectric.pluginapi.Sdk
-
Returns the Android codename for this SDK.
- getAndroidVersion() - Method in class org.robolectric.pluginapi.Sdk
-
Returns the Android Version for this SDK.
- getApiLevel() - Method in class org.robolectric.pluginapi.Sdk
-
Returns the Android API level for this SDK.
- getArtifactId() - Method in class org.robolectric.internal.dependency.DependencyJar
- getClassifier() - Method in class org.robolectric.internal.dependency.DependencyJar
- getConfig(Class<?>, Method) - Method in interface org.robolectric.pluginapi.config.ConfigurationStrategy
-
Determine the configuration for the given test class and method.
- getConfigClass() - Method in interface org.robolectric.pluginapi.config.Configurer
-
Retrieve the class type for this Configurer
- getConfigFor(Class<?>) - Method in interface org.robolectric.pluginapi.config.Configurer
-
Returns the configuration for the given class.
- getConfigFor(Method) - Method in interface org.robolectric.pluginapi.config.Configurer
-
Returns the configuration for the given method.
- getConfigFor(String) - Method in interface org.robolectric.pluginapi.config.Configurer
-
Returns the configuration for a given package.
- getCount() - Method in class org.robolectric.pluginapi.perf.Metric
- getElapsedNs() - Method in class org.robolectric.pluginapi.perf.Metric
- getGroupId() - Method in class org.robolectric.internal.dependency.DependencyJar
- getJarPath() - Method in class org.robolectric.pluginapi.Sdk
-
Returns the path to jar for this SDK.
- getLocalArtifactUrl(DependencyJar) - Method in interface org.robolectric.internal.dependency.DependencyResolver
- getLocalArtifactUrls(DependencyJar) - Method in interface org.robolectric.internal.dependency.DependencyResolver
-
Deprecated.Robolectric will never ask for a dependency composed of more than one artifact, so this method isn't necessary.
- getMaxNs() - Method in class org.robolectric.pluginapi.perf.Metric
- getMaxSdkVersion() - Method in interface org.robolectric.pluginapi.UsesSdk
-
Returns the maximum Android SDK version that this package expects to be runnable on, as specified in the manifest.
- getMinNs() - Method in class org.robolectric.pluginapi.perf.Metric
- getMinSdkVersion() - Method in interface org.robolectric.pluginapi.UsesSdk
-
Returns the minimum Android SDK version that this package expects to be runnable on, as specified in the manifest.
- getName() - Method in class org.robolectric.pluginapi.perf.Metric
- getSdks() - Method in interface org.robolectric.pluginapi.SdkProvider
-
Returns the set of SDKs available to run tests against.
- getShortName() - Method in class org.robolectric.internal.dependency.DependencyJar
- getTargetSdkVersion() - Method in interface org.robolectric.pluginapi.UsesSdk
-
Returns the Android SDK version that this package prefers to be run on, as specified in the manifest.
- getType() - Method in class org.robolectric.internal.dependency.DependencyJar
- getUnsupportedMessage() - Method in class org.robolectric.pluginapi.Sdk
-
Returns a human-readable message explaining why this SDK isn't supported.
- getVersion() - Method in class org.robolectric.internal.dependency.DependencyJar
- GlobalConfigProvider - Interface in org.robolectric.pluginapi.config
-
Provides the default config for a test.
H
- hashCode() - Method in class org.robolectric.pluginapi.perf.Metric
- hashCode() - Method in class org.robolectric.pluginapi.Sdk
I
- incrementCount() - Method in class org.robolectric.pluginapi.perf.Metric
- isKnown() - Method in class org.robolectric.pluginapi.Sdk
-
Determines if this SDK is known by its provider.
- isSuccess() - Method in class org.robolectric.pluginapi.perf.Metric
- isSupported() - Method in class org.robolectric.pluginapi.Sdk
-
Determines if this SDK is supported in the running Robolectric environment.
K
- keySet() - Method in interface org.robolectric.pluginapi.config.ConfigurationStrategy.Configuration
-
Returns the set of known configuration classes.
M
- map() - Method in interface org.robolectric.pluginapi.config.ConfigurationStrategy.Configuration
-
Returns the map of known configuration classes to configuration instances.
- merge(T, T) - Method in interface org.robolectric.pluginapi.config.Configurer
-
Merges two configurations.
- Metadata - Class in org.robolectric.pluginapi.perf
-
Metadata for perf stats collection.
- Metadata(Map<Class<?>, Object>) - Constructor for class org.robolectric.pluginapi.perf.Metadata
- Metric - Class in org.robolectric.pluginapi.perf
-
Metric for perf stats collection.
- Metric(String, boolean) - Constructor for class org.robolectric.pluginapi.perf.Metric
- Metric(String, int, int, boolean) - Constructor for class org.robolectric.pluginapi.perf.Metric
N
- NativeRuntimeLoader - Interface in org.robolectric.pluginapi
-
Loads the Robolectric native runtime.
O
- onSetupApplicationState() - Method in interface org.robolectric.pluginapi.TestEnvironmentLifecyclePlugin
-
Runs additional setup during TestEnvironment.before().
- org.robolectric.internal.dependency - package org.robolectric.internal.dependency
- org.robolectric.pluginapi - package org.robolectric.pluginapi
-
Extension points for customizing Robolectric.
- org.robolectric.pluginapi.config - package org.robolectric.pluginapi.config
- org.robolectric.pluginapi.perf - package org.robolectric.pluginapi.perf
P
- PerfStatsReporter - Interface in org.robolectric.pluginapi.perf
R
- record(long) - Method in class org.robolectric.pluginapi.perf.Metric
- report(Metadata, Collection<Metric>) - Method in interface org.robolectric.pluginapi.perf.PerfStatsReporter
-
Report performance stats.
S
- Sdk - Class in org.robolectric.pluginapi
-
Represents a unique build of the Android SDK.
- Sdk(int) - Constructor for class org.robolectric.pluginapi.Sdk
- SdkPicker - Interface in org.robolectric.pluginapi
- SdkProvider - Interface in org.robolectric.pluginapi
-
A provider of known instances of
Sdk. - selectSdks(ConfigurationStrategy.Configuration, UsesSdk) - Method in interface org.robolectric.pluginapi.SdkPicker
T
- TestEnvironmentLifecyclePlugin - Interface in org.robolectric.pluginapi
-
Plugin which allows behaviour extension in TestEnvironment.
- toString() - Method in class org.robolectric.internal.dependency.DependencyJar
- toString() - Method in class org.robolectric.pluginapi.perf.Metric
- toString() - Method in class org.robolectric.pluginapi.Sdk
U
- UsesSdk - Interface in org.robolectric.pluginapi
-
Represents the contents of a
uses-sdkelement in an Android manifest file.
V
- verifySupportedSdk(String) - Method in class org.robolectric.pluginapi.Sdk
-
Verify that the SDK is supported.
All Classes All Packages