Skip to content

Commit

Permalink
[Issue #8] Don't run NotificationTest on Tiramisu
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jul 28, 2022
1 parent c760142 commit 1d1a17e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package com.viliussutkus89.documenter

import android.content.Intent
import android.os.Build
import androidx.core.app.NotificationManagerCompat
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.SdkSuppress
import androidx.test.platform.app.InstrumentationRegistry
import com.viliussutkus89.documenter.background.ConverterWorkerCommon
import org.junit.Before
Expand All @@ -11,6 +13,8 @@ import org.junit.runner.RunWith
import java.util.*

@RunWith(AndroidJUnit4::class)
// Issue #8 workaround - don't run this test on Tiramisu
@SdkSuppress(maxSdkVersion = Build.VERSION_CODES.S_V2)
class NotificationTest {
@Before
fun setUp() {
Expand Down

0 comments on commit 1d1a17e

Please sign in to comment.