File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
app/src/test/java/com/duckduckgo/app/email Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1616
1717package com.duckduckgo.app.email
1818
19+ import android.annotation.SuppressLint
1920import android.webkit.WebView
2021import androidx.test.ext.junit.runners.AndroidJUnit4
2122import com.duckduckgo.app.browser.DuckDuckGoUrlDetectorImpl
@@ -48,6 +49,7 @@ class EmailJavascriptInterfaceTest {
4849 lateinit var testee: EmailJavascriptInterface
4950 private var counter = 0
5051
52+ @SuppressLint(" DenyListedApi" )
5153 @Before
5254 fun setup () {
5355 autofillFeature = com.duckduckgo.autofill.api.FakeAutofillFeature .create()
@@ -128,6 +130,7 @@ class EmailJavascriptInterfaceTest {
128130 assertEquals(1 , counter)
129131 }
130132
133+ @SuppressLint(" DenyListedApi" )
131134 @Test
132135 fun whenShowTooltipAndFeatureDisabledThenLambdaNotCalled () {
133136 whenever(mockWebView.url).thenReturn(NON_EMAIL_URL )
You can’t perform that action at this time.
0 commit comments