Formatting and reminders

This commit is contained in:
Pahimar 2016-05-25 11:02:19 -04:00
parent 85f8d4bfa8
commit ba6841db98
2 changed files with 7 additions and 6 deletions

View file

@ -39,6 +39,7 @@ public class CommandRunTest extends CommandEE
{
if (args.length == 2) {
// TODO Change location of where it looks for test cases
File testCaseDirectory = new File(FMLCommonHandler.instance().getMinecraftServerInstance().getEntityWorld().getSaveHandler().getWorldDirectory(), "data" + File.separator + Reference.LOWERCASE_MOD_ID + File.separator + "energyvalues" + File.separator + "testcases");
testCaseDirectory.mkdirs();
boolean testFound = false;

View file

@ -9,15 +9,14 @@ import net.minecraftforge.oredict.OreDictionary;
import java.io.File;
public class VanillaTestSuite extends EnergyValueTestSuite
{
public VanillaTestSuite()
{
public class VanillaTestSuite extends EnergyValueTestSuite {
public VanillaTestSuite() {
buildTestSuite();
}
private void buildTestSuite()
{
private void buildTestSuite() {
addBuildingBlocksTabTestCases();
addDecorationBlocksTabTestCases();
addRedstoneTabTestCases();
@ -601,6 +600,7 @@ public class VanillaTestSuite extends EnergyValueTestSuite
}
public void save() {
// TODO Change the test directory location
File energyValuesDataDirectory = new File(FMLCommonHandler.instance().getMinecraftServerInstance().getEntityWorld().getSaveHandler().getWorldDirectory(), "data" + File.separator + Reference.LOWERCASE_MOD_ID + File.separator + "energyvalues" + File.separator + "testcases");
energyValuesDataDirectory.mkdirs();
this.save(new File(energyValuesDataDirectory, "minecraft-v1710-vanilla-test-suite.json"));