mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-27 12:45:59 +01:00
update lousy tests
This commit is contained in:
parent
77c62c535f
commit
84b7ff3a5c
@ -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<UUID>(), new ArrayList<UUID>(), new ArrayList<UUID>(), null, PlotHomePosition.DEFAULT, null, "testworld", new boolean[]{false, false, false, false});
|
||||
new Plot(new PlotId(0, 0), DBFunc.everyone, Biome.FOREST, new ArrayList<UUID>(), new ArrayList<UUID>(), new ArrayList<UUID>(), 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<String, Object> 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<UUID>(), new ArrayList<UUID>(), new ArrayList<UUID>(), null, PlotHomePosition.DEFAULT, null, "testworld", new boolean[]{false, false, false, false}));
|
||||
plots.get("testworld").put(id, new Plot(id, DBFunc.everyone, new ArrayList<UUID>(), new ArrayList<UUID>(), new ArrayList<UUID>(), 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<Flag> flags) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void purgeIds(String world, Set<Integer> uniqueIds) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void purge(String world, Set<PlotId> plotIds) {
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
};
|
||||
passed = true;
|
||||
} catch (final Throwable e) {
|
||||
|
Loading…
Reference in New Issue
Block a user