Season 2023
This commit is contained in:
@@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class TLWMatchdaysCreatorTest {
|
||||
|
||||
int season = 2022;
|
||||
int season = 2023;
|
||||
|
||||
@Test
|
||||
public void getMatchdaysTippligaTest() {
|
||||
@@ -22,7 +22,7 @@ public class TLWMatchdaysCreatorTest {
|
||||
|
||||
@Test
|
||||
public void getMatchdaysWTLPokalTest() {
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 1, "WTL-Pokal");
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 48, "WTL-Pokal");
|
||||
ArrayList<TLWMatchday> matchdays = matchdaysCreator.getMatchdays();
|
||||
|
||||
assertEquals((Integer) 1, matchdays.get(0).getMatchday());
|
||||
|
||||
@@ -8,11 +8,11 @@ import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class TLWMatchesCreatorFootballTest {
|
||||
|
||||
int season = 2022;
|
||||
int season = 2023;
|
||||
|
||||
@Test
|
||||
public void getMatchesTest() {
|
||||
TLWMatchesCreatorFootball creator = new TLWMatchesCreatorFootball(2021, 1, "WTL-Pokal");
|
||||
TLWMatchesCreatorFootball creator = new TLWMatchesCreatorFootball(season, 48, "WTL-Pokal");
|
||||
ArrayList<TLWMatch> matches = creator.getMatches();
|
||||
|
||||
assertEquals((Integer) 1, matches.get(0).getMatchNo());
|
||||
|
||||
@@ -4,11 +4,13 @@ import org.junit.Test;
|
||||
|
||||
public class TLWMatchesCreatorTipperPokalTest {
|
||||
|
||||
int season = 2023;
|
||||
|
||||
@Test
|
||||
public void getMatchesWTLPokalTest() {
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2022, 48, "WTL-Pokal");
|
||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(season, 48, "WTL-Pokal");
|
||||
|
||||
TLWMatchesCreatorTipperPokal creator = new TLWMatchesCreatorTipperPokal(2022, 98, "WTL-Pokal Tipper", matchdaysCreator.getMatchdays());
|
||||
TLWMatchesCreatorTipperPokal creator = new TLWMatchesCreatorTipperPokal(season, 98, "WTL-Pokal Tipper", matchdaysCreator.getMatchdays());
|
||||
|
||||
String sql = creator.getSQLInsertString();
|
||||
System.out.println(sql);
|
||||
|
||||
@@ -8,7 +8,7 @@ import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class TLWMatchesCreatorTipperTest {
|
||||
|
||||
int season = 2022;
|
||||
int season = 2023;
|
||||
|
||||
@Test
|
||||
public void getMatchesTippliga1Test() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class TLWTeamsCreatorTest {
|
||||
|
||||
int season = 2022;
|
||||
int season = 2023;
|
||||
|
||||
@Test
|
||||
public void getTeamsTippligaFootball1Test() {
|
||||
@@ -48,7 +48,7 @@ public class TLWTeamsCreatorTest {
|
||||
|
||||
TLWTeamsCreator teamCreator = new TLWTeamsCreator(2021, 49, matches);
|
||||
String sql = teamCreator.getSql();
|
||||
// System.out.println(sql);
|
||||
System.out.println(sql);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user