History log of /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.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/test/java/org/robolectric/TestRunnerSequenceTest.java
851f2a9519be23c73a9e2929128179b405e2e7a6 26-Jul-2017 Christian Williams <christianw@google.com> Optimize imports.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.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/test/java/org/robolectric/TestRunnerSequenceTest.java
68dc68433d8be4dd7eb7d8a9dda078ad37ce1d16 28-Mar-2017 Jonathan Gerrish <jonathan@indiekid.org> Replace Jetbrains NotNull + Nullable with JSR 305
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
6b22a728f68e128cbf6a1131084855e188a912a9 22-Feb-2017 Christian Williams <christianw@google.com> Fix SandboxClassLoader to obey parent-first contract.

Supports PowerMock and experimental Mockito mode which enables mocking final classes/methods.
Supports Package.getPackage().
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
bf70bd2e7ca4ddfe193bbf378e5cb6fad4896655 26-Jan-2017 Christian Williams <christianw@google.com> Matrix travis builds because memory.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
704d59a9e57b28939ba5c709cf4b50d72aa072e6 25-Jan-2017 Christian Williams <christianw@google.com> Class acquisition rules are simplified. The following packages are not acquired:
* `java.*`
* `sun.*`
* `org.robolectric.annotation.*`
* `org.robolectric.internal.*`
* `org.robolectric.util.*`
* `org.junit.*`
with the exception of `RobolectricInternals`, `InvokeDynamicSupport`, and `Shadow`.

Some classes and tests have been rearranged to conform.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
feff94bc310afb5b46109a1496d2a309e5fdb3a8 18-Jan-2017 Christian Williams <christianw@google.com> Move a bunch of classes to instrumentation module.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
38b2f8843fcf4c1144df788aa26375c1195b3e6c 18-Jan-2017 Christian Williams <christianw@google.com> Remove dependency from robolectric-utils to junit.

Remove Transcript, use List<String> instead.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
84ccf42258b33264ef6409544586f48beb0bdb46 17-Jan-2017 Christian Williams <christianw@google.com> Extract configuration from InstrumentationConfiguration.Builder.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
162f00dec1b04f5d8395d71c60f5dfa7f1baace8 08-Feb-2017 Christian Williams <christianw@google.com> Fix TestRunnerSequenceTest.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.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/test/java/org/robolectric/TestRunnerSequenceTest.java
b5491dcc647fd3bd9727a0d11e0bb40474703dc7 24-Jun-2016 Jonathan Gerrish <jonathan@indiekid.org> Cleanup create app resource loader (#2530)

* Make RobolectricTestRunner.getAppResourceLoader() provide the app ResourceLoader even for cases where there is a null AndroidManifest as the app ResourceLoader in this case will just be the system ResourceLoader with no app resources included. Simplfies the code path

* Make ResourceLoader an explicit constructor for DefaultPackageManager to make a firm contract rather than obtaining it through a static back door variable that has to be set before it can be accessed.

Remove automatic addition of org.robolectric.default package and have tests use the applications package instead.

* Make AndroidManifest non-null, i.e: always ensure a default one at least. Simplifies ParallelUniverse / RobolectricTestRunner etc.

For Gradle projects this is always true anyway, for Maven we need to modify the MavenManifestFactory to return a default version.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
b4c08d70a2f549cf344c81bb20c824d3cc31c298 13-Jun-2016 Vijay Nayar <madric@gmail.com> Add Detection for Maven/Gradle in RobolectricTestRunner to Replace RobolectricGradleTestRunner (#2494)

* Fixed nasty bug of ManifestFactory memoization causing test order to impact test results when the same ManifestIdentity (manifest file combined with libs, resourceDir, etc.) were used using different names, e.g. 'TestAndroidManifest.xml' and './TestAndroidManifest.xml'.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
26ec777d39da7265852d06c05dfa0684b79edc0f 24-Feb-2016 Jonathan Gerrish <jonathan@indiekid.org> Merge pull request #2308 from choesther/predrawlistener

Deleting ShadowViewTreeObserver as it reimplements what the real class does.
d6cef1bcc644c7152d0716b8d33eb25054894836 23-Dec-2015 David Sun <sunzheng.david@gmail.com> Support intrumentations in @Config
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
b4d324353c92496e8eb65792b17da695ff78b22f 07-Jun-2015 ML015922 <mark.lear@cerner.com> Add config packageName support to RobolectricTestRunner
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
4f0e73dbb8c702ebd4902fd563e742c94e5586b9 02-May-2015 Jonathan Gerrish <jongerrish@google.com> Some class renames as discussed in https://github.com/robolectric/robolectric/pull/1746
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
184e666e83647fc76a05491e8e61e7065335f4a6 30-Apr-2015 Jonathan Gerrish <jongerrish@google.com> Renamed isFromAndroidSdk to isInInstrumentedPackage for clarity
Merge InstrumentingClassLoaderTest and abstract parent class since there is only one InstrumentingClassloader implementation.
Remove two InstrumentingClassLoaderConfig subclasses by finding alternative means to configure for the tests #1 using the @Instrument annotation or mockito.
Removed one now unnecessary RobolectricTestRunner subclass.
Make class name translations and intercepted methods settable fields on InstrumentingClassloaderConfig.
Remove two futher subclasses of InstrumentingClassloaderConfig and an overriden method in one more.
Remove one more subclass of InstrumentingClassloaderConfig
Remove two more test anonymous subclasses of InstrumentingClassloaderConfig overriding shouldAquire() and provide an accessor for setting classes to exclude from aquisition by the classloader. I'm not sure exactly why the tests need to do this though.

Remove last subclass of InstrumentingClassloaderConfig. When mockito is added to the whitelist two tests fail due to mockito caching mocks and attempting to reuse them between classloaders (classes are unique per classloader). I'm not sure where they are getting loaded from though, but switching to real objects rather than mocks here fixes the problem. It would be good to understand the root cause but this is likely to be more common when we run tests against multiple api levels as each one has its own classloader. The easiest way to fix is to disable the mockito mock cache which can be done by providing an implementation of org.mockito.configuration.MockitoConfiguration on the classpath and overriding enableClassCache to false (yuck!).

Migrate setter methods to a builder to create an immutable object.

Make all usages of InstrumentingClassloaderConfig go through builder.

Clean up InstrumentingClassLoaderConfig

Consolidate two fields that were doing the same thing.

Clean up some more
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
053c88c974518cd51881830142ce3ffddf56575c 19-Jan-2015 Erich Douglass <erich.douglass@gmail.com> Rename Setup to InstrumentingClassLoaderConfig.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
1874abe40afe1bda2b3ffc1bce0e444cbce667f2 18-Dec-2014 Erich Douglass <erich.douglass@gmail.com> Move internal classes into org.robolectric.internal package.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
3b8b7229bea6a6639d97b3d6ba4e971e37341e9f 21-Nov-2014 Ryan Spore <ry4n1m3@gmail.com> Move shadows into robolectric-shadows module.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
6b00d4156e2e6bb2d262458a2650a109ddc76c76 19-Nov-2014 Erich Douglass <erich.douglass@gmail.com> Add asset directory configuration to Config annotation.

Fixes #1214.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
e20bf1d6276aedaa0f48bd5e10d6690d13e9d4e1 22-Oct-2014 Ryan Spore <pair+ryan@pivotallabs.com> Switch from fest-assert to assertj

fix xml indentation in pom
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java
7cb2faa35d4f3f158989b7bb72124996d22b9abb 26-Aug-2014 Fr Jeremy Krieg <fr.jeremy@stnectarios.org.au> Imported rap into the robolectric respository as submodule robolectric-processor.
Refactored to move core into robolectric submodule and robolectric-annotations as common, with robolectric-parent as the parent POM for all submodules.
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/TestRunnerSequenceTest.java