Started adding automated tests
This commit is contained in:
parent
b5d4242029
commit
15286baaa5
2 changed files with 19 additions and 0 deletions
|
@ -117,6 +117,8 @@ dependencies {
|
|||
compile "com.github.azanor:baubles:1.0.1.10:deobf@jar"
|
||||
compile name: "MineTweaker3", version: "1.7.10-3.0.9C", classifier: "Dev"
|
||||
shade 'IC2-Classic-API-STANDALONE:IC2-Classic-API-STANDALONE:1.1.0.19-3:api'
|
||||
|
||||
testCompile 'junit:junit:4.12'
|
||||
}
|
||||
|
||||
|
||||
|
|
17
src/test/java/techreborn/TechRebornTests.java
Normal file
17
src/test/java/techreborn/TechRebornTests.java
Normal file
|
@ -0,0 +1,17 @@
|
|||
package techreborn;
|
||||
|
||||
import org.junit.Test;
|
||||
import techreborn.util.VersionChecker;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class TechRebornTests {
|
||||
|
||||
@Test
|
||||
public void versionChecker() throws IOException {
|
||||
VersionChecker versionChecker = new VersionChecker("TechReborn");
|
||||
versionChecker.checkVersion();
|
||||
versionChecker.getChangeLogSinceCurrentVersion();
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue