mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-20 14:49:53 +01:00
Remove createTestData()
This commit is contained in:
@@ -5,11 +5,8 @@ import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
|
|||||||
@NotNullByDefault
|
@NotNullByDefault
|
||||||
public interface TestDataCreator {
|
public interface TestDataCreator {
|
||||||
|
|
||||||
/* Creates fake test data on the DatabaseExecutor */
|
|
||||||
void createTestData();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a configurable amount of fake test data on the DatabaseExecutor
|
* Create fake test data on the DatabaseExecutor
|
||||||
*
|
*
|
||||||
* @param numContacts Number of contacts to create.
|
* @param numContacts Number of contacts to create.
|
||||||
* @param numPrivateMsgs Number of private messages to create for each
|
* @param numPrivateMsgs Number of private messages to create for each
|
||||||
|
|||||||
@@ -126,10 +126,6 @@ public class TestDataCreatorImpl implements TestDataCreator {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void createTestData() {
|
|
||||||
createTestData(20, 15, 30, 3, 30);
|
|
||||||
}
|
|
||||||
|
|
||||||
@IoExecutor
|
@IoExecutor
|
||||||
private void createTestDataOnDbExecutor(int numContacts, int numPrivateMsgs,
|
private void createTestDataOnDbExecutor(int numContacts, int numPrivateMsgs,
|
||||||
int numBlogPosts, int numForums, int numForumPosts)
|
int numBlogPosts, int numForums, int numForumPosts)
|
||||||
|
|||||||
Reference in New Issue
Block a user