Add isolated Liam persona test APK profile
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user