Verified
Status Update
Comments
yb...@google.com <yb...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit c6ef3e2ebec135a8b0a1495fee98e2a70b454486
Author: Daniel Santiago Rivera <danysantiago@google.com>
Date: Mon Nov 12 11:42:26 2018
Support ListenableFuture<T> as return type for shortcut methods.
Created method binder providers and method binder for supporting
ListenableFuture as return types in DAO methods with @Insert, @Update
and @Delete.
Bug: 119418331
Test: ./gradlew :room:integration-tests:testapp:assembleAndroidTest
Change-Id: I1f1e36e6e7fad68b035df81587b3bee97f2c3d1d
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/GuavaListenableFutureDeleteOrUpdateMethodBinder.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/GuavaListenableFutureInsertMethodBinder.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureDeleteOrUpdateMethodBinderProvider.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureInsertMethodBinderProvider.kt
A room/compiler/src/test/data/common/input/GuavaRoom.java
A room/compiler/src/test/data/common/input/guava/ListenableFuture.java
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/guava/src/main/java/androidx/room/guava/GuavaRoom.java
M room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/UserDao.java
https://android-review.googlesource.com/823581
https://goto.google.com/android-sha1/c6ef3e2ebec135a8b0a1495fee98e2a70b454486
Branch: androidx-master-dev
commit c6ef3e2ebec135a8b0a1495fee98e2a70b454486
Author: Daniel Santiago Rivera <danysantiago@google.com>
Date: Mon Nov 12 11:42:26 2018
Support ListenableFuture<T> as return type for shortcut methods.
Created method binder providers and method binder for supporting
ListenableFuture as return types in DAO methods with @Insert, @Update
and @Delete.
Bug: 119418331
Test: ./gradlew :room:integration-tests:testapp:assembleAndroidTest
Change-Id: I1f1e36e6e7fad68b035df81587b3bee97f2c3d1d
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/GuavaListenableFutureDeleteOrUpdateMethodBinder.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/GuavaListenableFutureInsertMethodBinder.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureDeleteOrUpdateMethodBinderProvider.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureInsertMethodBinderProvider.kt
A room/compiler/src/test/data/common/input/GuavaRoom.java
A room/compiler/src/test/data/common/input/guava/ListenableFuture.java
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/guava/src/main/java/androidx/room/guava/GuavaRoom.java
M room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/UserDao.java
Description
Version used: 1.0.0-alpha1
Devices/Android versions reproduced on: n/a
The POM for android.arch.paging:common:1.0.0-alpha1 has:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>compile</scope>
</dependency>
That seems wrong. Are you sure that's not supposed to be <scope>test</scope>?