Integrated by hand part of the pull request #13 'fix pom and clean deprecated class and add bat file to windows'

This commit is contained in:
andrea
2015-03-04 22:40:56 +01:00
parent 443682f24f
commit 4baf407657
10 changed files with 69 additions and 21 deletions
@@ -46,7 +46,7 @@ public class SubscriptionsStoreTest {
@Test
public void testParseTopic() throws ParseException {
List tokens = store.parseTopic("finance/stock/ibm");
List<Token> tokens = store.parseTopic("finance/stock/ibm");
assertEqualsSeq(asArray("finance", "stock", "ibm"), tokens);
tokens = store.parseTopic("/finance/stock/ibm");
@@ -63,7 +63,7 @@ public class SubscriptionsStoreTest {
@Test
public void testParseTopicMultiValid() throws ParseException {
List tokens = store.parseTopic("finance/stock/#");
List<Token> tokens = store.parseTopic("finance/stock/#");
assertEqualsSeq(asArray("finance", "stock", Token.MULTI), tokens);
tokens = store.parseTopic("#");
@@ -82,7 +82,7 @@ public class SubscriptionsStoreTest {
@Test
public void testParseTopicSingleValid() throws ParseException {
List tokens = store.parseTopic("finance/stock/+");
List<Token> tokens = store.parseTopic("finance/stock/+");
assertEqualsSeq(asArray("finance", "stock", Token.SINGLE), tokens);
tokens = store.parseTopic("+");