aboutsummaryrefslogtreecommitdiffstats
path: root/test/eu/equalparts
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2016-08-12 00:06:14 +0200
committerEduardo Pedroni <e.pedroni91@gmail.com>2016-08-12 00:06:14 +0200
commit0db469d9ae90ad5b72eb0c93952e9ecc68a6d4e7 (patch)
treea028bb627b40e617ca87a6c42e0c0cca1103e5a3 /test/eu/equalparts
parentc07d860f1d90dc3961b31c87dbe637dbcd87da76 (diff)
Fixed minor issue with tests, should be passing now
Diffstat (limited to 'test/eu/equalparts')
-rw-r--r--test/eu/equalparts/cardbase/filtering/CardFilteringTest.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/eu/equalparts/cardbase/filtering/CardFilteringTest.java b/test/eu/equalparts/cardbase/filtering/CardFilteringTest.java
index c2ea71c..017e858 100644
--- a/test/eu/equalparts/cardbase/filtering/CardFilteringTest.java
+++ b/test/eu/equalparts/cardbase/filtering/CardFilteringTest.java
@@ -39,7 +39,7 @@ public class CardFilteringTest {
CardFiltering.filterByField(testCards, "name", Filter.EQUALS, "Callow jushi");
assertEquals("Wrong list size.", 1, testCards.size());
- assertEquals("Callow Jushi", testCards.get(0).name);
+ assertEquals("Callow Jushi", testCards.get(0).name.get());
}
@Test
@@ -80,7 +80,7 @@ public class CardFilteringTest {
CardFiltering.filterByField(testCards, "layout", Filter.EQUALS, "flip");
assertEquals("Wrong list size.", 1, testCards.size());
- assertEquals("Callow Jushi", testCards.get(0).name);
+ assertEquals("Callow Jushi", testCards.get(0).name.get());
}
@Test
@@ -110,7 +110,7 @@ public class CardFilteringTest {
CardFiltering.filterByField(testCards, "layout", Filter.REGEX, "fl[a-z]p");
assertEquals("Wrong list size.", 1, testCards.size());
- assertEquals("Callow Jushi", testCards.get(0).name);
+ assertEquals("Callow Jushi", testCards.get(0).name.get());
}
@Test
@@ -118,7 +118,7 @@ public class CardFilteringTest {
CardFiltering.filterByField(testCards, "manaCost", Filter.EQUALS, "{X}{U}{U}");
assertEquals("Wrong list size.", 1, testCards.size());
- assertEquals("Disrupting Shoal", testCards.get(0).name);
+ assertEquals("Disrupting Shoal", testCards.get(0).name.get());
}
@Test
@@ -143,7 +143,7 @@ public class CardFilteringTest {
CardFiltering.filterByField(testCards, "manaCost", Filter.REGEX, "(\\{G\\}){8}");
assertEquals("Wrong list size.", 1, testCards.size());
- assertEquals("Khalni Hydra", testCards.get(0).name);
+ assertEquals("Khalni Hydra", testCards.get(0).name.get());
}
@Test
@@ -151,7 +151,7 @@ public class CardFilteringTest {
CardFiltering.filterByField(testCards, "cmc", Filter.EQUALS, "5");
assertEquals("Wrong list size.", 1, testCards.size());
- assertEquals("Coerced Confession", testCards.get(0).name);
+ assertEquals("Coerced Confession", testCards.get(0).name.get());
}
@Test