File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
test/java/com/ichi2/libanki Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,8 @@ val collectionMethods =
9595 " importJsonFile" to { bytes -> importJsonFileRaw(bytes) },
9696 " congratsInfo" to { bytes -> congratsInfoRaw(bytes) },
9797 " getImageOcclusionFields" to { bytes -> getImageOcclusionFieldsRaw(bytes) },
98+ " getIgnoredBeforeCount" to { bytes -> getIgnoredBeforeCountRaw(bytes) },
99+ " getRetentionWorkload" to { bytes -> getRetentionWorkloadRaw(bytes) },
98100 )
99101
100102suspend fun handleCollectionPostRequest (
Original file line number Diff line number Diff line change @@ -647,6 +647,10 @@ class Collection(
647647
648648 fun importJsonFileRaw (input : ByteArray ): ByteArray = backend.importJsonFileRaw(input = input)
649649
650+ fun getIgnoredBeforeCountRaw (input : ByteArray ): ByteArray = backend.getIgnoredBeforeCountRaw(input = input)
651+
652+ fun getRetentionWorkloadRaw (input : ByteArray ): ByteArray = backend.getRetentionWorkloadRaw(input = input)
653+
650654 fun compareAnswer (
651655 expected : String ,
652656 provided : String ,
Original file line number Diff line number Diff line change @@ -38,10 +38,8 @@ import org.junit.Assert
3838import org.junit.Ignore
3939import org.junit.Test
4040import org.junit.runner.RunWith
41- import java.lang.Exception
4241import java.time.Instant
4342import java.time.ZoneId
44- import kotlin.Throws
4543import kotlin.math.roundToInt
4644import kotlin.math.roundToLong
4745import kotlin.test.assertNotNull
@@ -631,7 +629,7 @@ open class SchedulerTest : JvmTest() {
631629 Ease .EASY ,
632630 ),
633631 ),
634- Matchers .equalTo(" 10.8mo " ),
632+ Matchers .equalTo(" 10.7mo " ),
635633 )
636634 }
637635
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ androidxViewpager2 = "1.1.0"
5959androidxWebkit = " 1.14.0"
6060# https://developer.android.com/jetpack/androidx/releases/work
6161androidxWork = " 2.10.1"
62- ankiBackend = ' 0.1.52-anki25.02.7 '
62+ ankiBackend = ' 0.1.52-anki25.06b1 '
6363autoService = " 1.1.1"
6464autoServiceAnnotations = " 1.1.1"
6565colorpicker = " 1.2.0"
You can’t perform that action at this time.
0 commit comments