Fix from delivery dates
This commit is contained in:
@@ -2,6 +2,7 @@ package de.jeyp91.tippliga;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
@@ -9,7 +10,7 @@ import static org.junit.Assert.assertEquals;
|
||||
public class TLWMatchdaysCreatorTest {
|
||||
|
||||
@Test
|
||||
public void getMatchdaysTippligaTest() {
|
||||
public void getMatchdaysTippligaTest() throws ParseException {
|
||||
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 1, "Tippliga.json");
|
||||
ArrayList<TLWMatchday> matchdays = matchdaysCreator.getMatchdays();
|
||||
@@ -18,7 +19,7 @@ public class TLWMatchdaysCreatorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getMatchdaysWTLPokalTest() {
|
||||
public void getMatchdaysWTLPokalTest() throws ParseException {
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 1, "WTL_Pokal.json");
|
||||
ArrayList<TLWMatchday> matchdays = matchdaysCreator.getMatchdays();
|
||||
|
||||
@@ -26,7 +27,7 @@ public class TLWMatchdaysCreatorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getMatchdaysTippliga1SqlTest() {
|
||||
public void getMatchdaysTippliga1SqlTest() throws ParseException {
|
||||
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 1, "Tippliga.json");
|
||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||
@@ -34,7 +35,7 @@ public class TLWMatchdaysCreatorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getMatchdaysTippliga2SqlTest() {
|
||||
public void getMatchdaysTippliga2SqlTest() throws ParseException {
|
||||
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 2, "Tippliga.json");
|
||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||
@@ -42,7 +43,7 @@ public class TLWMatchdaysCreatorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getMatchdaysTippliga51SqlTest() {
|
||||
public void getMatchdaysTippliga51SqlTest() throws ParseException {
|
||||
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 51, "Tippliga.json");
|
||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||
@@ -50,7 +51,7 @@ public class TLWMatchdaysCreatorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getMatchdaysTippliga52SqlTest() {
|
||||
public void getMatchdaysTippliga52SqlTest() throws ParseException {
|
||||
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 52, "Tippliga.json");
|
||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||
@@ -58,7 +59,7 @@ public class TLWMatchdaysCreatorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getMatchdaysWTLPokal48SqlTest() {
|
||||
public void getMatchdaysWTLPokal48SqlTest() throws ParseException {
|
||||
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 48, "WTL_Pokal.json");
|
||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||
@@ -66,7 +67,7 @@ public class TLWMatchdaysCreatorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getMatchdaysWTLPokal98SqlTest() {
|
||||
public void getMatchdaysWTLPokal98SqlTest() throws ParseException {
|
||||
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 98, "WTL_Pokal.json");
|
||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||
|
||||
@@ -2,10 +2,12 @@ package de.jeyp91.tippliga;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import java.text.ParseException;
|
||||
|
||||
public class TLWMatchesCreatorTipperPokalTest {
|
||||
|
||||
@Test
|
||||
public void getMatchesWTLPokalTest() {
|
||||
public void getMatchesWTLPokalTest() throws ParseException {
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 48, "WTL_Pokal.json");
|
||||
|
||||
TLWMatchesCreatorTipperPokal creator = new TLWMatchesCreatorTipperPokal(2021, 98, "WTL_Tipper.json", matchdaysCreator.getMatchdays());
|
||||
|
||||
@@ -2,12 +2,14 @@ package de.jeyp91.tippliga;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import java.text.ParseException;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class TLWMatchesCreatorTipperTest {
|
||||
|
||||
@Test
|
||||
public void getMatchesTippligaTest() {
|
||||
public void getMatchesTippligaTest() throws ParseException {
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 2, "Tippliga.json");
|
||||
|
||||
TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(2021, 52, "2TL_Tipper.json", matchdaysCreator.getMatchdays());
|
||||
|
||||
@@ -2,6 +2,7 @@ package de.jeyp91.tippliga;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
@@ -18,7 +19,7 @@ public class TLWTeamsCreatorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getTeamsTipper1TLTest() {
|
||||
public void getTeamsTipper1TLTest() throws ParseException {
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 1, "Tippliga.json");
|
||||
|
||||
TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(2021, 51, "1TL_Tipper.json", matchdaysCreator.getMatchdays());
|
||||
@@ -31,7 +32,7 @@ public class TLWTeamsCreatorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getTeamsTipper2TLTest() {
|
||||
public void getTeamsTipper2TLTest() throws ParseException {
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 2, "Tippliga.json");
|
||||
|
||||
TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(2021, 52, "2TL_Tipper.json", matchdaysCreator.getMatchdays());
|
||||
@@ -44,7 +45,7 @@ public class TLWTeamsCreatorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getTeamsTipperWTLTest() {
|
||||
public void getTeamsTipperWTLTest() throws ParseException {
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 48, "WTL_Pokal.json");
|
||||
|
||||
TLWMatchesCreatorTipperPokal creator = new TLWMatchesCreatorTipperPokal(2021, 98, "WTL_Tipper.json", matchdaysCreator.getMatchdays());
|
||||
|
||||
Reference in New Issue
Block a user