From 894524f9983bb54b54ebd50afbcd86675cacf2c5 Mon Sep 17 00:00:00 2001 From: MattBDev Date: Thu, 5 May 2016 13:39:54 -0400 Subject: [PATCH] Fix test file --- .../plot/database/AbstractDBTEst.java | 142 ------------------ .../plot/database/AbstractDBTest.java | 5 + 2 files changed, 5 insertions(+), 142 deletions(-) delete mode 100644 Core/src/test/java/com/intellectualcrafters/plot/database/AbstractDBTEst.java create mode 100644 Core/src/test/java/com/intellectualcrafters/plot/database/AbstractDBTest.java diff --git a/Core/src/test/java/com/intellectualcrafters/plot/database/AbstractDBTEst.java b/Core/src/test/java/com/intellectualcrafters/plot/database/AbstractDBTEst.java deleted file mode 100644 index 5d1313d05..000000000 --- a/Core/src/test/java/com/intellectualcrafters/plot/database/AbstractDBTEst.java +++ /dev/null @@ -1,142 +0,0 @@ -package com.intellectualcrafters.plot.database; - -import com.intellectualcrafters.plot.flag.Flag; -import com.intellectualcrafters.plot.object.Plot; -import com.intellectualcrafters.plot.object.PlotArea; -import com.intellectualcrafters.plot.object.PlotCluster; -import com.intellectualcrafters.plot.object.PlotId; -import com.intellectualcrafters.plot.object.RunnableVal; -import com.intellectualcrafters.plot.object.comment.PlotComment; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Set; -import java.util.UUID; - -public class AbstractDBTest implements AbstractDB { - - @Override public void setOwner(Plot plot, UUID uuid) {} - - @Override public void createPlotsAndData(List plots, Runnable whenDone) {} - - @Override public void createPlot(Plot plot) {} - - @Override public void createTables() {} - - @Override public void delete(Plot plot) {} - - @Override public void deleteSettings(Plot plot) {} - - @Override public void deleteHelpers(Plot plot) {} - - @Override public void deleteTrusted(Plot plot) {} - - @Override public void deleteDenied(Plot plot) {} - - @Override public void deleteComments(Plot plot) {} - - @Override public void deleteRatings(Plot plot) {} - - @Override public void delete(PlotCluster cluster) {} - - @Override public void addPersistentMeta(UUID uuid, String key, byte[] meta, boolean delete) {} - - @Override public void removePersistentMeta(UUID uuid, String key) {} - - @Override public void getPersistentMeta(UUID uuid, RunnableVal> result) {} - - @Override public void createPlotSettings(int id, Plot plot) {} - - @Override public int getId(Plot plot) { - return 0; - } - - @Override public int getClusterId(PlotCluster cluster) { - return 0; - } - - @Override public HashMap> getPlots() { - return null; - } - - @Override public void validateAllPlots(Set toValidate) {} - - @Override public HashMap> getClusters() { - return null; - } - - @Override public void setMerged(Plot plot, boolean[] merged) {} - - @Override public void swapPlots(Plot plot1, Plot plot2) {} - - @Override public void setFlags(Plot plot, HashMap, Object> flags) {} - - @Override public void setFlags(PlotCluster cluster, HashMap, Object> flags) {} - - @Override public void setClusterName(PlotCluster cluster, String name) {} - - @Override public void setAlias(Plot plot, String alias) {} - - @Override public void purgeIds(Set uniqueIds) {} - - @Override public void purge(PlotArea area, Set plotIds) {} - - @Override public void setPosition(Plot plot, String position) {} - - @Override public void setPosition(PlotCluster cluster, String position) {} - - @Override public void removeTrusted(Plot plot, UUID uuid) {} - - @Override public void removeHelper(PlotCluster cluster, UUID uuid) {} - - @Override public void removeMember(Plot plot, UUID uuid) {} - - @Override public void removeInvited(PlotCluster cluster, UUID uuid) {} - - @Override public void setTrusted(Plot plot, UUID uuid) {} - - @Override public void setHelper(PlotCluster cluster, UUID uuid) {} - - @Override public void setMember(Plot plot, UUID uuid) {} - - @Override public void setInvited(PlotCluster cluster, UUID uuid) {} - - @Override public void removeDenied(Plot plot, UUID uuid) {} - - @Override public void setDenied(Plot plot, UUID uuid) {} - - @Override public HashMap getRatings(Plot plot) { - return null; - } - - @Override public void setRating(Plot plot, UUID rater, int value) {} - - @Override public void removeComment(Plot plot, PlotComment comment) {} - - @Override public void clearInbox(Plot plot, String inbox) {} - - @Override public void setComment(Plot plot, PlotComment comment) {} - - @Override public void getComments(Plot plot, String inbox, RunnableVal> whenDone) {} - - @Override public void createPlotAndSettings(Plot plot, Runnable whenDone) {} - - @Override public void createCluster(PlotCluster cluster) {} - - @Override public void resizeCluster(PlotCluster current, PlotId min, PlotId max) {} - - @Override public void movePlot(Plot originalPlot, Plot newPlot) {} - - @Override public void replaceUUID(UUID old, UUID now) {} - - @Override public boolean deleteTables() { - return false; - } - - @Override public void close() {} - - @Override public void replaceWorld(String oldWorld, String newWorld, PlotId min, PlotId max) {} - - @Override public void updateTables(int[] oldVersion) {} -} diff --git a/Core/src/test/java/com/intellectualcrafters/plot/database/AbstractDBTest.java b/Core/src/test/java/com/intellectualcrafters/plot/database/AbstractDBTest.java new file mode 100644 index 000000000..37caccf36 --- /dev/null +++ b/Core/src/test/java/com/intellectualcrafters/plot/database/AbstractDBTest.java @@ -0,0 +1,5 @@ +package com.intellectualcrafters.plot.database; + +public class AbstractDBTest { + +}