Skip to content
Snippets Groups Projects
Commit cabb9511 authored by Sebastian's avatar Sebastian Committed by Mikolai Gütschow
Browse files

Move testing code for displaying conversation data to separate file

parent 0132f7c3
No related branches found
No related tags found
1 merge request!22Make it possible to start briar with temporary account with a bunch of testing contacts
Pipeline #7773 passed
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TestListConversationDataKt" type="JetRunConfigurationType" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="org.briarproject.briar.desktop.testdata.TestListConversationDataKt" />
<module name="briar-desktop.test" />
<shortenClasspath name="NONE" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
\ No newline at end of file
......@@ -98,12 +98,3 @@ val conversations = conversations {
}
}
}
fun main(args: Array<String>) {
for (conversation in conversations.persons) {
println("conversation with: ${conversation.name}")
for (message in conversation.messages) {
println(" ${message.direction} ${message.text} ${message.read} ${message.date}")
}
}
}
package org.briarproject.briar.desktop.testdata
fun main(args: Array<String>) {
for (conversation in conversations.persons) {
println("conversation with: ${conversation.name}")
for (message in conversation.messages) {
println(" ${message.direction} ${message.text} ${message.read} ${message.date}")
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment