[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
This commit is contained in:
snowleo 2011-04-10 23:43:02 +00:00
parent d23e7a2821
commit d731dd4da1

View file

@ -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()
{