From 85c638362babb79e8cb6a055ec21e8254352e0f4 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Mon, 29 Dec 2014 00:12:22 +1100 Subject: [PATCH] Update tests --- PlotSquared/src/test/java/Test1.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/PlotSquared/src/test/java/Test1.java b/PlotSquared/src/test/java/Test1.java index 373d96de7..0f820516c 100644 --- a/PlotSquared/src/test/java/Test1.java +++ b/PlotSquared/src/test/java/Test1.java @@ -3,11 +3,12 @@ import com.intellectualcrafters.plot.config.Settings; import com.intellectualcrafters.plot.database.AbstractDB; import com.intellectualcrafters.plot.database.DBFunc; import com.intellectualcrafters.plot.flag.Flag; -import com.intellectualcrafters.plot.generator.DefaultPlotManager; -import com.intellectualcrafters.plot.generator.DefaultPlotWorld; +import com.intellectualcrafters.plot.generator.HybridPlotManager; +import com.intellectualcrafters.plot.generator.HybridPlotWorld; import com.intellectualcrafters.plot.object.*; import com.intellectualcrafters.plot.util.PlotHelper; import com.intellectualcrafters.plot.util.SetBlockFast; + import org.bukkit.OfflinePlayer; import org.bukkit.block.Biome; import org.junit.Assert; @@ -257,6 +258,12 @@ public class Test1 { @Override public void createAllSettingsAndHelpers(final ArrayList plots) { } + + @Override + public void createPlotAndSettings(Plot plot) { + // TODO Auto-generated method stub + + } }; passed = true; } catch (final Throwable e) { @@ -283,8 +290,8 @@ public class Test1 { public boolean test8_AddPlotWorld() { boolean passed = false; try { - final PlotWorld plotworld = new DefaultPlotWorld("poop"); - final PlotManager manager = new DefaultPlotManager(); + final PlotWorld plotworld = new HybridPlotWorld("poop"); + final PlotManager manager = new HybridPlotManager(); PlotMain.addPlotWorld("poop", plotworld, manager); passed = (PlotMain.getPlotManager("poop") != null) && (PlotMain.getWorldSettings("poop") != null); } catch (final Throwable e) {