Add VisitInfo.isRemote parameter.

upstream-sync
mcarare 2 years ago committed by mergify[bot]
parent 95270a03d0
commit de6e2e763e

@ -66,7 +66,8 @@ class BookmarksUseCaseTest {
title = "firefox",
visitTime = 2,
visitType = VisitType.LINK,
previewImageUrl = "http://firefox.com/image1"
previewImageUrl = "http://firefox.com/image1",
isRemote = false
)
val bookmarkNode = BookmarkNode(
BookmarkNodeType.ITEM,

@ -38,21 +38,24 @@ class PagedHistoryProviderTest {
title = "mozilla",
visitTime = 5,
visitType = VisitType.LINK,
previewImageUrl = null
previewImageUrl = null,
isRemote = false
)
val visitInfo2 = VisitInfo(
url = "http://www.firefox.com",
title = "firefox",
visitTime = 2,
visitType = VisitType.LINK,
previewImageUrl = null
previewImageUrl = null,
isRemote = false
)
val visitInfo3 = VisitInfo(
url = "http://www.wikipedia.com",
title = "wikipedia",
visitTime = 1,
visitType = VisitType.LINK,
previewImageUrl = null
previewImageUrl = null,
isRemote = false
)
val historyMetadataKey1 = HistoryMetadataKey("http://www.mozilla.com", "mozilla", null)
val historyEntry1 = HistoryMetadata(
@ -156,7 +159,8 @@ class PagedHistoryProviderTest {
title = "mozilla",
visitTime = 25000,
visitType = VisitType.LINK,
previewImageUrl = null
previewImageUrl = null,
isRemote = false
)
val historyMetadataKey1 = HistoryMetadataKey("http://www.mozilla.com", "mozilla", null)
@ -228,7 +232,8 @@ class PagedHistoryProviderTest {
title = "mozilla",
visitTime = 10000,
visitType = VisitType.LINK,
previewImageUrl = null
previewImageUrl = null,
isRemote = false
)
val historyMetadataKey1 = HistoryMetadataKey("http://www.mozilla.com", "mozilla", null)
@ -299,28 +304,32 @@ class PagedHistoryProviderTest {
title = "mozilla",
visitTime = 5,
visitType = VisitType.LINK,
previewImageUrl = null
previewImageUrl = null,
isRemote = false
)
val visitInfo2 = VisitInfo(
url = "http://www.firefox.com",
title = "firefox",
visitTime = 2,
visitType = VisitType.LINK,
previewImageUrl = null
previewImageUrl = null,
isRemote = false
)
val visitInfo3 = VisitInfo(
url = "http://www.google.com/link?url=http://www.firefox.com",
title = "",
visitTime = 1,
visitType = VisitType.REDIRECT_TEMPORARY,
previewImageUrl = null
previewImageUrl = null,
isRemote = false
)
val visitInfo4 = VisitInfo(
url = "http://mozilla.com",
title = "",
visitTime = 1,
visitType = VisitType.REDIRECT_PERMANENT,
previewImageUrl = null
previewImageUrl = null,
isRemote = false
)
val historyMetadataKey1 = HistoryMetadataKey("http://www.mozilla.com", "mozilla", null)

Loading…
Cancel
Save