Prepare season 2026

This commit is contained in:
2025-07-19 14:28:39 +02:00
parent ece15b8648
commit 2c81d0cac3
17 changed files with 791 additions and 26 deletions

View File

@@ -8,7 +8,7 @@ public class S3ProviderTest {
@Test
public void getFixturesFromS3Test() {
S3Provider prov = new S3Provider();
JSONObject rounds = prov.getFixturesJSONFromS3(2025, 1240);
JSONObject rounds = prov.getFixturesJSONFromS3(2026, 1240);
System.out.println(rounds.toJSONString());
}
}

View File

@@ -4,7 +4,7 @@ import org.junit.Test;
public class APIFootballUpdaterTest {
int season = 2025;
int season = 2026;
@Test
public void checkErrorsTest() {
@@ -21,7 +21,7 @@ public class APIFootballUpdaterTest {
@Test
public void updateFixturesTest() {
APIFootballUpdater updater = new APIFootballUpdater();
updater.updateFixtures(2025, 79);
updater.updateFixtures(season, 79);
}
@Test

View File

@@ -1,15 +1,13 @@
package de.jeyp91.tippliga;
import org.junit.Test;
import java.text.ParseException;
import java.util.ArrayList;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class TLWMatchdaysCreatorTest {
int season = 2025;
int season = 2026;
@Test
public void getMatchdaysTippligaTest() {

View File

@@ -8,7 +8,7 @@ import static org.junit.Assert.assertEquals;
public class TLWMatchesCreatorFootballTest {
int season = 2025;
int season = 2026;
@Test
public void getMatchesTest() {

View File

@@ -4,7 +4,7 @@ import org.junit.Test;
public class TLWMatchesCreatorTipperPokalTest {
int season = 2025;
int season = 2026;
@Test
public void getMatchesWTLPokalTest() {

View File

@@ -4,7 +4,7 @@ import org.junit.Test;
public class TLWMatchesCreatorTipperTest {
int season = 2025;
int season = 2026;
@Test
public void getMatchesTippliga1Test() {

View File

@@ -4,7 +4,7 @@ import org.junit.Test;
public class TLWMatchesUpdaterFootballTest {
int season = 2025;
int season = 2026;
@Test
public void getUpdateSqlTest1() {
TLWMatchesUpdaterFootball updater = new TLWMatchesUpdaterFootball(season, 1, "Tippliga");

View File

@@ -6,7 +6,7 @@ import org.junit.Test;
public class TLWTeamsCreatorTest {
int season = 2025;
int season = 2026;
@Test
public void getTeamsTippligaFootball1Test() {

View File

@@ -6,35 +6,35 @@ public class MatchesListCreatorTest {
@Test
public void getMatchesTest2664() {
MatchesListCreator creator = new MatchesListCreator(2025, 2664);
MatchesListCreator creator = new MatchesListCreator(2026, 2664);
String matches = creator.getMatchesBeautiful();
// System.out.println(matches);
}
@Test
public void getMatchesTest2743() {
MatchesListCreator creator = new MatchesListCreator(2025, 2743);
MatchesListCreator creator = new MatchesListCreator(2026, 2743);
String matches = creator.getMatchesBeautiful();
System.out.println(matches);
}
@Test
public void getMatchesTest2755() {
MatchesListCreator creator = new MatchesListCreator(2025, 2755);
MatchesListCreator creator = new MatchesListCreator(2026, 2755);
String matches = creator.getMatchesBeautiful();
// System.out.println(matches);
}
@Test
public void getMatchesTest2790() {
MatchesListCreator creator = new MatchesListCreator(2025, 2790);
MatchesListCreator creator = new MatchesListCreator(2026, 2790);
String matches = creator.getMatchesBeautiful();
// System.out.println(matches);
}
@Test
public void getMatchesTest2795() {
MatchesListCreator creator = new MatchesListCreator(2025, 2795);
MatchesListCreator creator = new MatchesListCreator(2026, 2795);
String matches = creator.getMatchesBeautiful();
// System.out.println(matches);
}

View File

@@ -6,8 +6,8 @@ public class MatchesListForumUpdaterTest {
@Test
public void updateAllLeaguesTest() {
MatchesListForumUpdater updater = new MatchesListForumUpdater(2025);
updater.updateAllLeagues(2025);
MatchesListForumUpdater updater = new MatchesListForumUpdater(2026);
updater.updateAllLeagues(2026);
}
@Test