Age | Commit message (Collapse) | Author |
|
This reverts commit 46216d0e61318e7af168e9e903ef8d943bb49b2e.
Reason for revert: Roll forward
- Added ag/3351790 to the topic
Change-Id: I64990e558d3f77165ab3fe89006a02225b712257
|
|
This reverts commit ba1332d1b4dd525a2ef313246482708cb2016052.
Reason for revert: Broke taimen builds in master
Change-Id: Iffffadbacae8c6c69907dcecc447f958cf6ce909
|
|
- Add ignore for various lint errors that is introduced in the lint
update
- Remove GLIF Pixel themes as they are unused and causing lint errors
- Add flavor dimension "compat" as it is now required
- Replace *Compile with *Implementation in the gradle files, as
needed by the newer Gradle version
- Use build tools 27.0.0 to avoid the Gradle warning
- Use new Robolectric configuration mechanism and removed our old
hack, per http://robolectric.org/getting-started/
Reference: https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html
Test: Existing tests pass
Bug: 70287447
Change-Id: I505476ae3695cd06349766c5e6280299f779f272
|
|
Change LinkSpan to also find OnClickListeners in wrapped contexts,
so even if the TextView is inflated with a ContextWrapper, it will
still propagate the click correctly.
Test: ./gradlew test
Change-Id: Iad000023545d2111b6e844da75f81574e9fe942f
|
|
In robolectric tests, use @Config(constants=BuildConfig.class), which
is the "gradle way" to configure Robolectric. Added the hacks that
are needed to make that happen in our setup, like
PatchedGradleManifestFactory and the custom build directory lookup.
Having this change allows Robolectric tests to run against merged
resources, which means different build variants will now resolve
resources correctly. Previously a test would fail in, say, resolving
@style/SuwThemeGlif.
Also migrated GlifDimensionTest to run on Robolectric.
Test: ./gradlew test
Change-Id: Ia7231f95818891a649678a0a6da0220a44031bf7
|
|
Since PartnerTest depends on resources, add BaseRobolectricTest class
to configure the manifest (and the SDK version).
In addition, to work around a Robolectric issue, add dependency on
Open GL API.
Test: ./gradlew test
Bug: 32975598
Change-Id: I41a8099197412ce6353c1920fb7b59d83fb7c9d5
|
|
Configure the build target and migrate LinkSpanTest to Robolectric.
Move existing instrumentation tests into test/instrumentation
Bug: 32975598
Test: ./gradlew test
Change-Id: I9bb39142c616a2c44fe38f48d92e89ab8ebda7ba
|