Add support for parameters to start and update gradle to compile full jar
This commit is contained in:
@@ -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