Skip to content
Snippets Groups Projects

Add test private groups to TestData run configurations

Merged Nico requested to merge 113-test-groups into main
Files
8
@@ -8,13 +8,21 @@ interface DeterministicTestDataCreator {
/**
* Create fake test data on the IoExecutor
*
* @param numContacts Number of contacts to create. Must be >= 1
* @param numPrivateMsgs Number of private messages to create for each
* @param numContacts Number of contacts to create. Must be >= 1
* @param numPrivateMsgs Number of private messages to create for each
* contact.
* @param avatarPercent Percentage of contacts
* @param avatarPercent Percentage of contacts
* that will use a random profile image. Between 0 and 100.
* @param numPrivateGroups Number of private groups to create. Must be >= 1
* @param numPrivateGroupPosts Number of private group messages to create in each group
*/
fun createTestData(numContacts: Int, numPrivateMsgs: Int, avatarPercent: Int)
fun createTestData(
numContacts: Int,
numPrivateMsgs: Int,
avatarPercent: Int,
numPrivateGroups: Int,
numPrivateGroupPosts: Int,
)
@IoExecutor
@Throws(DbException::class)
Loading