mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
[fenix] Add VisitInfo.isRemote parameter.
This commit is contained in:
parent
9c283081df
commit
d7cce03106
@ -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…
Reference in New Issue
Block a user