Files
tlw-database-tool/src/test/java/de/jeyp91/tippliga/TLWMatchdayUpdaterTest.java
T
2022-08-04 13:36:24 +02:00

33 lines
943 B
Java

package de.jeyp91.tippliga;
import org.junit.Test;
public class TLWMatchdayUpdaterTest {
@Test
public void getUpdateSqlTest1() throws Exception {
TLWMatchdaysUpdater matchdaysUpdater = new TLWMatchdaysUpdater(2021, 1, "Tippliga");
String sql = matchdaysUpdater.getUpdateSql();
// System.out.println(sql);
// System.out.println(matchdaysUpdater.getBeautifulInfo());
}
@Test
public void getUpdateSqlTest2() throws Exception {
TLWMatchdaysUpdater matchdaysUpdater = new TLWMatchdaysUpdater(2021, 2, "Tippliga");
String sql = matchdaysUpdater.getUpdateSql();
// System.out.println(sql);
// System.out.println(matchdaysUpdater.getBeautifulInfo());
}
@Test
public void updateGoogleCalendarTest() {
TLWMatchdaysUpdater matchdaysUpdater = new TLWMatchdaysUpdater(2023, 1, "Tippliga");
matchdaysUpdater.updateGoogleCalendar();
}
}