Add support for parameters to start and update gradle to compile full jar

This commit is contained in:
2020-10-12 23:03:26 +02:00
parent f22f9a929b
commit d8af0b3d6c
19 changed files with 153 additions and 241 deletions

View File

@@ -0,0 +1,2 @@
package de.jeyp91.gists;public class GistProviderTest {
}

View File

@@ -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);
}
}