From 69c34adae34a876e36a03fbd89c688d28318d9d5 Mon Sep 17 00:00:00 2001 From: goapunk <goapunk@riseup.net> Date: Tue, 24 Apr 2018 16:57:02 +0200 Subject: [PATCH] Remove createTestData() --- .../org/briarproject/briar/api/test/TestDataCreator.java | 5 +---- .../org/briarproject/briar/test/TestDataCreatorImpl.java | 4 ---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/briar-api/src/main/java/org/briarproject/briar/api/test/TestDataCreator.java b/briar-api/src/main/java/org/briarproject/briar/api/test/TestDataCreator.java index 5bae29a83d..41ccb64341 100644 --- a/briar-api/src/main/java/org/briarproject/briar/api/test/TestDataCreator.java +++ b/briar-api/src/main/java/org/briarproject/briar/api/test/TestDataCreator.java @@ -5,11 +5,8 @@ import org.briarproject.bramble.api.nullsafety.NotNullByDefault; @NotNullByDefault 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 numPrivateMsgs Number of private messages to create for each diff --git a/briar-core/src/main/java/org/briarproject/briar/test/TestDataCreatorImpl.java b/briar-core/src/main/java/org/briarproject/briar/test/TestDataCreatorImpl.java index ed9971ca67..90f2b77c87 100644 --- a/briar-core/src/main/java/org/briarproject/briar/test/TestDataCreatorImpl.java +++ b/briar-core/src/main/java/org/briarproject/briar/test/TestDataCreatorImpl.java @@ -126,10 +126,6 @@ public class TestDataCreatorImpl implements TestDataCreator { }); } - public void createTestData() { - createTestData(20, 15, 30, 3, 30); - } - @IoExecutor private void createTestDataOnDbExecutor(int numContacts, int numPrivateMsgs, int numBlogPosts, int numForums, int numForumPosts) -- GitLab