Add beautiful output
This commit is contained in:
@@ -11,6 +11,7 @@ public class TLWMatchdayUpdaterTest {
|
||||
String sql = matchdaysUpdater.getUpdateSql();
|
||||
|
||||
System.out.println(sql);
|
||||
System.out.println(matchdaysUpdater.getBeautifulInfo());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -20,5 +21,6 @@ public class TLWMatchdayUpdaterTest {
|
||||
String sql = matchdaysUpdater.getUpdateSql();
|
||||
|
||||
System.out.println(sql);
|
||||
System.out.println(matchdaysUpdater.getBeautifulInfo());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,18 +5,20 @@ import org.junit.Test;
|
||||
public class TLWMatchesUpdaterFootballTest {
|
||||
|
||||
@Test
|
||||
public void getUpdateSqlTest1() throws Exception {
|
||||
public void getUpdateSqlTest1() {
|
||||
TLWMatchesUpdaterFootball updater = new TLWMatchesUpdaterFootball(2021, 1, "Tippliga.json");
|
||||
String sql = updater.getUpdateSQL();
|
||||
|
||||
System.out.println(sql);
|
||||
System.out.println(updater.getBeautifulInfo());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getUpdateSqlTest2() throws Exception {
|
||||
public void getUpdateSqlTest2() {
|
||||
TLWMatchesUpdaterFootball updater = new TLWMatchesUpdaterFootball(2021, 2, "Tippliga.json");
|
||||
String sql = updater.getUpdateSQL();
|
||||
|
||||
System.out.println(sql);
|
||||
System.out.println(updater.getBeautifulInfo());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user