Class SubstituteTests
java.lang.Object
com.pixelmonmod.pixelmon.api.test.impl.move.SubstituteTests
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>static CompletableFuture<TestResult>
- 
Constructor Details- 
SubstituteTestspublic SubstituteTests()
 
- 
- 
Method Details- 
shouldNotPreventStatDropsThatBypassSubstitutepublic static CompletableFuture<TestResult> shouldNotPreventStatDropsThatBypassSubstitute(BattleTestHelper helper) 
- 
testShouldDeduct25PercentOfMaxHPRoundedDownpublic static CompletableFuture<TestResult> testShouldDeduct25PercentOfMaxHPRoundedDown(BattleTestHelper helper) 
- 
testShouldNotBlockOwnMoves
- 
testShouldBlockMostAttackingMovespublic static CompletableFuture<TestResult> testShouldBlockMostAttackingMoves(BattleTestHelper helper) 
- 
testShouldNotBlockRecoil
- 
testHitsToSubStillDealRecoil
- 
testDrainingFromSubBasedOnSubHealthpublic static CompletableFuture<TestResult> testDrainingFromSubBasedOnSubHealth(BattleTestHelper helper) 
- 
testSubBlocksMostStatus
- 
testMultiHitsContinueAfterSubBreakspublic static CompletableFuture<TestResult> testMultiHitsContinueAfterSubBreaks(BattleTestHelper helper) 
- 
testShedinjaCannotUseSubstitutepublic static CompletableFuture<TestResult> testShedinjaCannotUseSubstitute(BattleTestHelper helper) 
- 
testShouldBeRemovedByDynamax
- 
shouldBlockEntryHazardEffects
- 
shouldNotBlockToxicSpikesRemovalpublic static CompletableFuture<TestResult> shouldNotBlockToxicSpikesRemoval(BattleTestHelper helper) 
- 
shouldNotPreventAttackDropFromIntimidateAfterBeingBrokenByUTurnpublic static CompletableFuture<TestResult> shouldNotPreventAttackDropFromIntimidateAfterBeingBrokenByUTurn(BattleTestHelper helper) 
- 
shouldPreventAttackDropFromUTurnIntoIntimidatepublic static CompletableFuture<TestResult> shouldPreventAttackDropFromUTurnIntoIntimidate(BattleTestHelper helper) 
- 
shouldNotPreventTransformationFromImposterAfterBeingBrokenByUTurnpublic static CompletableFuture<TestResult> shouldNotPreventTransformationFromImposterAfterBeingBrokenByUTurn(BattleTestHelper helper) 
- 
shouldNotTakeReducedDamageFromFalseSwipeBasedOnHPpublic static CompletableFuture<TestResult> shouldNotTakeReducedDamageFromFalseSwipeBasedOnHP(BattleTestHelper helper) 
- 
shouldNotLeaveSubstituteAt1HP
- 
substituteShouldNotBeDamagedByMovesThePokemonIsImmuneTopublic static CompletableFuture<TestResult> substituteShouldNotBeDamagedByMovesThePokemonIsImmuneTo(BattleTestHelper helper) 
- 
shouldPreventContactEffectsThatHitSubstitutepublic static CompletableFuture<TestResult> shouldPreventContactEffectsThatHitSubstitute(BattleTestHelper helper) 
- 
shouldNotCauseContactEffectsOnCheckedStrikesBreakingSubstitutepublic static CompletableFuture<TestResult> shouldNotCauseContactEffectsOnCheckedStrikesBreakingSubstitute(BattleTestHelper helper) 
- 
shouldNotCauseContactEffectsOnMultipleHitBreakingSubstitutepublic static CompletableFuture<TestResult> shouldNotCauseContactEffectsOnMultipleHitBreakingSubstitute(BattleTestHelper helper) 
- 
shouldOnlyBlockOpposingTricks
- 
shouldOnlyBlockEvasionDropOnDefogpublic static CompletableFuture<TestResult> shouldOnlyBlockEvasionDropOnDefog(BattleTestHelper helper) 
- 
shouldPreventForcedSwitchMoves
- 
shouldNotPreventForcedSwitchMovesWhenBypassedpublic static CompletableFuture<TestResult> shouldNotPreventForcedSwitchMovesWhenBypassed(BattleTestHelper helper) 
- 
shouldPreventBerryDestruction
- 
testDefensiveAbilitiesTriggersOnPokemonBehindSubpublic static CompletableFuture<TestResult> testDefensiveAbilitiesTriggersOnPokemonBehindSub(BattleTestHelper helper) 
- 
testDefensiveStatusTriggersOnPokemonBehindSubpublic static CompletableFuture<TestResult> testDefensiveStatusTriggersOnPokemonBehindSub(BattleTestHelper helper) 
 
-