edited TODOs and comment header in clean_dbs.sh

This commit is contained in:
Gal Lerman 2015-07-06 23:49:03 +03:00 committed by Gal Lerman
parent cb89230327
commit 584e7fb394
3 changed files with 5 additions and 5 deletions

View file

@ -80,7 +80,10 @@ public class DustOfMoments extends CardImpl {
} }
//TODO: PermanentImpl.getCounters() and CardImpl.getCounters(game) don't return the same value for the same Card
//TODO: This means I can't use a Card generic for Permanents and Exiled cards and use Card.getCounters(game)
//TODO: This is the reason i've copy pasted some logic in DustOfMomentsEffect
//TODO: After this issue is fixed/explained i'll refactor the code
public abstract static class DustOfMomentsEffect extends OneShotEffect { public abstract static class DustOfMomentsEffect extends OneShotEffect {
private final Counter counter; private final Counter counter;

View file

@ -17,10 +17,6 @@ import org.mage.test.serverside.base.CardTestPlayerBase;
*/ */
public class DustOfMomentsTest extends CardTestPlayerBase { public class DustOfMomentsTest extends CardTestPlayerBase {
//TODO: why the hell is PermanentImpl.getCounters() and CardImpl.getCounters(game) don't return the same value for the same card???
//TODO: fix tooltip
//TODO: refactor effect code
@Test @Test
public void testRemoveCounters() throws Exception { public void testRemoveCounters() throws Exception {
initGame(); initGame();

View file

@ -1,2 +1,3 @@
#!/usr/bin/env bash
# Cleans the DB from Server, Client and Test modules # Cleans the DB from Server, Client and Test modules
find . -type f | grep -i cards.h2*.db | xargs rm -v find . -type f | grep -i cards.h2*.db | xargs rm -v