Started adding automated tests

This commit is contained in:
Modmuss50 2015-09-28 20:30:24 +01:00
parent b5d4242029
commit 15286baaa5
2 changed files with 19 additions and 0 deletions

View file

@ -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'
}

View 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();
}
}