History log of /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
53f109b39e2b62fa3730ce1c43344df2c733251c 05-Apr-2016 Steve McKay <smckay@google.com> Massage code to better support Files overlay.

Also, allow "productivity_mode" config to be enabled via intent extra
as a developement aide.

Bug: 28006206
Change-Id: I7be8d96a0e924f9ce8023347e051d28d69a0eec9
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
b4129d785c1a14d0499fa45291b14ea356d59ee7 17-Mar-2016 Aga Wronska <agawronska@google.com> Add config flag to hide home directory ("Documents") from the roots list.
Make home root hidden by default.

Change-Id: Ia9f97f3cad7ab102d65e01d6e0dd9bc39ab72f21
Fixed: 27683725
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
7e166888ac7e7e6fa004cd68edf0b4081c645554 14-Mar-2016 Aga Wronska <agawronska@google.com> Suppress tests failing because or permission inconsistency

Bug: 27653930
Change-Id: I92581b8d048af1a207ca8cf56dea40f17f38f42d
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
3e63e7de2378055857c329e80862a11d947852c4 11-Mar-2016 Steve McKay <smckay@google.com> Run all downloads through trampoline.

This guarantees the retry/delete support in the downloads
trampoline can do its thing.
Allow APKs not in downloads to go directly to pakcage
manager via VIEW intent.
Add test coverage for retry dialog.

Bug: 27539337

Change-Id: I75c5db8915e24a7648c7990136d39ed86d407637
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
6ce903d7b777ff5b668122a65d10da1d7d04373d 10-Mar-2016 Steve McKay <smckay@google.com> Delete downloads activity.

Delete "MANAGE_ROOT" activity.
Add intent filter for "BROWSE_DOWNLOADS".
Open by default on Downloads directory.

Bug: 27563427
Change-Id: I1f85dc17a0bc94b439a272847e4ab3bb347ead23
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
18d3e853cce9003d8ed13f7bb7d95bdface74fa2 08-Mar-2016 Steve McKay <smckay@google.com> Suppress tests that are consistently failing...

on APCT.

Change-Id: I3a3a718b8211a5188130aa698322934bf62d81d1
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
7a3b811122b6db0ac103630c2b7acde1d9f4c128 23-Feb-2016 Steve McKay <smckay@google.com> Delete confirmation and notification improvements.

Bug: 27344527, 27347647, 27136182
Change-Id: Ia33f05b449a0bc30704e116287e18094e30382e0
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
b9eeee154339ba3a69bb9f822bd49b8094f51960 24-Feb-2016 Aga Wronska <agawronska@google.com> Launch the activity with the test root opened for tests
to reduce some flakiness and save time used on opening test root over
and over again.

Bug: 27271765
Change-Id: I6fa191ed8e0c7e8e071e4dd17c62aab5db1e23a5
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
568b3b366c64c5bd05fee084f184538b159f5a93 23-Feb-2016 Aga Wronska <agawronska@google.com> Add logic for selecting filename in RenameDocumentFragment - different selection for directory.
Prevent test from creating directories in Documents folder.

Change-Id: Ib656f8d69cba27b201b5fe67bcb11fa1dec04953
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
b9a20d10c948cf111b70981e08233ea97323fe6c 19-Feb-2016 Steve McKay <smckay@google.com> Move directory and roots support to own ui bots.

Also...sorry, snowball, don't automatically open folders
that are created in Files app. Only do this in DocumentsActivity.

Change-Id: I271655fd3566496eced4aaa7a44d5110233150a0
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
a6bbeab1d3c94b24b16d6d86401dcbd85806af72 18-Feb-2016 Steve McKay <smckay@google.com> Improvements to Copy/Move flow.

- Always open drawer for copy/move operations.
- Set title to match operation.
- Update button to say "move" for move operations.
- Other minor fixes.

Also fix "Home" tests broken by ag/867110

Bug: 26506479
Change-Id: I3ccb4ddc72be0a21b91744bcb610c1ca490ac30c
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
2036dad877336bf4d81202c334b1f2c81462bd9f 10-Feb-2016 Ben Kwa <kenobi@google.com> Introduce ChromeOS-style keyboard navigation.

- Turn the DirectoryFragment (DF) and the RootsFragment (RF) into
top-level views, and allow switching between them via the tab key.

- Disallow arrow-key navigation from switching the user between the
DF and RF.

- When nothing is explicitly focused, make navigation keys focus the
DF. This makes it so that if a user opens DocumentsUI and just starts
pressing arrow keys, they'll navigate in the directory listing.

- When restoring focus on the DF and RF, remember the last thing that
was focused, and restore focus on that thing.

BUG=25195767
BUG=25121367

Change-Id: I00e20cbdbe9edfe269fb356440a93ef5d67c5298
(cherry picked from commit 1c9f9222e56482682461013b703590c5c9471018)
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
65d9a51afa792226478600a205b5c764714e226c 08-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Fix flakiness of testFilesList_LiveUpdate.

Change-Id: I87618d5640e2e17de3188554d561abc5f3a3152a
(cherry picked from commit 1008c2d4878abde1890560ef48eec229a4253445)
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
9146ac608c1108703a1e320be3da920f883bf88c 09-Feb-2016 Steve McKay <smckay@google.com> Don't apply fancy back logic when drawer is not present.

Add test coverage. Booya!

Bug: 27078649
Change-Id: Id2ce53009ee212b3af8d143091859d30e2bc76b1
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
c7b832202a8f1f91e378e255e61c4aa703f53394 04-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Migrate all tests to ActivityTest.

ActivityInstrumentationTestCase2 takes care of starting and closing
the activity, which prevents flakyness.

Change-Id: I2d3908f6605a67a3c2d11e18a9c4799443828df9
(cherry picked from commit e366886c7d91b62fe1478a057fc4c0a104d12b02)
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
24586893ba40a2d55c6e6cdab63399837c7cb12e 04-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Migrate *ActivityUiTest to use ActivityInstrumentationTestCase2.

Change-Id: I24f2846c551e0123ad87b3db8a1f5c7dbf628c0c
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
1c0b2326b89b011ef16d9b6654f758b0b28eaea6 04-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> 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
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
b005e14e46dadf5373e2f6f11144605eae673463 02-Feb-2016 Tomasz Mikolajewski <mtomasz@google.com> Fix flaky testFilesList_LiveUpdate().

Change-Id: I76fe7977c47f7b225ec42d64484942ce059b91fd
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
0950df196fc5a85910e18510eb8dea2a9f233312 26-Jan-2016 Aga Wronska <agawronska@google.com> Add tests for rename documents feature
- Add helper class for the Ui tests. It creates basic test environment.
It is intermediate layer between UiBot/DocumentsProviderHelper and UiTest classes.
- Refactor SearchView tests
- Add renaming support in the test DocumentsProvider
- Add renaming tests

Bug=26799799

Change-Id: I2849913a1addabff0087bb06b80f36de7cb144f3
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
b67bfbf975a453a67300f24fac6e4687a676a378 09-Dec-2015 Steve McKay <smckay@google.com> Load Home directory by default.

Don't update toolbar before first root load.
This was causing Recents > Home flicker due
to Recents being the default root returned from getCurrentRoot.
Revert change causing regression in selection highlight.

Bug: 26093756
Change-Id: I2c555aa38d68e9bf7962b1407f9fc75c800216a6
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
c6a4cd8c0f35a7e9d126ab09924f8f1f8422182a 18-Nov-2015 Steve McKay <smckay@google.com> Add "Home" directory support.

Update FilesActivityUiTests to verify Home is present
and that clicking a root sets the title accordingly.
Guard addition of WRITABLE flag with a volume test.

Bug: 25147243
Change-Id: Ic20372737cae08a82af0aade0c0dbbd8c22d5f34
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
53c774b5727a1e352540a8b07836da7e6745a87c 12-Nov-2015 Steve McKay <smckay@google.com> Add test size annotations to docsui tests.

Required by APCT.

Bug: 25152838
Change-Id: I18629036a7b290719d8faf326117e25b52f0ae07
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
0c3c695469715288568a514842b157c05df430a0 27-Oct-2015 Steve McKay <smckay@google.com> Use StubProvider for functional tests.

Add a "UiBot" class for driving the UI from tests.
Add a "DocumentsProviderHelper" class for convenient test doc setup.
Update FilesActivityUiTest to use "TargetContext" which is
necessary in order to perform ContentProvider
operations.
Fix a bug where CopyTest relied on implicit order of roots.
Don't include guava in tests...since it breaks functional tests (incompatible class def).
Add test coverage for:
- basic roots list.
- basic files list.
- Live updates to files list.
- basic delete operations.

Bug: 24988170
Change-Id: I2ec01a5e1a474314cb33efb6e92df0f61dfcc1da
NOTE: This is currently broken at the point I try to init files in the stub roots.
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java
01792570bab8b2b5c1d448e8ec6df9d9a92dbf7a 23-Oct-2015 Steve McKay <smckay@google.com> Add functional tests for FilesActivity.

Adds a bare bones test provider with dummy data.
This is basically just the bones of a test at this point.
Has just one simple test...switch list/grid modes.
Will add more tests (like manipulating the dummy data) in future CLs.

Bug: 24988170
Change-Id: Icc25718a416bc804874835c74a6d7862a52c9861
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/FilesActivityUiTest.java