mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
update JSoup, added test for Polluted Bonds, remove explicit parent groupId from poms
This commit is contained in:
parent
ff6dd3626f
commit
c8a4e7a46b
5 changed files with 33 additions and 6 deletions
|
@ -9,7 +9,6 @@
|
|||
<version>1.4.33</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-client</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Mage Client</name>
|
||||
|
@ -109,7 +108,7 @@
|
|||
<dependency>
|
||||
<groupId>org.jsoup</groupId>
|
||||
<artifactId>jsoup</artifactId>
|
||||
<version>1.5.2</version>
|
||||
<version>1.11.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<artifactId>truevfs-profile-base</artifactId>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<version>1.4.33</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage.server.console</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Mage Server Console</name>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
<version>1.4.33</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-sets</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Mage Sets</name>
|
||||
|
|
|
@ -1,4 +1,35 @@
|
|||
package org.mage.test.cards.triggers;
|
||||
|
||||
public class PollutedBondsTest {
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
public class PollutedBondsTest extends CardTestPlayerBase {
|
||||
|
||||
final String pollutedBonds = "Polluted Bonds";
|
||||
|
||||
@Test
|
||||
public void PollutedBondsSimple(){
|
||||
addCard(Zone.BATTLEFIELD, playerA, pollutedBonds);
|
||||
addCard(Zone.HAND, playerB, "Forest");
|
||||
playLand(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Forest");
|
||||
setStopAt(2, PhaseStep.POSTCOMBAT_MAIN);
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
assertLife(playerA, 22);
|
||||
assertLife(playerB, 18);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void PollutedBondsOwnLand(){
|
||||
addCard(Zone.BATTLEFIELD, playerA, pollutedBonds);
|
||||
addCard(Zone.HAND, playerA, "Forest");
|
||||
playLand(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Forest");
|
||||
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
assertLife(playerA, 20);
|
||||
assertLife(playerB, 20);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-updater</artifactId>
|
||||
<name>Mage Updater</name>
|
||||
|
||||
|
|
Loading…
Reference in a new issue