update JSoup, added test for Polluted Bonds, remove explicit parent groupId from poms

This commit is contained in:
Ingmar Goudt 2019-02-11 15:03:18 +01:00
parent ff6dd3626f
commit c8a4e7a46b
5 changed files with 33 additions and 6 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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);
}
}

View file

@ -9,7 +9,6 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.mage</groupId>
<artifactId>mage-updater</artifactId>
<name>Mage Updater</name>