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