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()194 otherUserDoc.userId = TestProvidersAccess.OtherUser.USER_ID; in testGetTreeDocumentUri_otherUser_userInfo()197 assertThat(otherUserDoc.getTreeDocumentUri().getUserInfo()) in testGetTreeDocumentUri_otherUser_userInfo()201 assertThat(otherUserDoc.getTreeDocumentUri().getUserInfo()) in testGetTreeDocumentUri_otherUser_userInfo()[all …]
190 final DocumentInfo otherUserDoc = mEnv.model.createFile(SEARCH_STRING + "_otherUser.png"); in testSearchResult_includeDirectory_excludedOtherUsers() local191 otherUserDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDirectory_excludedOtherUsers()193 .setNextChildDocumentsReturns(otherUserDoc); in testSearchResult_includeDirectory_excludedOtherUsers()
613 DocumentInfo otherUserDoc = mEnv.model.createDocumentForUser("a.png", in testPreviewItem_onOtherUser() local617 mHandler.onDocumentOpened(otherUserDoc, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem_onOtherUser()