Skip to content

Commit de54c62

Browse files
Fix build.
1 parent 4541ef1 commit de54c62

File tree

2 files changed

+200
-115
lines changed

2 files changed

+200
-115
lines changed

payments-ui-core/src/test/java/com/stripe/android/ui/core/elements/autocomplete/PlacesClientProxyTest.kt

Lines changed: 66 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.stripe.android.ui.core.elements.autocomplete
22

3+
import com.google.android.gms.maps.model.LatLng
34
import com.google.android.gms.tasks.Task
45
import com.google.android.gms.tasks.Tasks
56
import com.google.android.libraries.places.api.model.AutocompletePrediction
@@ -21,6 +22,7 @@ import com.google.android.libraries.places.api.net.SearchByTextRequest
2122
import com.google.android.libraries.places.api.net.SearchByTextResponse
2223
import com.google.android.libraries.places.api.net.SearchNearbyRequest
2324
import com.google.android.libraries.places.api.net.SearchNearbyResponse
25+
import com.google.android.libraries.places.internal.zzmy
2426
import com.google.common.truth.Truth.assertThat
2527
import com.stripe.android.testing.CoroutineTestRule
2628
import com.stripe.android.testing.FakeErrorReporter
@@ -229,17 +231,75 @@ class PlacesClientProxyTest {
229231
throw AssertionError("Not expected")
230232
}
231233

234+
override fun zza(
235+
p0: FindAutocompletePredictionsRequest?,
236+
p1: zzmy?
237+
): Task<*>? {
238+
throw AssertionError("Not expected")
239+
}
240+
232241
override fun zzb(
233-
p0: FetchPlaceRequest,
234-
p1: Int
235-
): Task<*> {
242+
p0: FetchPhotoRequest?,
243+
p1: zzmy?
244+
): Task<*>? {
245+
throw AssertionError("Not expected")
246+
}
247+
248+
override fun zzc(
249+
p0: FetchResolvedPhotoUriRequest?,
250+
p1: zzmy?
251+
): Task<*>? {
236252
throw AssertionError("Not expected")
237253
}
238254

239255
override fun zzd(
240-
p0: FindAutocompletePredictionsRequest,
241-
p1: Int
242-
): Task<*> {
256+
p0: FetchPlaceRequest?,
257+
p1: zzmy?
258+
): Task<*>? {
259+
throw AssertionError("Not expected")
260+
}
261+
262+
override fun zze(p0: LatLng): Task<*> {
263+
throw AssertionError("Not expected")
264+
}
265+
266+
override fun zzf(
267+
p0: FindCurrentPlaceRequest?,
268+
p1: zzmy?
269+
): Task<*>? {
270+
throw AssertionError("Not expected")
271+
}
272+
273+
override fun zzh(
274+
p0: IsOpenRequest?,
275+
p1: zzmy?
276+
): Task<*>? {
277+
throw AssertionError("Not expected")
278+
}
279+
280+
override fun zzi(
281+
p0: SearchByTextRequest?,
282+
p1: zzmy?
283+
): Task<*>? {
284+
throw AssertionError("Not expected")
285+
}
286+
287+
override fun zzj(
288+
p0: SearchNearbyRequest?,
289+
p1: zzmy?
290+
): Task<*>? {
291+
throw AssertionError("Not expected")
292+
}
293+
294+
override fun zzk() {
295+
throw AssertionError("Not expected")
296+
}
297+
298+
override fun zzl() {
299+
throw AssertionError("Not expected")
300+
}
301+
302+
override fun zzm() {
243303
throw AssertionError("Not expected")
244304
}
245305
}

0 commit comments

Comments
 (0)