|
@ -9,7 +9,7 @@ public class GamesTest extends TestCase { |
|
|
boolean actual = testObject.checkConnection(); |
|
|
boolean actual = testObject.checkConnection(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkGames() { |
|
|
public void test_checkGames() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Persona 5 Royal, Ratchet & Clank, Astral Chain, Fire Emblem: Three Houses, Triangle Strategy, Rhythm Paradise, Super Smash Bros. Ultimate, Yakuza: Dead Souls, Jet Set Radio Future, Breakdown, AI: The Somnium Files, Persona 3 Portable, Tomodachi Life, Beautiful Katamari, Atelier Totori Plus, Crash Bandicoot N. Sane Trilogy"; |
|
|
String expected = "Persona 5 Royal, Ratchet & Clank, Astral Chain, Fire Emblem: Three Houses, Triangle Strategy, Rhythm Paradise, Super Smash Bros. Ultimate, Yakuza: Dead Souls, Jet Set Radio Future, Breakdown, AI: The Somnium Files, Persona 3 Portable, Tomodachi Life, Beautiful Katamari, Atelier Totori Plus, Crash Bandicoot N. Sane Trilogy"; |
|
@ -142,35 +142,35 @@ public class GamesTest extends TestCase { |
|
|
String actual = testObject.checkPublisherSega(); |
|
|
String actual = testObject.checkPublisherSega(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkPublishers() { |
|
|
public void test_checkPublishers() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Sega, Atlus, Sony Computer Entertainment, Nintendo, Square Enix, Electronic Arts, Namco, Numskull Games, Spike Chunsoft, Ghostlight, Bandai Namco Games, Tecmo Koei Europe, Gust Co. Ltd., Tecmo Koei America, Activision"; |
|
|
String expected = "Sega, Atlus, Sony Computer Entertainment, Nintendo, Square Enix, Electronic Arts, Namco, Numskull Games, Spike Chunsoft, Ghostlight, Bandai Namco Games, Tecmo Koei Europe, Gust Co. Ltd., Tecmo Koei America, Activision"; |
|
|
String actual = testObject.checkPublishers(); |
|
|
String actual = testObject.checkPublishers(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkPublishersEu() { |
|
|
public void test_checkPublishersEu() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Sega, Sony Computer Entertainment, Nintendo, Electronic Arts, Numskull Games, Ghostlight, Bandai Namco Games, Tecmo Koei Europe, Activision"; |
|
|
String expected = "Sega, Sony Computer Entertainment, Nintendo, Electronic Arts, Numskull Games, Ghostlight, Bandai Namco Games, Tecmo Koei Europe, Activision"; |
|
|
String actual = testObject.checkPublishersEu(); |
|
|
String actual = testObject.checkPublishersEu(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkPublishersJp() { |
|
|
public void test_checkPublishersJp() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Atlus, Sony Computer Entertainment, Nintendo, Square Enix, Sega, Namco, Spike Chunsoft, Bandai Namco Games, Gust Co. Ltd., Activision"; |
|
|
String expected = "Atlus, Sony Computer Entertainment, Nintendo, Square Enix, Sega, Namco, Spike Chunsoft, Bandai Namco Games, Gust Co. Ltd., Activision"; |
|
|
String actual = testObject.checkPublishersJp(); |
|
|
String actual = testObject.checkPublishersJp(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkPublishersNa() { |
|
|
public void test_checkPublishersNa() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Atlus, Sony Computer Entertainment, Nintendo, Sega, Namco, Spike Chunsoft, Bandai Namco Games, Tecmo Koei America, Activision"; |
|
|
String expected = "Atlus, Sony Computer Entertainment, Nintendo, Sega, Namco, Spike Chunsoft, Bandai Namco Games, Tecmo Koei America, Activision"; |
|
|
String actual = testObject.checkPublishersNa(); |
|
|
String actual = testObject.checkPublishersNa(); |
|
|
assertEquals(expected, actual); |
|
|
assertEquals(expected, actual); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void test_checkReleaseDateUnknown() { |
|
|
public void test_checkReleaseDateUnknown() { |
|
|
Games testObject = new Games(); |
|
|
Games testObject = new Games(); |
|
|
String expected = "Breakdown, Atelier Totori Plus"; |
|
|
String expected = "Breakdown, Atelier Totori Plus"; |
|
|