mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-01-19 16:59:36 +01:00
Update tests
This commit is contained in:
parent
24954744cb
commit
85c638362b
@ -3,11 +3,12 @@ import com.intellectualcrafters.plot.config.Settings;
|
|||||||
import com.intellectualcrafters.plot.database.AbstractDB;
|
import com.intellectualcrafters.plot.database.AbstractDB;
|
||||||
import com.intellectualcrafters.plot.database.DBFunc;
|
import com.intellectualcrafters.plot.database.DBFunc;
|
||||||
import com.intellectualcrafters.plot.flag.Flag;
|
import com.intellectualcrafters.plot.flag.Flag;
|
||||||
import com.intellectualcrafters.plot.generator.DefaultPlotManager;
|
import com.intellectualcrafters.plot.generator.HybridPlotManager;
|
||||||
import com.intellectualcrafters.plot.generator.DefaultPlotWorld;
|
import com.intellectualcrafters.plot.generator.HybridPlotWorld;
|
||||||
import com.intellectualcrafters.plot.object.*;
|
import com.intellectualcrafters.plot.object.*;
|
||||||
import com.intellectualcrafters.plot.util.PlotHelper;
|
import com.intellectualcrafters.plot.util.PlotHelper;
|
||||||
import com.intellectualcrafters.plot.util.SetBlockFast;
|
import com.intellectualcrafters.plot.util.SetBlockFast;
|
||||||
|
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
import org.bukkit.block.Biome;
|
import org.bukkit.block.Biome;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
@ -257,6 +258,12 @@ public class Test1 {
|
|||||||
@Override
|
@Override
|
||||||
public void createAllSettingsAndHelpers(final ArrayList<Plot> plots) {
|
public void createAllSettingsAndHelpers(final ArrayList<Plot> plots) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void createPlotAndSettings(Plot plot) {
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
|
||||||
|
}
|
||||||
};
|
};
|
||||||
passed = true;
|
passed = true;
|
||||||
} catch (final Throwable e) {
|
} catch (final Throwable e) {
|
||||||
@ -283,8 +290,8 @@ public class Test1 {
|
|||||||
public boolean test8_AddPlotWorld() {
|
public boolean test8_AddPlotWorld() {
|
||||||
boolean passed = false;
|
boolean passed = false;
|
||||||
try {
|
try {
|
||||||
final PlotWorld plotworld = new DefaultPlotWorld("poop");
|
final PlotWorld plotworld = new HybridPlotWorld("poop");
|
||||||
final PlotManager manager = new DefaultPlotManager();
|
final PlotManager manager = new HybridPlotManager();
|
||||||
PlotMain.addPlotWorld("poop", plotworld, manager);
|
PlotMain.addPlotWorld("poop", plotworld, manager);
|
||||||
passed = (PlotMain.getPlotManager("poop") != null) && (PlotMain.getWorldSettings("poop") != null);
|
passed = (PlotMain.getPlotManager("poop") != null) && (PlotMain.getWorldSettings("poop") != null);
|
||||||
} catch (final Throwable e) {
|
} catch (final Throwable e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user