Skip to content

Commit 277e3cb

Browse files
committed
Merge branch 'release/5.29.0'
2 parents a428c90 + fcc420e commit 277e3cb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+954
-699
lines changed

Gemfile.lock

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ GEM
1313
highline (~> 1.7.2)
1414
declarative (0.0.10)
1515
declarative-option (0.1.0)
16+
digest-crc (0.4.1)
1617
domain_name (0.5.20180417)
1718
unf (>= 0.0.5, < 1.0.0)
1819
dotenv (2.5.0)
@@ -26,26 +27,27 @@ GEM
2627
faraday_middleware (0.12.2)
2728
faraday (>= 0.7.4, < 1.0)
2829
fastimage (2.1.4)
29-
fastlane (2.104.0)
30+
fastlane (2.127.1)
3031
CFPropertyList (>= 2.3, < 4.0.0)
3132
addressable (>= 2.3, < 3.0.0)
3233
babosa (>= 1.0.2, < 2.0.0)
33-
bundler (>= 1.12.0, < 2.0.0)
34+
bundler (>= 1.12.0, < 3.0.0)
3435
colored
3536
commander-fastlane (>= 4.4.6, < 5.0.0)
3637
dotenv (>= 2.1.1, < 3.0.0)
37-
emoji_regex (~> 0.1)
38+
emoji_regex (>= 0.1, < 2.0)
3839
excon (>= 0.45.0, < 1.0.0)
3940
faraday (~> 0.9)
4041
faraday-cookie_jar (~> 0.0.6)
4142
faraday_middleware (~> 0.9)
4243
fastimage (>= 2.1.0, < 3.0.0)
4344
gh_inspector (>= 1.1.2, < 2.0.0)
4445
google-api-client (>= 0.21.2, < 0.24.0)
46+
google-cloud-storage (>= 1.15.0, < 2.0.0)
4547
highline (>= 1.7.2, < 2.0.0)
4648
json (< 3.0.0)
47-
mini_magick (~> 4.5.1)
48-
multi_json
49+
jwt (~> 2.1.0)
50+
mini_magick (>= 4.9.4)
4951
multi_xml (~> 0.5)
5052
multipart-post (~> 2.0.0)
5153
plist (>= 3.1.0, < 4.0.0)
@@ -54,12 +56,12 @@ GEM
5456
security (= 0.1.3)
5557
simctl (~> 1.6.3)
5658
slack-notifier (>= 2.0.0, < 3.0.0)
57-
terminal-notifier (>= 1.6.2, < 2.0.0)
59+
terminal-notifier (>= 2.0.0, < 3.0.0)
5860
terminal-table (>= 1.4.5, < 2.0.0)
5961
tty-screen (>= 0.6.3, < 1.0.0)
6062
tty-spinner (>= 0.8.0, < 1.0.0)
6163
word_wrap (~> 1.0.0)
62-
xcodeproj (>= 1.6.0, < 2.0.0)
64+
xcodeproj (>= 1.8.1, < 2.0.0)
6365
xcpretty (~> 0.3.0)
6466
xcpretty-travis-formatter (>= 0.0.3)
6567
fastlane-plugin-property_file_read (1.0.1)
@@ -72,6 +74,15 @@ GEM
7274
representable (~> 3.0)
7375
retriable (>= 2.0, < 4.0)
7476
signet (~> 0.9)
77+
google-cloud-core (1.3.0)
78+
google-cloud-env (~> 1.0)
79+
google-cloud-env (1.0.5)
80+
faraday (~> 0.11)
81+
google-cloud-storage (1.16.0)
82+
digest-crc (~> 0.4)
83+
google-api-client (~> 0.23)
84+
google-cloud-core (~> 1.2)
85+
googleauth (>= 0.6.2, < 0.10.0)
7586
googleauth (0.6.6)
7687
faraday (~> 0.12)
7788
jwt (>= 1.4, < 3.0)
@@ -115,7 +126,7 @@ GEM
115126
CFPropertyList
116127
naturally
117128
slack-notifier (2.3.2)
118-
terminal-notifier (1.8.0)
129+
terminal-notifier (2.0.0)
119130
terminal-table (1.8.0)
120131
unicode-display_width (~> 1.1, >= 1.1.1)
121132
tty-cursor (0.6.0)
@@ -128,7 +139,7 @@ GEM
128139
unf_ext (0.0.7.5)
129140
unicode-display_width (1.4.0)
130141
word_wrap (1.0.0)
131-
xcodeproj (1.6.0)
142+
xcodeproj (1.8.2)
132143
CFPropertyList (>= 2.3.3, < 4.0)
133144
atomos (~> 0.1.3)
134145
claide (>= 1.0.2, < 2.0)
@@ -147,4 +158,4 @@ DEPENDENCIES
147158
fastlane-plugin-property_file_read
148159

149160
BUNDLED WITH
150-
1.16.4
161+
1.17.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Welcome to our android application. We are excited to engage the community in development, see [CONTRIBUTING.md](CONTRIBUTING.md).
44

55
## We are hiring!
6-
Are you a talented cross-platform mobile developer? We are looking for a Senior Cross-Platform or Android Engineer to help shape our mobile apps. We embrace diverse perspectives, and seek out passionate, self-motivated people, committed to our shared vision of raising the standard of trust online. Visit our [careers](https://duckduckgo.com/hiring/#open) page to find out more!
6+
Are you a talented cross-platform mobile developer? We are looking for a Senior Cross-Platform Engineer to help shape our mobile apps. We embrace diverse perspectives, and seek out passionate, self-motivated people, committed to our shared vision of raising the standard of trust online. Visit our [careers](https://duckduckgo.com/hiring/#open) page to find out more!
77

88
## Building the Project
99
We use git submodules and so when you are checking out the app, you'll need to ensure the submodules are initialized properly. You can use the `--recursive` flag when cloning the project to do this.

app/src/androidTest/java/com/duckduckgo/app/browser/BrowserChromeClientTest.kt

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -78,46 +78,17 @@ class BrowserChromeClientTest {
7878

7979
@UiThreadTest
8080
@Test
81-
fun whenOnProgressChangedCalledThenListenerInstructedToUpdateProgressAndNavigationOptions() {
81+
fun whenOnProgressChangedCalledThenListenerInstructedToUpdateProgress() {
8282
testee.onProgressChanged(webView, 10)
83-
verify(mockWebViewClientListener).progressChanged(webView.stubUrl, 10)
84-
verify(mockWebViewClientListener).navigationOptionsChanged(any())
83+
verify(mockWebViewClientListener).progressChanged(10)
8584
}
8685

8786
@UiThreadTest
8887
@Test
89-
fun whenOnProgressChangedCalledButNoUrlChangeThenListenerInstructedToUpdateProgressASecondTime() {
90-
webView.stubUrl = "foo.com"
88+
fun whenOnProgressChangedCalledThenListenerInstructedToUpdateNavigationState() {
9189
testee.onProgressChanged(webView, 10)
92-
testee.onProgressChanged(webView, 20)
93-
verify(mockWebViewClientListener, times(2)).progressChanged(any(), any())
90+
verify(mockWebViewClientListener).navigationStateChanged(any())
9491
}
9592

96-
@UiThreadTest
97-
@Test
98-
fun whenOnProgressChangedCalledAfterUrlChangeThenListenerInstructedToUpdateProgressAgain() {
99-
webView.stubUrl = "foo.com"
100-
testee.onProgressChanged(webView, 10)
101-
testee.onProgressChanged(webView, 20)
102-
webView.stubUrl = "bar.com"
103-
testee.onProgressChanged(webView, 30)
104-
verify(mockWebViewClientListener, times(3)).progressChanged(any(), any())
105-
}
106-
107-
@UiThreadTest
108-
@Test
109-
fun whenOnProgressChangedCalledThenPassedOnToWebClient() {
110-
val url = "https://example.com"
111-
webView.stubUrl = url
112-
testee.onProgressChanged(webView, 10)
113-
verify(mockWebViewClientListener).progressChanged(url, 10)
114-
}
115-
116-
private class TestWebView(context: Context) : WebView(context) {
117-
var stubUrl: String = ""
118-
119-
override fun getUrl(): String {
120-
return stubUrl
121-
}
122-
}
93+
private class TestWebView(context: Context) : WebView(context)
12394
}

0 commit comments

Comments
 (0)