Searched refs:otherUserDoc (Results 1 – 3 of 3) sorted by relevance
166 final DocumentInfo otherUserDoc = createDocInfo("authority.a", "doc.1", "text/plain"); in testGetTreeDocumentUri_otherUser_shouldHaveDifferentUri() local167 otherUserDoc.userId = TestProvidersAccess.OtherUser.USER_ID; in testGetTreeDocumentUri_otherUser_shouldHaveDifferentUri()170 assertThat(otherUserDoc.getTreeDocumentUri()).isNotEqualTo(doc.getTreeDocumentUri()); in testGetTreeDocumentUri_otherUser_shouldHaveDifferentUri()178 final DocumentInfo otherUserDoc = createDocInfo("authority.a", "doc.1", "text/plain"); in testGetTreeDocumentUri_otherUser_sameHostAndPath() local179 otherUserDoc.userId = TestProvidersAccess.OtherUser.USER_ID; in testGetTreeDocumentUri_otherUser_sameHostAndPath()182 assertThat(otherUserDoc.getTreeDocumentUri().getHost()) in testGetTreeDocumentUri_otherUser_sameHostAndPath()184 assertThat(otherUserDoc.getTreeDocumentUri().getPath()) in testGetTreeDocumentUri_otherUser_sameHostAndPath()193 final DocumentInfo otherUserDoc = createDocInfo("authority.a", "doc.1", "text/plain"); in testGetTreeDocumentUri_otherUser_userInfo() local194 otherUserDoc.userId = TestProvidersAccess.OtherUser.USER_ID; in testGetTreeDocumentUri_otherUser_userInfo()197 assertThat(otherUserDoc.getTreeDocumentUri().getUserInfo()) in testGetTreeDocumentUri_otherUser_userInfo()[all …]
217 final DocumentInfo otherUserDoc = mEnv.model.createFile(SEARCH_STRING + "_otherUser.png"); in testSearchResult_includeDirectory_excludedOtherUsers() local218 otherUserDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDirectory_excludedOtherUsers()220 .setNextChildDocumentsReturns(otherUserDoc); in testSearchResult_includeDirectory_excludedOtherUsers()
646 DocumentInfo otherUserDoc = mEnv.model.createDocumentForUser("a.png", in testPreviewItem_onOtherUser() local650 mHandler.onDocumentOpened(otherUserDoc, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem_onOtherUser()