Fix CrashReporterService breaking changes
parent
a1d49eded0
commit
a8843def6c
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue