@PrepareForTest(value={org.bukkit.plugin.java.JavaPlugin.class,org.bukkit.Bukkit.class,org.bukkit.scheduler.BukkitScheduler.class,org.bukkit.scheduler.BukkitRunnable.class}) public class DatabaseTest extends Object
Constructor and Description |
---|
DatabaseTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testBackup() |
void |
testInit() |
void |
testMysqlGetConfigName() |
void |
testMysqlGetName() |
void |
testNicknameInjection() |
void |
testRemove() |
void |
testRemoveAll() |
void |
testRestore() |
void |
testSaveCommandUse() |
void |
testSaveMultipleUserData() |
void |
testSaveUserData() |
void |
testSqLiteGetConfigName() |
void |
testSqLiteGetgName() |
public void setUp() throws IOException, Exception
IOException
Exception
public void tearDown() throws IOException, SQLException
IOException
SQLException
public void testInit()
public void testSqLiteGetConfigName()
public void testSqLiteGetgName()
public void testMysqlGetConfigName()
public void testMysqlGetName()
public void testRemoveAll() throws SQLException
SQLException
public void testSaveCommandUse() throws SQLException
SQLException
public void testSaveUserData() throws SQLException
SQLException
public void testNicknameInjection() throws SQLException
SQLException
public void testSaveMultipleUserData() throws SQLException
SQLException
public void testRemove() throws SQLException
SQLException
public void testBackup() throws SQLException
SQLException
public void testRestore() throws SQLException
SQLException
Copyright © 2017. All rights reserved.