Merge branch 'airpods-pro-3' into airpods-pro-3-merged

# Conflicts:
#	app-common/src/main/java/eu/darken/capod/pods/core/PodDevice.kt
#	app-common/src/main/java/eu/darken/capod/pods/core/apple/airpods/AirPodsPro3.kt
This commit is contained in:
darken
2025-09-21 18:38:13 +02:00
parent 0ac9bba482
commit 15054d836d
2 changed files with 17 additions and 28 deletions
@@ -1,28 +0,0 @@
package eu.darken.capod.pods.core.apple.airpods
import eu.darken.capod.pods.core.PodDevice
import eu.darken.capod.pods.core.apple.BaseAirPodsTest
import eu.darken.capod.pods.core.apple.HasAppleColor
import io.kotest.matchers.shouldBe
import kotlinx.coroutines.test.runTest
import org.junit.jupiter.api.Test
class AirPodsPro3Test : BaseAirPodsTest() {
@Test
fun `AirPods Pro 3`() = runTest {
create<AirPodsPro3>("07 19 01 27 20 0B 99 8F 11 00 05 43 A8 85 17 07 FF 41 62 2C FE 5E 20 08 1A 52 40") {
isLeftPodInEar shouldBe true
isRightPodInEar shouldBe true
isCaseCharging shouldBe false
isRightPodCharging shouldBe false
isLeftPodCharging shouldBe false
batteryCasePercent shouldBe null
podStyle.identifier shouldBe HasAppleColor.DeviceColor.WHITE.name
model shouldBe PodDevice.Model.AIRPODS_PRO3
}
}
}
@@ -74,4 +74,21 @@ class AirPodsPro3Test : BaseAirPodsTest() {
model shouldBe PodDevice.Model.AIRPODS_PRO3
}
}
@Test
fun `AirPods Pro 3`() = runTest {
create<AirPodsPro3>("07 19 01 27 20 0B 99 8F 11 00 05 43 A8 85 17 07 FF 41 62 2C FE 5E 20 08 1A 52 40") {
isLeftPodInEar shouldBe true
isRightPodInEar shouldBe true
isCaseCharging shouldBe false
isRightPodCharging shouldBe false
isLeftPodCharging shouldBe false
batteryCasePercent shouldBe null
podStyle.identifier shouldBe HasAppleColor.DeviceColor.WHITE.name
model shouldBe PodDevice.Model.AIRPODS_PRO3
}
}
}