Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
android-components
Commits
29c14f8d
Commit
29c14f8d
authored
Jul 10, 2019
by
Thom Chiovoloni
Committed by
Grisha Kruglov
Jul 10, 2019
Browse files
Bump version of application-services libraries to 0.34.0
parent
fa8e3d6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
buildSrc/src/main/java/Dependencies.kt
View file @
29c14f8d
...
...
@@ -25,7 +25,7 @@ object Versions {
const
val
jna
=
"5.2.0"
const
val
disklrucache
=
"2.0.2"
const
val
mozilla_appservices
=
"0.3
1.2
"
const
val
mozilla_appservices
=
"0.3
4.0
"
const
val
servo
=
"0.0.1.20181017.aa95911"
const
val
material
=
"1.0.0"
...
...
components/browser/storage-sync/src/test/java/mozilla/components/browser/storage/sync/PlacesHistoryStorageTest.kt
View file @
29c14f8d
...
...
@@ -268,7 +268,7 @@ class PlacesHistoryStorageTest {
// Empty search.
assertEquals
(
4
,
history
.
getSuggestions
(
""
,
100
).
size
)
val
search2
=
history
.
getSuggestions
(
"Mozilla"
,
100
)
val
search2
=
history
.
getSuggestions
(
"Mozilla"
,
100
)
.
sortedByDescending
{
it
.
url
}
assertEquals
(
2
,
search2
.
size
)
assertEquals
(
"http://www.mozilla.org/"
,
search2
[
0
].
id
)
assertEquals
(
"http://www.mozilla.org/"
,
search2
[
0
].
url
)
...
...
@@ -277,15 +277,16 @@ class PlacesHistoryStorageTest {
assertEquals
(
"http://www.firefox.com/"
,
search2
[
1
].
url
)
assertEquals
(
"Mozilla Firefox"
,
search2
[
1
].
title
)
val
search3
=
history
.
getSuggestions
(
"Mo"
,
100
)
val
search3
=
history
.
getSuggestions
(
"Mo"
,
100
)
.
sortedByDescending
{
it
.
url
}
assertEquals
(
3
,
search3
.
size
)
assertEquals
(
"http://www.moscow.ru/"
,
search3
[
0
].
id
)
assertEquals
(
"http://www.moscow.ru/"
,
search3
[
0
].
url
)
assertEquals
(
"Moscow City"
,
search3
[
0
].
title
)
assertEquals
(
"http://www.mozilla.org/"
,
search3
[
1
].
id
)
assertEquals
(
"http://www.mozilla.org/"
,
search3
[
1
].
url
)
assertEquals
(
"Mozilla"
,
search3
[
1
].
title
)
assertEquals
(
"http://www.mozilla.org/"
,
search3
[
0
].
id
)
assertEquals
(
"http://www.mozilla.org/"
,
search3
[
0
].
url
)
assertEquals
(
"Mozilla"
,
search3
[
0
].
title
)
assertEquals
(
"http://www.moscow.ru/"
,
search3
[
1
].
id
)
assertEquals
(
"http://www.moscow.ru/"
,
search3
[
1
].
url
)
assertEquals
(
"Moscow City"
,
search3
[
1
].
title
)
assertEquals
(
"http://www.firefox.com/"
,
search3
[
2
].
id
)
assertEquals
(
"http://www.firefox.com/"
,
search3
[
2
].
url
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment