History log of /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ModelBackedDocumentsAdapterTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b47b4b560c46336a0e6ba3e86db3f2d76b4b2bc3 16-May-2017 Garfield Tan <xutan@google.com> Add a type column to show user-friendly type info.

Also add a special map from mime type to user friendly strings.

Test: Auto tests & smoke tests.
Bug: 34844878
Change-Id: I773f2bae524b7dffc6eeda1a1e92330b5ad64473
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ModelBackedDocumentsAdapterTest.java
800300826ebb50f5a26393bc966c27fa26e9a16f 02-May-2017 Ben Lin <linben@google.com> Proper refresh when Authentication finishes with Activity.RESULT_OK.

Test: Updated DemoProvider, tested manually and added new unit tests.
Bug: 37876119
Change-Id: I0a8f08ff06e536bf83fb4fcf5e91d765dfe5ccbb
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ModelBackedDocumentsAdapterTest.java
e967033315ed64bca8c89d601d187fd12754f1fb 07-Mar-2017 Garfield Tan <xutan@google.com> Lift loader to activity level.

Also fix a bug that leaves DocumentsUI in a weird state if it fails to
obtain root document.

Change-Id: Ibb67bfd0114f45f41c0000078ca56767b5a4542b
Tests: Manual tests and auto tests.
Bug: 35934082
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ModelBackedDocumentsAdapterTest.java
98f8c5f502e049a6b85439d773949cdbaa0f78ae 03-Mar-2017 Steve McKay <smckay@google.com> Add Feature Flag support.

Bug: 35923154
Change-Id: I34dd956e8309c779e7a3f35eadc3d84132b970ce
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ModelBackedDocumentsAdapterTest.java
7b38f3465c3779384a17e84cc04609d9d68b56f4 14-Dec-2016 Ben Lin <linben@google.com> [multi part] Moving Empty/Error/No Results view and Info/Error bar into
DocsHolders.

This still currently only has one of info/error as opposed to all of
them. I will split them up and include them both if Cursor has them on a
follow up.

Also:
- Removed all things regarding "hidden model ids"
- Added more files & and a folder that throws Exception in DemoProvider

Bug: 33399053
Bug: 32972298
Change-Id: I612fc3990a3e2b6fe0e779de4de24bd65ab47933
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ModelBackedDocumentsAdapterTest.java
eed2f4ec78227b5e173ff667a5517637a91b9a30 04-Oct-2016 Steve McKay <smckay@google.com> Move document-opening logic into ActionHandlers.

Add tests for:
viewing
previewing
managing (apks and partial files)
opening containers
showing chooser

Fix issue where partial files weren't being managed correctly.

Change-Id: I1d62bcd0fd5262d6354f0ddc2327d3f0d22c1f3b
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ModelBackedDocumentsAdapterTest.java
def4868b1e9ef8a5718c6bc2e165026cbe52b5da 03-Oct-2016 Steve McKay <smckay@google.com> Test location init with doc URI.

Make a more complete test environment.
Move GetRootDocumentTask to roots package.

Change-Id: Icb8f4c42c38c17aa97ec428ef9d46d76d2286fa7
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ModelBackedDocumentsAdapterTest.java
990f76ea83a249cd8fc3c797e40626b94cd7945c 16-Sep-2016 Steve McKay <smckay@google.com> Lifetime of FragmentTuners scoped to activity.

Add support for resetting with new state from directory fragment.
Update Model to use an EventListener.
Eliminate documentPick handling from base activity and directory fragment...
Plum document picking directly from UserInputHandler to FragmentTuner instances.
Add new EventHandler internface (returns void, more semantic meaning that Consumer<T>).
Replace ModelUpdateListener interface with EventHandler.
Make DocumentAdapters return EventHandler<Model.Update> instead of
implementing ModelUpdateListener.
Move Activity specific FragmentTuner impls along side respective activities.

Change-Id: Ia6a5ab00ede685f7418773ed865d8c51e4125330
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ModelBackedDocumentsAdapterTest.java
ae84a18a1fa5dc020fd25a963cb0955c8c31bfef 16-Sep-2016 Steve McKay <smckay@google.com> Move functional tests into separate test target.

Also separate out support code from unittests.

Change-Id: I81490950373e170c857b23468da8d97d6aaf50d9
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ModelBackedDocumentsAdapterTest.java