History log of /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
084d588b645d53c1110ff24b82433b5a331cc6d3 18-Jan-2018 James Lemieux <jplemieux@google.com> Merge robolectric/master up to commit 2e97d70

Test: make -j56 Run_all_robolectric_tests
Change-Id: I0158d74ad9ce9e412d396993e0bfbd50ecd412c2
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
3165e86d1dc1afb4fbe05ce60189713732108a88 01-Dec-2017 James Lemieux <jplemieux@google.com> Compile and execute the Robolectric test suite with make

Bug: 69981104
Test: make Run_all_robolectric_tests

Change-Id: I8fa88c4c20f815c2f51f24995b3410a37fe8f108
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
d739e961fe9d456c35b9968d70e2513a4043f9f8 13-Dec-2017 Brett Chabot <brettchabot@google.com> Add support for released API 27/8.1.0
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
0af8d85a1912876a3a8500c77088e6dc1c3a103a 27-Oct-2017 Brett Chabot <brettchabot@google.com> Add android-all combined jar for 8.1
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
5a7944f45c90d5230675e759aace09e5a6889b79 23-Oct-2017 Brett Chabot <brettchabot@google.com> Build and consume android-all jars with both binary and raw resources.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
7f1cdbb32fc808430b9ebd10870972bae044cb39 26-Oct-2017 brettchabot <brettchabot@google.com> Add support for 8.1 beta
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
07e61e04ff795fb67174de36821945e7501c2ff6 07-Oct-2017 Christian Williams <christianw@google.com> Fix tons of errorprone warnings.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
3b2a87a64de09938e6219dc1428fb05f83743d18 22-Aug-2017 Brett Chabot <brettchabot@google.com> Add support for 8.0.0_r4
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
56cd36898fd3645686b9d80b3ac10f7760ad3490 02-Aug-2017 Brett Chabot <brettchabot@google.com> Update to support O developer preview 4
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
851f2a9519be23c73a9e2929128179b405e2e7a6 26-Jul-2017 Christian Williams <christianw@google.com> Optimize imports.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
879371277af60d57148eefb24fd046a6a30e4683 31-May-2017 christianw <christianw@google.com> Fixes to allow tests to run with bazel.

PiperOrigin-RevId: 157542075
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
26c1338f2e2501dfbf3748d7aa820499fa7cf722 31-May-2017 Christian Williams <christianw@google.com> Revert "[ShadowBluetoothDevice] Override the constructor for BluetoothDevice to allow object creation even when getService() throws an Exception."

Prematurely merged.

This reverts commit 44453584870682b5c5138d8456d6e868b25bdfd3.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
44453584870682b5c5138d8456d6e868b25bdfd3 30-May-2017 christianw <christianw@google.com> [ShadowBluetoothDevice] Override the constructor for BluetoothDevice to allow object creation even when getService() throws an Exception.

PiperOrigin-RevId: 157516792
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
50b894502c24482ea66cbe29a1767a2a1db84968 17-May-2017 Michael Hoisie <hoisie@gmail.com> Update support for the Android O developer preview (#3104)

An updated version of Android O developer preview has been released.
Update Robolectric to support this new version. The following items
changed:

* Implement additional methods in StubPackageManager
* Update`vibrate` methods in RoboVibrator
* Implement additional methods in RoboWebSettings
* Add shadow for Linux class
* Add shadow for LoadedApk#getSplitClassLoader(String)
* Set maxSdk=25 in ShadowPosix
* Update ShadowSensorManager compatibility
* Update Api26RuntimeAdapter compatibility
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
d2998e78acf209ddb445f80cd1c3707e48f61e55 18-Apr-2017 Jonathan Gerrish <jonathan@indiekid.org> Add support for setting Build.VERSION.CODENAME (#3031)

This is required since BuildCompat checks CODENAME for developer preview
versions of Android, e.g: BuildCompat.isAtLeastO()

Make test fragment classes public static as required with developer
preview version of support library
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
88e39bdfee1570fe9b3a275137a9f913449d9bbe 29-Mar-2017 Christian Williams <antixian666@gmail.com> Merge pull request #2998 from robolectric/use_jsr305

Replace Jetbrains NotNull + Nullable with JSR 305
68dc68433d8be4dd7eb7d8a9dda078ad37ce1d16 28-Mar-2017 Jonathan Gerrish <jonathan@indiekid.org> Replace Jetbrains NotNull + Nullable with JSR 305
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
a1a48067516f4968580859ac36093a782f66f558 28-Mar-2017 Jonathan Gerrish <jonathan@indiekid.org> Update android version to "o" to match git tag for the Android release.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
bfedccc970dc71003152f6ab3d593f4e770d11e6 21-Mar-2017 Jonathan Gerrish <jonathan@indiekid.org> Initial support for Android O runtime.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
55b758d027bd06c1586f342ea238d48105a14a18 23-Jan-2017 Jonathan Gerrish <jonathan@indiekid.rg> Remove Shadows core from the data loaded jar dependencies. Now there is a single shadow jar for all SDK versions it can be loaded from the system classpath.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
19beb28a9eee09bae81d5b42b3e0d781a727b404 28-Dec-2016 Christian Williams <christianw@google.com> Fix bug related to unsupported APIs.

Tests which specify an unsupported sdk (e.g `@Config(sdk=HONEYCOMB)`) should
report that there's a problem, but only if they're not marked `@Ignore`.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
104b292a58958d310fcb27472fd7e450b3d99946 16-Dec-2016 Christian Williams <christianw@google.com> Merge MultiApiRobolectricTestRunner into RobolectricTestRunner.

* RobolectricTestRunner will run tests on multiple SDKs if requested.
* Moved Config calculation and SDK selection to SdkPicker (need better name).
* `@Config(sdk=…)` and `@Config(minSdk=…,maxSdk=…)` are mutually exclusive at any
given level of configuration (e.g. per test method, class, or properties file),
and mutually overriding between levels.
* By default, tests still run against targetSdkLevel from the manifest.
* Support sdk=ALL_SDKS, TARGET_SDK, OLDEST_SDK, and NEWEST_SDK in annotations
and properties.
* SDKs older than the manifest's minSdkVersion or newer than its maxSdkVersion may
be specified.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
4c418cf24d3e5b7fa2bc39a7c000be627500ad6c 01-Dec-2016 Jonathan Gerrish <jonathan@indiekid.org> Add gradle configuration for API 25
Add SdkConfig for API 25
Prefer to use ReflectionHelpers.createNullProxy() rather than hand coded stubs of Framework classes as it is tollerant to framework API changes.
Use API 24 RuntimeAdapter for API 25
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
f7833779cfddea9bb9afb1b3bf6c84ae267a68bf 07-Dec-2016 Jonathan Gerrish <jonathan@indiekid.org> Bump API 23 from 6.0.0_r1 to 6.0.1_r3
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
b05a2d14b73e805a0c950145e50551208150103f 13-May-2016 Natalie Harris <natalieharris@google.com> Configuration for api 24.

Change-Id: I9d8f61229f914835dcf2b8d971f88008c88cbc64
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
cad6ffa29c8cc7bed02b7748e5cd3dfba028960c 14-Nov-2016 Christian Williams <christianw@google.com> Refactor AndroidSdk.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
d5191fc46f3997c3dedfea14680ec4f114124619 29-Sep-2016 Christian Williams <christianw@google.com> Use annotations instead of Velocity to specify different behavior for
different API levels.

Use Build.VERSION_CODE values instead of integers in @Implementation/@Implements and conditionals.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
c412861fc7e93a298acee38c3908aa6bb02e23f9 29-Sep-2016 Christian Williams <christianw@google.com> Support focused test runs from IDE.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
3ccf232bd7789a469a5e1f3683109513094d52d7 21-Jun-2016 Christian Williams <christianw@google.com> `gradle assemble testClasses` works.
Incremental velocity processing.
Hook up `-PandroidApi=xx` in gradle build.

Process `robolectric-version.properties` in gradle as in maven.

Get `org.robolectric.internal.ShadowProvider` into the proper `META-INF/services`.

`android-all` should be on compile classpath but not runtime.

Apply java plugin to all projects.

One shadow-core gradle subproject per SDK target.
Install to maven local repo.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
956cc8da10660de13871afc1edcdcc4bcfe5a21c 24-May-2016 César Puerta <cesar1000@users.noreply.github.com> Set Build.Version.RELEASE and Build.Version.INCREMENTAL (#2471)

This patch sets RELEASE and INCREMENTAL to non-null values when
running Robolectric. I chose an arbitrary value for INCREMENTAL,
and I'm setting release to a release number that matches the SDK,
using the release names in SdkConfig.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
d328c44ec5ef968e05e9cba9c10c06e0342e9844 10-Mar-2016 Jonathan Gerrish <jongerrish@google.com> Remove redundant dependencies. json and tagsoup classes now are included in the android-all jars.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
be1e3d847eaef34553909bf57ab7f5555d13e04c 11-Oct-2015 Erich Douglass <erich.douglass@gmail.com> Compile against API 23.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
b09519d6a8c5280838a9ff702994c49986221cf8 14-Sep-2015 Jonathan Gerrish <jongerrish@google.com> Update robolectric jar version to 1 (new jar was built including tzdata)
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
58c32d2ba90df7d1095abd721e6b221f6a0efe40 10-Sep-2015 Jonathan Gerrish <jongerrish@google.com> Fixed failing test
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
ef76bd75ff3fe62962a3c7a5f1e399474f85eeed 10-Sep-2015 Jonathan Gerrish <jongerrish@google.com> Build Robolectric core against API 22.
Implement missing methods from stubs.
Add SdkConfig for API 22.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
8a12e37a6b403ef1fe7d64fa814a1f9a6d755a5a 21-May-2015 Jonathan Gerrish <jongerrish@google.com> Added static method to allow for adding custom android builds.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
5203ed6cfc95a78289aeed2eb3fe2f489547e0bc 05-May-2015 Paul Blessing <paulblessing@gmail.com> Use a unique name for the version properties file.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
518865869b69280d4a8dce1a218e3644f0a75f4c 05-May-2015 Alexander Blom <alexanderblom@spotify.com> Close files after reading
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
82916ca1c8db835ed87e120e1d2084df03a59940 05-May-2015 Erich Douglass <erich.douglass@gmail.com> Create version.properties during the build process, so it is not
hard-coded inside of SdkVersion. Load the version from this file
when SdkVersion is created.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
ca356347a11f3ca76301248dc5fcc73133a83cb5 14-Apr-2015 Jonathan Gerrish <jongerrish@google.com> Initial version of a test runner that will run Robolectric tests on multiple API versions.

Based on a ParameterizedTestRunner, these test runners shard at the test runner level, so
one TestRunner is created for each API level. We will be able to apply class level @Config
emulateSdk filtering here, but not method level, e.g: if a method has emulateSdk on it then
it will still exist for each TestRunner, but maybe it can be considered ignored?

The alternaive it to do it at the method level and override runChild() and for each API
version then call RobolectricTestRunner.methodBlock()

Comments appreciated.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
43732661e977e35c80cd4198715e3bf5cc311fb5 30-Mar-2015 Erich Douglass <erich.douglass@gmail.com> Bump version to 3.0-SNAPSHOT.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
2592bf513da568c6fa3cf64dc4ce287106c75998 30-Mar-2015 Erich Douglass <erich.douglass@gmail.com> Bump version to 3.0-rc2.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
752abbdb9cb2d08c63f4ed2bf6f82cbede37c9dc 11-Mar-2015 Erich Douglass <erich.douglass@gmail.com> Incriment KitKat and Lollipop version number.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
875738a803eebc8d1c0606222aa53dd6c66d7620 07-Feb-2015 Jonathan Gerrish <jongerrish@google.com> Remove ICU4J from SdkConfig, there is no need to load this jar through the instrumenting classloader.
This can be provided like a regular dependency which allows applications that use ICU4J themselves to
avoid version skew by Robolectric specifying a specific version.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
c7ccebbe97ad53fd5a80cb8f98372de3d84395cf 28-Jan-2015 Jonathan Gerrish <jongerrish@google.com> Include icu4j in the list of dependencies to load.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java
1874abe40afe1bda2b3ffc1bce0e444cbce667f2 18-Dec-2014 Erich Douglass <erich.douglass@gmail.com> Move internal classes into org.robolectric.internal package.
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/SdkConfig.java