From 5ea6fd034f33eff95cb09fae9419f601eda2c6d9 Mon Sep 17 00:00:00 2001 From: Yuri Schimke Date: Sat, 4 Jan 2025 10:57:23 +0000 Subject: [PATCH] Fix robolectric tests --- .../src/test/kotlin/okhttp3/android/CombinedAsyncDnsTest.kt | 1 + .../src/test/kotlin/okhttp3/android/RecordingAsyncDnsCallback.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/android-test/src/test/kotlin/okhttp3/android/CombinedAsyncDnsTest.kt b/android-test/src/test/kotlin/okhttp3/android/CombinedAsyncDnsTest.kt index 27c558e638a5..ad4b57e54edf 100644 --- a/android-test/src/test/kotlin/okhttp3/android/CombinedAsyncDnsTest.kt +++ b/android-test/src/test/kotlin/okhttp3/android/CombinedAsyncDnsTest.kt @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") package okhttp3.android import assertk.all diff --git a/android-test/src/test/kotlin/okhttp3/android/RecordingAsyncDnsCallback.kt b/android-test/src/test/kotlin/okhttp3/android/RecordingAsyncDnsCallback.kt index cd10e2e19e1e..ce107419788d 100644 --- a/android-test/src/test/kotlin/okhttp3/android/RecordingAsyncDnsCallback.kt +++ b/android-test/src/test/kotlin/okhttp3/android/RecordingAsyncDnsCallback.kt @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") package okhttp3.android import java.net.InetAddress