mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-01-31 14:49:35 +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.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
|
import java.util.Set;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
public class Test1 {
|
public class Test1 {
|
||||||
@ -124,7 +125,7 @@ public class Test1 {
|
|||||||
public boolean test4_InitPlot() {
|
public boolean test4_InitPlot() {
|
||||||
boolean passed = false;
|
boolean passed = false;
|
||||||
try {
|
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;
|
passed = true;
|
||||||
} catch (final Throwable ignored) {
|
} catch (final Throwable ignored) {
|
||||||
|
|
||||||
@ -162,10 +163,6 @@ public class Test1 {
|
|||||||
public void setHelper(final String world, final Plot plot, final OfflinePlayer player) {
|
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
|
@Override
|
||||||
public void setDenied(final String world, final Plot plot, final OfflinePlayer player) {
|
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) {
|
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
|
@Override
|
||||||
public HashMap<String, Object> getSettings(final int id) {
|
public HashMap<String, Object> getSettings(final int id) {
|
||||||
return null;
|
return null;
|
||||||
@ -220,7 +209,7 @@ public class Test1 {
|
|||||||
|
|
||||||
final PlotId id = new PlotId(0, 0);
|
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;
|
return plots;
|
||||||
}
|
}
|
||||||
@ -264,6 +253,24 @@ public class Test1 {
|
|||||||
// TODO Auto-generated method stub
|
// 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;
|
passed = true;
|
||||||
} catch (final Throwable e) {
|
} catch (final Throwable e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user