1
0
Fork 0

Fix CrashReporterService breaking changes

master
Arturo Mejia 2020-04-27 14:32:15 -04:00
parent a1d49eded0
commit a8843def6c
1 changed files with 3 additions and 8 deletions

View File

@ -19,14 +19,9 @@ internal class BreadcrumbRecorderTest {
@Test @Test
fun `ensure crash reporter recordCrashBreadcrumb is called`() { fun `ensure crash reporter recordCrashBreadcrumb is called`() {
val service = object : CrashReporterService { val service = object : CrashReporterService {
override fun report(throwable: Throwable) { override fun report(throwable: Throwable): String? = ""
} override fun report(crash: Crash.NativeCodeCrash): String? = ""
override fun report(crash: Crash.UncaughtExceptionCrash): String? = ""
override fun report(crash: Crash.UncaughtExceptionCrash) {
}
override fun report(crash: Crash.NativeCodeCrash) {
}
} }
val reporter = spy( val reporter = spy(