mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Add incoming group message benchmark tests.
This commit is contained in:
committed by
Alex Hart
parent
e67307a961
commit
08254edae6
@@ -16,6 +16,7 @@ class BenchmarkSetupActivity : BaseActivity() {
|
||||
"cold-start" -> setupColdStart()
|
||||
"conversation-open" -> setupConversationOpen()
|
||||
"message-send" -> setupMessageSend()
|
||||
"group-message-send" -> setupGroupMessageSend()
|
||||
}
|
||||
|
||||
val textView: TextView = TextView(this).apply {
|
||||
@@ -60,6 +61,11 @@ class BenchmarkSetupActivity : BaseActivity() {
|
||||
|
||||
private fun setupMessageSend() {
|
||||
TestUsers.setupSelf()
|
||||
TestUsers.setupBob()
|
||||
TestUsers.setupTestClients(1)
|
||||
}
|
||||
|
||||
private fun setupGroupMessageSend() {
|
||||
TestUsers.setupSelf()
|
||||
TestUsers.setupGroup()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user