OSDN Git Service

Fix flaky testLoadsHomebyDefault.
authorTomasz Mikolajewski <mtomasz@google.com>
Thu, 4 Feb 2016 02:50:45 +0000 (11:50 +0900)
committerTomasz Mikolajewski <mtomasz@google.com>
Thu, 4 Feb 2016 02:50:45 +0000 (11:50 +0900)
commit1c0b2326b89b011ef16d9b6654f758b0b28eaea6
tree5b4f63725458d2a6a31a7979d40b3c959f90a793
parent4cf5a49e545ec67271452ce1215de86d28fc2087
Fix flaky testLoadsHomebyDefault.

The test was resuming a previously opened activity, so naturally the
redirect to Home didn't happen.

This CL fixes the issue by closing the activity in TearDown().

Change-Id: I43e78a83c2b53c52745bc7eef515a8f759559e46
packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java