diff --git a/PlotSquared/src/test/java/Test1.java b/PlotSquared/src/test/java/Test1.java index 0f820516c..2f3ded929 100644 --- a/PlotSquared/src/test/java/Test1.java +++ b/PlotSquared/src/test/java/Test1.java @@ -17,6 +17,7 @@ import org.junit.Test; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; +import java.util.Set; import java.util.UUID; public class Test1 { @@ -124,7 +125,7 @@ public class Test1 { public boolean test4_InitPlot() { boolean passed = false; try { - new Plot(new PlotId(0, 0), DBFunc.everyone, Biome.FOREST, new ArrayList(), new ArrayList(), new ArrayList(), null, PlotHomePosition.DEFAULT, null, "testworld", new boolean[]{false, false, false, false}); + new Plot(new PlotId(0, 0), DBFunc.everyone, Biome.FOREST, new ArrayList(), new ArrayList(), new ArrayList(), null, null, null, "testworld", new boolean[]{false, false, false, false}); passed = true; } catch (final Throwable ignored) { @@ -162,10 +163,6 @@ public class Test1 { public void setHelper(final String world, final Plot plot, final OfflinePlayer player) { } - @Override - public void setFlags(final String world, final Plot plot, final Flag[] flags) { - } - @Override public void setDenied(final String world, final Plot plot, final OfflinePlayer player) { } @@ -194,14 +191,6 @@ public class Test1 { public void removeComment(final String world, final Plot plot, final PlotComment comment) { } - @Override - public void purge(final String world) { - } - - @Override - public void purge(final String world, final PlotId id) { - } - @Override public HashMap getSettings(final int id) { return null; @@ -220,7 +209,7 @@ public class Test1 { final PlotId id = new PlotId(0, 0); - plots.get("testworld").put(id, new Plot(id, DBFunc.everyone, new ArrayList(), new ArrayList(), new ArrayList(), null, PlotHomePosition.DEFAULT, null, "testworld", new boolean[]{false, false, false, false})); + plots.get("testworld").put(id, new Plot(id, DBFunc.everyone, new ArrayList(), new ArrayList(), new ArrayList(), null, null, null, "testworld", new boolean[]{false, false, false, false})); return plots; } @@ -264,6 +253,24 @@ public class Test1 { // TODO Auto-generated method stub } + + @Override + public void setFlags(String world, Plot plot, Set flags) { + // TODO Auto-generated method stub + + } + + @Override + public void purgeIds(String world, Set uniqueIds) { + // TODO Auto-generated method stub + + } + + @Override + public void purge(String world, Set plotIds) { + // TODO Auto-generated method stub + + } }; passed = true; } catch (final Throwable e) {