duplicated the class DevToolSettings
... to make it available to the test classes. The tests actually do not need it. However, it is used in the test data generator. In the future, we should move the devtools to the test source folder and removed the extra devtools source folder to prevent stuff like this.
This commit is contained in:
parent
da26a17f3b
commit
f307702b09
16
src/test/java/amidst/devtools/DevToolsSettings.java
Normal file
16
src/test/java/amidst/devtools/DevToolsSettings.java
Normal file
@ -0,0 +1,16 @@
|
||||
package amidst.devtools;
|
||||
|
||||
public enum DevToolsSettings {
|
||||
INSTANCE;
|
||||
|
||||
private String minecraftVersionsDirectory = "/home/stefan/.minecraft/amidst-all-client-versions/";
|
||||
private String minecraftLibrariesDirectory = "/home/stefan/.minecraft/libraries/";
|
||||
|
||||
public String getMinecraftVersionsDirectory() {
|
||||
return minecraftVersionsDirectory;
|
||||
}
|
||||
|
||||
public String getMinecraftLibrariesDirectory() {
|
||||
return minecraftLibrariesDirectory;
|
||||
}
|
||||
}
|
@ -5,7 +5,6 @@ import java.io.IOException;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
import amidst.devtools.settings.DevToolsSettings;
|
||||
import amidst.mojangapi.file.FilenameFactory;
|
||||
import amidst.mojangapi.file.MojangApiParsingException;
|
||||
import amidst.mojangapi.file.directory.DotMinecraftDirectory;
|
||||
|
Loading…
x
Reference in New Issue
Block a user