@@ -16,6 +16,15 @@ import io.sentry.ISentryExecutorService
1616import io.sentry.SentryLevel
1717import io.sentry.test.DeferredExecutorService
1818import io.sentry.test.ImmediateExecutorService
19+ import java.util.concurrent.CountDownLatch
20+ import kotlin.test.AfterTest
21+ import kotlin.test.BeforeTest
22+ import kotlin.test.Test
23+ import kotlin.test.assertEquals
24+ import kotlin.test.assertFalse
25+ import kotlin.test.assertNotNull
26+ import kotlin.test.assertNull
27+ import kotlin.test.assertTrue
1928import org.junit.runner.RunWith
2029import org.mockito.kotlin.any
2130import org.mockito.kotlin.anyOrNull
@@ -32,15 +41,6 @@ import org.robolectric.annotation.Config
3241import org.robolectric.shadow.api.Shadow
3342import org.robolectric.shadows.ShadowActivityManager
3443import org.robolectric.shadows.ShadowBuild
35- import java.util.concurrent.CountDownLatch
36- import kotlin.test.AfterTest
37- import kotlin.test.BeforeTest
38- import kotlin.test.Test
39- import kotlin.test.assertEquals
40- import kotlin.test.assertFalse
41- import kotlin.test.assertNotNull
42- import kotlin.test.assertNull
43- import kotlin.test.assertTrue
4444
4545@RunWith(AndroidJUnit4 ::class )
4646@Config(sdk = [Build .VERSION_CODES .TIRAMISU ])
@@ -436,9 +436,9 @@ class SystemEventsBreadcrumbsIntegrationTest {
436436 sut.register(fixture.scopes, fixture.options)
437437
438438 Thread {
439- sut.close()
440- latch.countDown()
441- }
439+ sut.close()
440+ latch.countDown()
441+ }
442442 .start()
443443
444444 latch.await()
@@ -520,9 +520,9 @@ class SystemEventsBreadcrumbsIntegrationTest {
520520 assertNotNull(sut.receiver)
521521
522522 Thread {
523- sut.close()
524- latch.countDown()
525- }
523+ sut.close()
524+ latch.countDown()
525+ }
526526 .start()
527527
528528 latch.await()
0 commit comments