Add ability for additional delivery dates

This commit is contained in:
2021-03-20 15:07:45 +01:00
parent 14b45f638d
commit d54a7089c8
4 changed files with 114 additions and 61 deletions

View File

@@ -10,7 +10,7 @@ import static org.junit.Assert.assertEquals;
public class TLWMatchdaysCreatorTest {
@Test
public void getMatchdaysTippligaTest() throws ParseException {
public void getMatchdaysTippligaTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 1, "Tippliga");
ArrayList<TLWMatchday> matchdays = matchdaysCreator.getMatchdays();
@@ -19,7 +19,7 @@ public class TLWMatchdaysCreatorTest {
}
@Test
public void getMatchdaysWTLPokalTest() throws ParseException {
public void getMatchdaysWTLPokalTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 1, "WTL-Pokal");
ArrayList<TLWMatchday> matchdays = matchdaysCreator.getMatchdays();
@@ -27,7 +27,7 @@ public class TLWMatchdaysCreatorTest {
}
@Test
public void getMatchdaysTippliga1SqlTest() throws ParseException {
public void getMatchdaysTippliga1SqlTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 1, "Tippliga");
String sql = matchdaysCreator.getMatchdaysSQL();
@@ -35,7 +35,7 @@ public class TLWMatchdaysCreatorTest {
}
@Test
public void getMatchdaysTippliga2SqlTest() throws ParseException {
public void getMatchdaysTippliga2SqlTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 2, "Tippliga");
String sql = matchdaysCreator.getMatchdaysSQL();
@@ -43,7 +43,7 @@ public class TLWMatchdaysCreatorTest {
}
@Test
public void getMatchdaysTippliga51SqlTest() throws ParseException {
public void getMatchdaysTippliga51SqlTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 51, "Tippliga");
String sql = matchdaysCreator.getMatchdaysSQL();
@@ -51,7 +51,7 @@ public class TLWMatchdaysCreatorTest {
}
@Test
public void getMatchdaysTippliga52SqlTest() throws ParseException {
public void getMatchdaysTippliga52SqlTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 52, "Tippliga");
String sql = matchdaysCreator.getMatchdaysSQL();
@@ -59,7 +59,7 @@ public class TLWMatchdaysCreatorTest {
}
@Test
public void getMatchdaysWTLPokal48SqlTest() throws ParseException {
public void getMatchdaysWTLPokal48SqlTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 48, "WTL-Pokal");
String sql = matchdaysCreator.getMatchdaysSQL();
@@ -67,7 +67,7 @@ public class TLWMatchdaysCreatorTest {
}
@Test
public void getMatchdaysWTLPokal98SqlTest() throws ParseException {
public void getMatchdaysWTLPokal98SqlTest() {
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 98, "WTL-Pokal");
String sql = matchdaysCreator.getMatchdaysSQL();