Add support for parameters to start and update gradle to compile full jar
This commit is contained in:
2
src/test/java/de/jeyp91/gists/GistProviderTest.java
Normal file
2
src/test/java/de/jeyp91/gists/GistProviderTest.java
Normal file
@@ -0,0 +1,2 @@
|
||||
package de.jeyp91.gists;public class GistProviderTest {
|
||||
}
|
||||
@@ -6,21 +6,15 @@ public class TLWTeamsUpdaterTest {
|
||||
|
||||
@Test
|
||||
public void getInsertSQLTest1() throws Exception {
|
||||
TLWMatchesUpdaterFootball matchesUpdater = new TLWMatchesUpdaterFootball(2021, 1, "Tippliga.json");
|
||||
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 1, matchesUpdater.tlwMatchesUpdated);
|
||||
|
||||
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 1, "Tippliga.json");
|
||||
String sql = teamsUpdater.getInsertSQL();
|
||||
|
||||
System.out.println(sql);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getInsertSQLTest2() throws Exception {
|
||||
TLWMatchesUpdaterFootball matchesUpdater = new TLWMatchesUpdaterFootball(2021, 2, "Tippliga.json");
|
||||
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 2, matchesUpdater.tlwMatchesUpdated);
|
||||
|
||||
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 2, "Tippliga.json");
|
||||
String sql = teamsUpdater.getInsertSQL();
|
||||
|
||||
System.out.println(sql);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user