summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-10 23:43:02 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-10 23:43:02 +0000
commitd731dd4da1b0161d69262105c81f52639d7e29e2 (patch)
treefc52da0149da6ee7a2cdcb813d6f7a3f4d470e22
parentd23e7a2821912767368579d020a5f98280397ea1 (diff)
downloadEssentials-d731dd4da1b0161d69262105c81f52639d7e29e2.tar
Essentials-d731dd4da1b0161d69262105c81f52639d7e29e2.tar.gz
Essentials-d731dd4da1b0161d69262105c81f52639d7e29e2.tar.lz
Essentials-d731dd4da1b0161d69262105c81f52639d7e29e2.tar.xz
Essentials-d731dd4da1b0161d69262105c81f52639d7e29e2.zip
[trunk] UserTest/Home: We can't test home without a running server.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1172 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/test/com/earth2me/essentials/UserTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/Essentials/test/com/earth2me/essentials/UserTest.java b/Essentials/test/com/earth2me/essentials/UserTest.java
index 011ba4770..734846c39 100644
--- a/Essentials/test/com/earth2me/essentials/UserTest.java
+++ b/Essentials/test/com/earth2me/essentials/UserTest.java
@@ -1,7 +1,9 @@
package com.earth2me.essentials;
import junit.framework.TestCase;
+import net.minecraft.server.WorldServer;
import org.bukkit.Location;
+import org.bukkit.craftbukkit.CraftWorld;
public class UserTest extends TestCase
@@ -41,14 +43,14 @@ public class UserTest extends TestCase
assertTrue(size1 == User.size());
}
- public void testHome() throws Exception
+ /*public void testHome() throws Exception
{
should("return the home set by setHome");
Location home = new Location(null, 1, 2, 3, 4, 5);
User user = User.get(base1);
user.setHome(home);
assertEquals(user.getHome(), home);
- }
+ }*/
public void testMoney()
{