Remove system.out.println in testcases
This commit is contained in:
@@ -13,35 +13,35 @@ public class GistProviderTest {
|
|||||||
public void listAllGistsTest() {
|
public void listAllGistsTest() {
|
||||||
GistProvider prov = GistProvider.getInstance();
|
GistProvider prov = GistProvider.getInstance();
|
||||||
JSONArray gists = prov.listAllGists();
|
JSONArray gists = prov.listAllGists();
|
||||||
System.out.println(gists);
|
// System.out.println(gists);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getFileTest() {
|
public void getFileTest() {
|
||||||
GistProvider prov = GistProvider.getInstance();
|
GistProvider prov = GistProvider.getInstance();
|
||||||
String file = prov.getFileFromGist("Team_ID_Matcher.json");
|
String file = prov.getFileFromGist("Team_ID_Matcher.json");
|
||||||
System.out.println(file);
|
// System.out.println(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getTeamIdMatcherTest() {
|
public void getTeamIdMatcherTest() {
|
||||||
GistProvider prov = GistProvider.getInstance();
|
GistProvider prov = GistProvider.getInstance();
|
||||||
JSONArray matcher = prov.getTeamIdMatcher();
|
JSONArray matcher = prov.getTeamIdMatcher();
|
||||||
System.out.println(matcher);
|
// System.out.println(matcher);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getGistUpdatedTimestampTest() {
|
public void getGistUpdatedTimestampTest() {
|
||||||
GistProvider prov = GistProvider.getInstance();
|
GistProvider prov = GistProvider.getInstance();
|
||||||
DateTime date = prov.getGistUpdatedTimestamp("Matches");
|
DateTime date = prov.getGistUpdatedTimestamp("Matches");
|
||||||
System.out.println(date);
|
// System.out.println(date);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getGistIDTest() {
|
public void getGistIDTest() {
|
||||||
GistProvider prov = GistProvider.getInstance();
|
GistProvider prov = GistProvider.getInstance();
|
||||||
String id = prov.getGistID("Matches");
|
String id = prov.getGistID("Matches");
|
||||||
System.out.println(id);
|
// System.out.println(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
@@ -8,34 +8,34 @@ public class MatchesListCreatorTest {
|
|||||||
public void getMatchesTest2664() {
|
public void getMatchesTest2664() {
|
||||||
MatchesListCreator creator = new MatchesListCreator(2664);
|
MatchesListCreator creator = new MatchesListCreator(2664);
|
||||||
String matches = creator.getMatchesBeautful();
|
String matches = creator.getMatchesBeautful();
|
||||||
System.out.println(matches);
|
// System.out.println(matches);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getMatchesTest2743() {
|
public void getMatchesTest2743() {
|
||||||
MatchesListCreator creator = new MatchesListCreator(2743);
|
MatchesListCreator creator = new MatchesListCreator(2743);
|
||||||
String matches = creator.getMatchesBeautful();
|
String matches = creator.getMatchesBeautful();
|
||||||
System.out.println(matches);
|
// System.out.println(matches);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getMatchesTest2755() {
|
public void getMatchesTest2755() {
|
||||||
MatchesListCreator creator = new MatchesListCreator(2755);
|
MatchesListCreator creator = new MatchesListCreator(2755);
|
||||||
String matches = creator.getMatchesBeautful();
|
String matches = creator.getMatchesBeautful();
|
||||||
System.out.println(matches);
|
// System.out.println(matches);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getMatchesTest2790() {
|
public void getMatchesTest2790() {
|
||||||
MatchesListCreator creator = new MatchesListCreator(2790);
|
MatchesListCreator creator = new MatchesListCreator(2790);
|
||||||
String matches = creator.getMatchesBeautful();
|
String matches = creator.getMatchesBeautful();
|
||||||
System.out.println(matches);
|
// System.out.println(matches);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getMatchesTest2795() {
|
public void getMatchesTest2795() {
|
||||||
MatchesListCreator creator = new MatchesListCreator(2795);
|
MatchesListCreator creator = new MatchesListCreator(2795);
|
||||||
String matches = creator.getMatchesBeautful();
|
String matches = creator.getMatchesBeautful();
|
||||||
System.out.println(matches);
|
// System.out.println(matches);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,6 @@ public class TeamIDMatcherTemplateCreatorTest {
|
|||||||
public void getTeamsTemplate() {
|
public void getTeamsTemplate() {
|
||||||
TeamIDMatcherTemplateCreator creator = new TeamIDMatcherTemplateCreator(0, 2790);
|
TeamIDMatcherTemplateCreator creator = new TeamIDMatcherTemplateCreator(0, 2790);
|
||||||
String template = creator.getTeamsTemplate();
|
String template = creator.getTeamsTemplate();
|
||||||
System.out.println(template);
|
// System.out.println(template);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ public class TLWMatchdayUpdaterTest {
|
|||||||
|
|
||||||
String sql = matchdaysUpdater.getUpdateSql();
|
String sql = matchdaysUpdater.getUpdateSql();
|
||||||
|
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
System.out.println(matchdaysUpdater.getBeautifulInfo());
|
// System.out.println(matchdaysUpdater.getBeautifulInfo());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -20,7 +20,7 @@ public class TLWMatchdayUpdaterTest {
|
|||||||
|
|
||||||
String sql = matchdaysUpdater.getUpdateSql();
|
String sql = matchdaysUpdater.getUpdateSql();
|
||||||
|
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
System.out.println(matchdaysUpdater.getBeautifulInfo());
|
// System.out.println(matchdaysUpdater.getBeautifulInfo());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ public class TLWMatchdaysCreatorTest {
|
|||||||
|
|
||||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 1, "Tippliga.json");
|
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 1, "Tippliga.json");
|
||||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -39,7 +39,7 @@ public class TLWMatchdaysCreatorTest {
|
|||||||
|
|
||||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 2, "Tippliga.json");
|
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 2, "Tippliga.json");
|
||||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -47,7 +47,7 @@ public class TLWMatchdaysCreatorTest {
|
|||||||
|
|
||||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 51, "Tippliga.json");
|
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 51, "Tippliga.json");
|
||||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -55,7 +55,7 @@ public class TLWMatchdaysCreatorTest {
|
|||||||
|
|
||||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 52, "Tippliga.json");
|
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 52, "Tippliga.json");
|
||||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -63,7 +63,7 @@ public class TLWMatchdaysCreatorTest {
|
|||||||
|
|
||||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 48, "WTL_Pokal.json");
|
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 48, "WTL_Pokal.json");
|
||||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -71,6 +71,6 @@ public class TLWMatchdaysCreatorTest {
|
|||||||
|
|
||||||
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 98, "WTL_Pokal.json");
|
TLWMatchdaysCreator matchdaysCreator = new TLWMatchdaysCreator(2021, 98, "WTL_Pokal.json");
|
||||||
String sql = matchdaysCreator.getMatchdaysSQL();
|
String sql = matchdaysCreator.getMatchdaysSQL();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,20 +15,20 @@ public class TLWMatchesCreatorFootballTest {
|
|||||||
|
|
||||||
assertEquals((Integer) 1, matches.get(0).getMatchNo());
|
assertEquals((Integer) 1, matches.get(0).getMatchNo());
|
||||||
assertEquals((Integer) 11, matches.get(10).getMatchNo());
|
assertEquals((Integer) 11, matches.get(10).getMatchNo());
|
||||||
System.out.println(matches.get(0).getSQLQueryReplace());
|
// System.out.println(matches.get(0).getSQLQueryReplace());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getMatchesTippligaSqlTest() {
|
public void getMatchesTippligaSqlTest() {
|
||||||
TLWMatchesCreatorFootball creator = new TLWMatchesCreatorFootball(2021, 2, "Tippliga.json");
|
TLWMatchesCreatorFootball creator = new TLWMatchesCreatorFootball(2021, 2, "Tippliga.json");
|
||||||
String sql = creator.getSQLInsertString();
|
String sql = creator.getSQLInsertString();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getMatchesWTLPokalSqlTest() {
|
public void getMatchesWTLPokalSqlTest() {
|
||||||
TLWMatchesCreatorFootball creator = new TLWMatchesCreatorFootball(2021, 48, "WTL_Pokal.json");
|
TLWMatchesCreatorFootball creator = new TLWMatchesCreatorFootball(2021, 48, "WTL_Pokal.json");
|
||||||
String sql = creator.getSQLInsertString();
|
String sql = creator.getSQLInsertString();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,6 @@ public class TLWMatchesCreatorTipperPokalTest {
|
|||||||
TLWMatchesCreatorTipperPokal creator = new TLWMatchesCreatorTipperPokal(2021, 98, "WTL_Tipper.json", matchdaysCreator.getMatchdays());
|
TLWMatchesCreatorTipperPokal creator = new TLWMatchesCreatorTipperPokal(2021, 98, "WTL_Tipper.json", matchdaysCreator.getMatchdays());
|
||||||
|
|
||||||
String sql = creator.getSQLInsertString();
|
String sql = creator.getSQLInsertString();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,6 +15,6 @@ public class TLWMatchesCreatorTipperTest {
|
|||||||
TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(2021, 52, "2TL_Tipper.json", matchdaysCreator.getMatchdays());
|
TLWMatchesCreatorTipperLeague creator = new TLWMatchesCreatorTipperLeague(2021, 52, "2TL_Tipper.json", matchdaysCreator.getMatchdays());
|
||||||
|
|
||||||
String sql = creator.getSQLInsertString();
|
String sql = creator.getSQLInsertString();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ public class TLWMatchesUpdaterFootballTest {
|
|||||||
TLWMatchesUpdaterFootball updater = new TLWMatchesUpdaterFootball(2021, 1, "Tippliga.json");
|
TLWMatchesUpdaterFootball updater = new TLWMatchesUpdaterFootball(2021, 1, "Tippliga.json");
|
||||||
String sql = updater.getUpdateSQL();
|
String sql = updater.getUpdateSQL();
|
||||||
|
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
System.out.println(updater.getBeautifulInfo());
|
// System.out.println(updater.getBeautifulInfo());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -18,8 +18,8 @@ public class TLWMatchesUpdaterFootballTest {
|
|||||||
TLWMatchesUpdaterFootball updater = new TLWMatchesUpdaterFootball(2021, 2, "Tippliga.json");
|
TLWMatchesUpdaterFootball updater = new TLWMatchesUpdaterFootball(2021, 2, "Tippliga.json");
|
||||||
String sql = updater.getUpdateSQL();
|
String sql = updater.getUpdateSQL();
|
||||||
|
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
System.out.println(updater.getBeautifulInfo());
|
// System.out.println(updater.getBeautifulInfo());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -27,7 +27,7 @@ public class TLWMatchesUpdaterFootballTest {
|
|||||||
TLWMatchesUpdaterFootball updater = new TLWMatchesUpdaterFootball(2021, 48, "WTL_Pokal.json");
|
TLWMatchesUpdaterFootball updater = new TLWMatchesUpdaterFootball(2021, 48, "WTL_Pokal.json");
|
||||||
String sql = updater.getUpdateSQL();
|
String sql = updater.getUpdateSQL();
|
||||||
|
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
System.out.println(updater.getBeautifulInfo());
|
// System.out.println(updater.getBeautifulInfo());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ public class TLWTeamsCreatorTest {
|
|||||||
|
|
||||||
TLWTeamsCreator teamCreator = new TLWTeamsCreator(2021, 1, matches);
|
TLWTeamsCreator teamCreator = new TLWTeamsCreator(2021, 1, matches);
|
||||||
String sql = teamCreator.getSql();
|
String sql = teamCreator.getSql();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -28,7 +28,7 @@ public class TLWTeamsCreatorTest {
|
|||||||
|
|
||||||
TLWTeamsCreator teamCreator = new TLWTeamsCreator(2021, 51, matches);
|
TLWTeamsCreator teamCreator = new TLWTeamsCreator(2021, 51, matches);
|
||||||
String sql = teamCreator.getSql();
|
String sql = teamCreator.getSql();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -41,7 +41,7 @@ public class TLWTeamsCreatorTest {
|
|||||||
|
|
||||||
TLWTeamsCreator teamCreator = new TLWTeamsCreator(2021, 52, matches);
|
TLWTeamsCreator teamCreator = new TLWTeamsCreator(2021, 52, matches);
|
||||||
String sql = teamCreator.getSql();
|
String sql = teamCreator.getSql();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@@ -54,6 +54,6 @@ public class TLWTeamsCreatorTest {
|
|||||||
|
|
||||||
TLWTeamsCreator teamCreator = new TLWTeamsCreator(2021, 98, matches);
|
TLWTeamsCreator teamCreator = new TLWTeamsCreator(2021, 98, matches);
|
||||||
String sql = teamCreator.getSql();
|
String sql = teamCreator.getSql();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,20 +8,20 @@ public class TLWTeamsUpdaterTest {
|
|||||||
public void getInsertSQLTest1() throws Exception {
|
public void getInsertSQLTest1() throws Exception {
|
||||||
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 1, "Tippliga.json");
|
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 1, "Tippliga.json");
|
||||||
String sql = teamsUpdater.getInsertSQL();
|
String sql = teamsUpdater.getInsertSQL();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getInsertSQLTest2() throws Exception {
|
public void getInsertSQLTest2() throws Exception {
|
||||||
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 2, "Tippliga.json");
|
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 2, "Tippliga.json");
|
||||||
String sql = teamsUpdater.getInsertSQL();
|
String sql = teamsUpdater.getInsertSQL();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getInsertSQLTest48() throws Exception {
|
public void getInsertSQLTest48() throws Exception {
|
||||||
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 48, "WTL_Pokal.json");
|
TLWTeamsUpdater teamsUpdater = new TLWTeamsUpdater(2021, 48, "WTL_Pokal.json");
|
||||||
String sql = teamsUpdater.getInsertSQL();
|
String sql = teamsUpdater.getInsertSQL();
|
||||||
System.out.println(sql);
|
// System.out.println(sql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user