diff options
author | Maurice Lam <yukl@google.com> | 2017-12-06 12:55:23 -0800 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2017-12-06 20:03:01 -0800 |
commit | ba1332d1b4dd525a2ef313246482708cb2016052 (patch) | |
tree | 91b258e0a4efeaf259405b0960d2eff6d21e5b0a /library/test/robotest/src/com/android/setupwizardlib/template/ScrollViewScrollHandlingDelegateTest.java | |
parent | ac5ce544be357085d4c28475db7613d4da4a32c0 (diff) | |
download | setupwizard-ba1332d1b4dd525a2ef313246482708cb2016052.tar.gz |
Changes needed to upgrade to new gradle version
- 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
Diffstat (limited to 'library/test/robotest/src/com/android/setupwizardlib/template/ScrollViewScrollHandlingDelegateTest.java')
-rw-r--r-- | library/test/robotest/src/com/android/setupwizardlib/template/ScrollViewScrollHandlingDelegateTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/test/robotest/src/com/android/setupwizardlib/template/ScrollViewScrollHandlingDelegateTest.java b/library/test/robotest/src/com/android/setupwizardlib/template/ScrollViewScrollHandlingDelegateTest.java index f77e256..429445c 100644 --- a/library/test/robotest/src/com/android/setupwizardlib/template/ScrollViewScrollHandlingDelegateTest.java +++ b/library/test/robotest/src/com/android/setupwizardlib/template/ScrollViewScrollHandlingDelegateTest.java @@ -23,7 +23,6 @@ import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; import static org.robolectric.RuntimeEnvironment.application; -import com.android.setupwizardlib.BuildConfig; import com.android.setupwizardlib.robolectric.SuwLibRobolectricTestRunner; import com.android.setupwizardlib.view.BottomScrollView; import com.android.setupwizardlib.view.BottomScrollView.BottomScrollListener; @@ -36,7 +35,7 @@ import org.mockito.Mock; import org.mockito.MockitoAnnotations; import org.robolectric.annotation.Config; -@Config(constants = BuildConfig.class, sdk = { Config.OLDEST_SDK, Config.NEWEST_SDK }) +@Config(sdk = { Config.OLDEST_SDK, Config.NEWEST_SDK }) @RunWith(SuwLibRobolectricTestRunner.class) public class ScrollViewScrollHandlingDelegateTest { |