History log of /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/model/DocumentInfoTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
30551a257ca39f716a1d83c5cfd64d9c20efa6ad 16-Feb-2016 Steve McKay <smckay@google.com> Guard against NPE in equals checks.

Update State test to cover different conditions separately.
Update DirectoryInfo test to best practices.
Update RootInfo to follow DirectoryInfo equals pattern.
Also, allow null cursors from Model...since they happen...I seen it mahself.

Bug: 27118725
Change-Id: Id0a0be053b91c887a745bfca5416e64f0edba995
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/model/DocumentInfoTest.java
d3afdeebeb9dcfbb5f24e4afac988e2e96de26de 20-Nov-2015 Steve McKay <smckay@google.com> Don't copy a directory into itself...doesn't go well.

Minimally deform CopyService such that we can listen
to the completion of operations in the test.
Add test coverage.
Add equals and hashcode to DocumentInfo...so we can compare
the heck out of 'em. + a test.
WIP: Expose (@hide style) DocumentsProvider.isChildDocument via
DocumentsContract. Use that to check for recusive copies.

Bug: 25794511

Change-Id: I05bb329eb10b43540c6806d634e5b96a753e8178
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/model/DocumentInfoTest.java