mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Make test data creation configurable.
This commit is contained in:
@@ -8,4 +8,17 @@ public interface TestDataCreator {
|
||||
/* Creates fake test data on the DatabaseExecutor */
|
||||
void createTestData();
|
||||
|
||||
/**
|
||||
* Creates a configurable amount of fake test data on the DatabaseExecutor
|
||||
*
|
||||
* @param numContacts Number of contacts to create.
|
||||
* @param numPrivateMsgs Number of private messages to create for each
|
||||
* contact.
|
||||
* @param numBlogPosts Number of blog posts to create.
|
||||
* @param numForums Number of forums to create.
|
||||
* @param numForumPosts Number of forum posts to create per forum.
|
||||
*/
|
||||
void createTestData(int numContacts, int numPrivateMsgs, int numBlogPosts,
|
||||
int numForums, int numForumPosts);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user