Class TeatimeTests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<TestResult>
Teatime does not affect Pokémon that are in the semi-invulnerable state of a move.static CompletableFuture<TestResult>
Teatime causes all Pokémon on the field to eat their held Berry.static CompletableFuture<TestResult>
Teatime forces Pokémon behind substitutes to eat their berries.static CompletableFuture<TestResult>
Teatime causes Pokémon to eat their Berries even in the presence of Magic Room.static CompletableFuture<TestResult>
Teatime causes Pokémon to eat their Berries even in the presence of Unnerve.static CompletableFuture<TestResult>
Teatime forces Pokémon with the Klutz ability to eat their berries.static CompletableFuture<TestResult>
Teatime does not affect Pokémon under the effect of Max Guard.static CompletableFuture<TestResult>
testShouldAffectElectricTypeAbsorbingAbilitiesIfTeatimeIsChangedToElectricType
(BattleTestHelper helper) Teatime causes all Pokémon on the field to eat their held Berry.static CompletableFuture<TestResult>
Teatime does not prevent Pokémon from getting a new berry with the Recycle move.
-
Constructor Details
-
TeatimeTests
public TeatimeTests()
-
-
Method Details
-
testForcesAllPokemonToEatTheirHeldBerry
public static CompletableFuture<TestResult> testForcesAllPokemonToEatTheirHeldBerry(BattleTestHelper helper) Teatime causes all Pokémon on the field to eat their held Berry.In this test, a Polteageist that is holding a Lansat Berry and that knows the move Teatime is on a team with a Wynaut that is holding a Lum Berry and that knows the move Sleep Talk. In a double battle, they face a Bulbasaur that is holding an Oran Berry and knows Sleep Talk along with a Magikarp that is holding an Aguav Berry and knows Splash. - Turn 1 The Magikarp uses Splash. The Polteageist uses Teatime. The Magikarp eats its Aguav Berry. The Polteageist eats its Lansat Berry. The Bulbasaur eats its Oran Berry. The Wynaut eats its Lum Berry. The Bulbasaur uses Sleep Talk. The Wynaut uses Sleep Talk. - We verify that the Magikarp does not have a held item. We verify that the Polteageist does not have a held item. We verify that the Bulbasaur does not have a held item. We verify that the Wynaut does not have a held item.
-
testForcesPokemonToEatBerriesWhileAffectedByUnnerve
public static CompletableFuture<TestResult> testForcesPokemonToEatBerriesWhileAffectedByUnnerve(BattleTestHelper helper) Teatime causes Pokémon to eat their Berries even in the presence of Unnerve.In this test, a Polteageist that is holding a Lansat Berry and that knows the move Teatime, faces off against a Corvisquire that is holding an Oran Berry and knows the move Sleep Talk. - The Corvisquire uses Sleep Talk. The Polteageist uses Teatime. The Polteageist eats its Lansat Berry. The Corvisquire eats its Oran Berry. - We verify that the Polteageist does not have a held item. We verify that the Corvisquire does not have a held item.
-
testForcesPokemonToEatBerriesWhileAffectedByMagicRoom
public static CompletableFuture<TestResult> testForcesPokemonToEatBerriesWhileAffectedByMagicRoom(BattleTestHelper helper) Teatime causes Pokémon to eat their Berries even in the presence of Magic Room.In this test, a Polteageist that is holding a Lansat Berry and that knows the move Teatime, faces off against an Azelf that is holding an Oran Berry and knows the move Magic Room. The Azelf moves first. - The Azelf uses Magic Room. Pokémon can no longer use their held items. The Polteageist uses Teatime. The Polteageist eats its Lansat Berry. The Azelf eats its Oran Berry. - We verify that the Polteageist does not have a held item. We verify that the Azelf does not have a held item.
-
testForcesPokemonWithKlutzToEatTheirBerries
public static CompletableFuture<TestResult> testForcesPokemonWithKlutzToEatTheirBerries(BattleTestHelper helper) Teatime forces Pokémon with the Klutz ability to eat their berries.In this test, a Polteageist that is holding a Lansat Berry and that knows the move Teatime, faces off against a Buneary with the Klutz ability that is holding an Oran Berry and knows the move Sleep Talk. - Turn 1 The Buneary uses Sleep Talk. The Polteageist uses Teatime. The Polteageist eats its Lansat Berry. The Buneary eats its Oran Berry. - We verify that the Polteageist does not have a held item. We verify that the Buneary does not have a held item.
-
testForcesPokemonBehindSubstitutesToEatTheirBerries
public static CompletableFuture<TestResult> testForcesPokemonBehindSubstitutesToEatTheirBerries(BattleTestHelper helper) Teatime forces Pokémon behind substitutes to eat their berries.In this test, a Polteageist that is holding a Lansat Berry and that knows the move Teatime, faces off against a Bibarel that is holding an Oran Berry and knows the move Substitute. The Bibarel moves first. - Turn 1 The Bibarel uses Substitute. The Polteageist uses Teatime. The Polteageist eats its Lansat Berry. The Bibarel eats its Oran Berry. - We verify that the Polteageist does not have a held item. We verify that the Bibarel does not have a held item.
-
testDoesNotAffectSemiInvulnerablePokemon
public static CompletableFuture<TestResult> testDoesNotAffectSemiInvulnerablePokemon(BattleTestHelper helper) Teatime does not affect Pokémon that are in the semi-invulnerable state of a move.In this test, a Polteageist that is holding a Lansat Berry and that knows the move Teatime, faces off against a Barraskewda that is holding an Oran Berry and knows the move Dive. The Barraskewda moves first. - Turn 1 The Barraskewda uses Dive. The Polteageist uses Teatime. The Polteageist eats its Lansat Berry. The Barraskewda doesn't eat its Oran Berry. - We verify that the Polteageist does not have a held item. We verify that the Barraskewda has a held item.
-
testShouldNotCauseRecycleToFailToRestoreTheBerry
public static CompletableFuture<TestResult> testShouldNotCauseRecycleToFailToRestoreTheBerry(BattleTestHelper helper) Teatime does not prevent Pokémon from getting a new berry with the Recycle move.In this test, a Polteageist that is holding a Lansat Berry and that knows the moves Teatime and Sleep Talk, faces off against a Mime Jr. that is holding an Oran Berry and knows the moves Sleep Talk and Recycle. The Polteageist moves first. - Turn 1 The Polteageist uses Teatime. The Polteageist eats its Lansat Berry. The Mime Jr. eats its Oran Berry. The Mime Jr. uses Sleep Talk. Turn 2 The Polteageist uses Sleep Talk. The Mime Jr. uses Recycle. The Mime Jr. recovers its Oran Berry. - After turn 1... We verify that the Polteageist does not have a held item. We verify that the Mime Jr. does not have a held item. After turn 2... We verify that the Polteageist does not have a held item. We verify that the Mime Jr. has a held item.
-
testShouldAffectElectricTypeAbsorbingAbilitiesIfTeatimeIsChangedToElectricType
public static CompletableFuture<TestResult> testShouldAffectElectricTypeAbsorbingAbilitiesIfTeatimeIsChangedToElectricType(BattleTestHelper helper) Teatime causes all Pokémon on the field to eat their held Berry.In this Triple Battle test One team has: a Polteageist that is holding a Lansat Berry and that knows the move Teatime, a Ampharos that is holding a Lum Berry and that knows the move Ion Deluge, a Grimer that is holding a Liechi Berry and that knows Acid Armor. The opposing team has: a Jolteon that has the Volt Absorb ability, no item, that knows Agility, and starts at 76% HP, an Electivire that has the Motor Drive ability, that is holding an Aguav Berry, and that knows Light Screen, a Goldeen that that has the Lightning Rod ability, an Oran Berry, and Aqua Ring. We don't want to use any single-target Electric-type or Normal-type moves to prevent extra attacks getting redirected to Goldeen and raising its Special Attack higher than expected. - Turn 1 The Ampharos uses Ion Deluge. For the remainder of the turn, all Normal-type moves will be Electric-type. The Jolteon uses Agility. The Polteageist's Teatime will now be Electric-typed instead of Ghost-typed. The Electivire uses Light Screen. The Polteageist uses Teatime. Only Polteageist, Ampharos, and Grimer eat their berry. The Jolteon's Volt Absorb activates - despite not holding a berry - from the Electric-typed Teatime. The Jolteon recovers 25% of its HP to return to 100% HP. The Electivire's Motor Drive activates and its Speed is increased by one stage. The Goldeen's Lightning Rod activates and increases its Special attack by one stage. The Grimer uses Acid Armor. The Goldeen uses Aqua Ring. - We verify that the Teatime was Electric-typed. We verify that the Jolteon does not have a held item. We verify that the Ampharos does not have a held item. We verify that the Electivire has a held item. We verify that the Grimer does not have a held item. We verify that the Polteageist does not have a held item. We verify that the Goldeen has a held item. We verify that the Jolteon is at full health. We verify that the Electivire had its Speed increased by one stage. We verify that the Goldeen has its Special Attack increased by one stage.
-
testIsBlockedByMaxGuard
Teatime does not affect Pokémon under the effect of Max Guard.In this test, a Polteageist that is holding a Lansat Berry and that knows the move Teatime, faces off against a Corvisquire that is holding an Oran Berry and knows the move Sleep Talk. - The Corvisquire Dynamaxes. The Corvisquire uses Max Guard. The Polteageist uses Teatime. The Polteageist eats its Lansat Berry. The Corvisquire doesn't eat its Oran Berry. - We verify that the Corvisquire dynamaxed. We verify that the Polteageist does not have a held item. We verify that the Corvisquire has a held item.
-