From 6cac71a26d13c6db9374bf378b856ba4ddac5e94 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 18 Jan 2015 12:32:25 -0800 Subject: [PATCH] update test cases --- PlotSquared/src/test/java/Test1.java | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/PlotSquared/src/test/java/Test1.java b/PlotSquared/src/test/java/Test1.java index e8bddc927..e0a4ed3e0 100644 --- a/PlotSquared/src/test/java/Test1.java +++ b/PlotSquared/src/test/java/Test1.java @@ -148,7 +148,7 @@ public class Test1 { DBFunc.dbManager = new AbstractDB() { @Override - public void setTrusted(final String world, final Plot plot, final OfflinePlayer player) { + public void setTrusted(final String world, final Plot plot, final UUID uuid) { } @Override @@ -164,11 +164,11 @@ public class Test1 { } @Override - public void setHelper(final String world, final Plot plot, final OfflinePlayer player) { + public void setHelper(final String world, final Plot plot, final UUID uuid) { } @Override - public void setDenied(final String world, final Plot plot, final OfflinePlayer player) { + public void setDenied(final String world, final Plot plot, final UUID uuid) { } @Override @@ -180,15 +180,15 @@ public class Test1 { } @Override - public void removeTrusted(final String world, final Plot plot, final OfflinePlayer player) { + public void removeTrusted(final String world, final Plot plot, final UUID uuid) { } @Override - public void removeHelper(final String world, final Plot plot, final OfflinePlayer player) { + public void removeHelper(final String world, final Plot plot, final UUID uuid) { } @Override - public void removeDenied(final String world, final Plot plot, final OfflinePlayer player) { + public void removeDenied(final String world, final Plot plot, final UUID uuid) { } @Override @@ -223,11 +223,6 @@ public class Test1 { return 0; } - @Override - public ArrayList getComments(final String world, final Plot plot, final int tier) { - return null; - } - @Override public void delete(final String world, final Plot plot) { } @@ -275,6 +270,11 @@ public class Test1 { // TODO Auto-generated method stub } + + @Override + public ArrayList getComments(String world, Plot plot, int tier, boolean below) { + return null; + } }; passed = true; } catch (final Throwable e) {