History log of /frameworks/support/design/tests/src/android/support/design/widget/CoordinatorSnackbarWithFabTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ae0f778788b739d75f704dd4726c22017e30799e 04-Apr-2016 Chris Banes <chrisbanes@google.com> Fix FAB + Snackbar stacking with hidden FAB

When a FAB is hidden, and then shown while a Snackbar
is displayed, the FAB is not translated to support
the automatic stacking. This CL fixes this.

BUG: 27992373
Change-Id: I7366f725df0e239e42a9478da1c6ae3e7841ff48
/frameworks/support/design/tests/src/android/support/design/widget/CoordinatorSnackbarWithFabTest.java
37847549af8a990fec26accc45b771141ff9ddb5 18-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Additional tests for configuring Behavior in CoordinatorLayout.

In addition to configuring Behavior via XML attribute, test
configuring behavior via annotation on custom view class and via
LayoutParams.setBehavior API

Change-Id: I94d01a9d4a738a75f87d97ed516162b8f58033fc
/frameworks/support/design/tests/src/android/support/design/widget/CoordinatorSnackbarWithFabTest.java
3a8340d4a090bc8ab7ad3a774fb6d999e7384301 16-Feb-2016 Kirill Grouchnikov <kirillg@google.com> More predictable Snackbar tests.

Use Espresso's IdlingResources to wait until Snackbar's sliding
animation has been completed and the callback has been notified
in show() / dismiss().

Change-Id: I4ef3a8dc2241223423cfefe31130db339cd46b22
/frameworks/support/design/tests/src/android/support/design/widget/CoordinatorSnackbarWithFabTest.java
5ee7b3de4f2bbecd3eb7e346809250d9ca806a9e 13-Feb-2016 Kirill Grouchnikov <kirillg@google.com> First pass for testing anchoring of views in CoordinatorLayout.

One test checks that snackbar shown in coordinator layout with
a FAB pushes the FAB up as a built-in behavior. The second test
checks that snackbar showin in coordinator layout results in
custom view's behavior (registed in XML as class name) to be invoked.

The setup is dynamic, allowing using multiple "content" layouts in
the same activity so that we don't need to have multiple Activity
classes cluttering the package.

This CL also has a proposed way to "wait" until Snackbar has been
fully shown with custom callback and Espresso's idling resources.

Change-Id: Idf0ab8cdc7e2454bbcddb36c94d832d921c56da6
/frameworks/support/design/tests/src/android/support/design/widget/CoordinatorSnackbarWithFabTest.java