Skip to content

Commit

Permalink
chore(android): increase target API and remove unused class
Browse files Browse the repository at this point in the history
  • Loading branch information
mcatta committed Jul 14, 2024
1 parent 94cff91 commit b903d1a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package sleep.buildtools.android
internal object AndroidConfigs {
const val COMPILE_SDK: Int = 34
const val MIN_SDK: Int = 24
const val TARGET_SDK: Int = 33
const val TARGET_SDK: Int = 34

const val TEST_INSTRUMENTATION_RUNNER = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,13 @@ package dev.marcocattaneo.sleep.data.cache

import dev.marcocattaneo.sleep.domain.cache.CachePolicy
import dev.marcocattaneo.sleep.domain.cache.CacheService
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.test.runTest

import kotlin.test.BeforeTest
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertNull
import kotlin.time.Duration.Companion.seconds

@OptIn(ExperimentalCoroutinesApi::class)
internal class InMemoryCacheTest {

private lateinit var cacheService: CacheService<String, String>
Expand Down Expand Up @@ -64,4 +61,4 @@ internal class InMemoryCacheTest {
assertNull(cacheService.getValue("key", cachePolicy))
}

}
}

0 comments on commit b903d1a

Please sign in to comment.