History log of /frameworks/support/customtabs/tests/src/android/support/customtabs/PostMessageTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6d20a527c6adad79f5fb48ec8bc02d738db1e1d2 11-Mar-2017 Aurimas Liutikas <aurimas@google.com> Create a testutils module to share common testing code.

First module to move there is PollingCheck.java.

Bug: 36139124
Test: ./gradlew assembleAndroidTest works
Change-Id: Ic2626b8cd79475fa79af39b8eefddba41a9ecb91
/frameworks/support/customtabs/tests/src/android/support/customtabs/PostMessageTest.java
46ecf802b827e0b515da29a9b4098abc8ed9d4db 15-Feb-2017 Yusuf Ozuysal <yusufo@google.com> Reorder test expectations and use AtomicBoolean in postMessageTest

This test had ordering issues between when a state was set and assigning
a non-null value to mSession. Also swapped with an AtomicBoolean since
the boolean is set on UI thread.

BUG=35325754
Test: android.support.customtabs.PostMessageTest

Change-Id: Iaa10d28b6f40060eddffc673fcb749036599d118
/frameworks/support/customtabs/tests/src/android/support/customtabs/PostMessageTest.java
914073c7cf933229a3f51ddeddb63bb9725a70be 30-Jan-2017 Yusuf Ozuysal <yusufo@google.com> Add postMessage APIs to customtabs support lib

Adds CustomTabsSession#requestPostMessageChannel,
CustomTabsSession#postMessage,
CustomTabsCallback#onMessageChannelCreated,
CustomTabsCallback#onPostMessage for sending an receiving postMessage
requests to the mainframe of the initial url.

Adds PostMessageService and PostMessageServiceConnection for handling
the browser->client callback lifecycle and message routing

BUG=32809427
Test: android.support.customtabs.PostMessageTest, android.support.customtabs.PostMessageConnectionTest

Change-Id: I3324a382b81fad97000d48389f4a0411e0b6f89e
/frameworks/support/customtabs/tests/src/android/support/customtabs/PostMessageTest.java