Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,8 @@ internal class FatalIssueReporterProcessor(
}

ReportType.NativeCrash -> {
NativeCrashProcessor.process(
builder,
sdk,
appMetrics,
deviceMetrics,
description,
traceInputStream,
)
// TODO(FranAguilera): BIT-5823 use NativeCrashProcessor once async processing is ready
null
}

else -> null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import io.bitdrift.capture.reports.persistence.IFatalIssueReporterStorage
import io.bitdrift.capture.reports.processor.FatalIssueReporterProcessor
import org.assertj.core.api.Assertions.assertThat
import org.junit.Before
import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
Expand Down Expand Up @@ -85,7 +86,7 @@ class FatalIssueReporterProcessorTest {
"persistJvmCrash_withFakeException_shouldCreateNonEmptyErrorModel",
)
assertThat(error.stackTrace(0)!!.sourceFile!!.path).isEqualTo("FatalIssueReporterProcessorTest.kt")
assertThat(error.stackTrace(0)!!.sourceFile!!.line).isEqualTo(58)
assertThat(error.stackTrace(0)!!.sourceFile!!.line).isEqualTo(59)
assertThat(error.stackTrace(0)!!.sourceFile!!.column).isEqualTo(0)
}

Expand Down Expand Up @@ -319,6 +320,7 @@ class FatalIssueReporterProcessorTest {
)
}

@Ignore("TODO(FranAguilera): BIT-5823 use NativeCrashProcessor once async processing is ready")
@Test
fun persistAppExitReport_whenNativeCrash_shouldCreateEmptyErrorModel() {
val description = "Native crash"
Expand Down
Loading