Make test data creation configurable.

This commit is contained in:
goapunk
2018-04-24 11:54:20 +02:00
parent 575847cb36
commit ac1bfcae60
8 changed files with 332 additions and 31 deletions

View File

@@ -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);
}