Add isolated Liam persona test APK profile

This commit is contained in:
zenord
2026-10-14 17:50:40 +08:00
parent 5a7be557d0
commit 4c70ff665e
12 changed files with 197 additions and 54 deletions
+4 -2
View File
@@ -21,7 +21,9 @@ private fun DialogueClient.listener(epoch: Long)=javaClass.getDeclaredMethod("li
fun main() {
val wires=mutableListOf<String>()
val pin="208f703ed92bf795bfeb78a1cef89b67bed2e45da80038a56157fd1ecd4cfa93"
for(persona in listOf("default","lvbu")) for(pending in listOf(false,true)) {
val personas=System.getProperty("character.personas","default,lvbu,liam").split(",")
check(personas.isNotEmpty() && personas.all { it in setOf("default","lvbu","liam") })
for(persona in personas) for(pending in listOf(false,true)) {
var readyPin: String?=if(pending) null else pin
val statuses=mutableListOf<ConnectionStatus>()
val client=DialogueClient("localhost",5011,statuses::add,persona=persona,
@@ -51,5 +53,5 @@ fun main() {
client.release();Handler.drain()
}
java.io.File(checkNotNull(System.getProperty("character.helloFile"))).writeText(wires.joinToString("\n")+"\n")
println("PASS: four actual DialogueClient AUTH→production HELLO persona/media offers, pending readiness, duplicate AUTH and retired socket fences; transport/main/JSON adapters, device not_run")
println("PASS: "+wires.size+" actual DialogueClient AUTH→production HELLO persona/media offers, pending readiness, duplicate AUTH and retired socket fences; transport/main/JSON adapters, device not_run")
}