diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-25 21:00:19 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-25 21:00:19 +1300 |
commit | db08f36b51f7f51e901cc778a79ba8949c1d6d08 (patch) | |
tree | b39e8d0a51cd266d498271b344b2ff99f0404967 /test/org/traccar/helper/PatternBuilderTest.java | |
parent | 78f7e386fe4fb46fc0c9295853a2467408330dfd (diff) | |
download | trackermap-server-db08f36b51f7f51e901cc778a79ba8949c1d6d08.tar.gz trackermap-server-db08f36b51f7f51e901cc778a79ba8949c1d6d08.tar.bz2 trackermap-server-db08f36b51f7f51e901cc778a79ba8949c1d6d08.zip |
Refactor Meiligao protocol decoder
Diffstat (limited to 'test/org/traccar/helper/PatternBuilderTest.java')
-rw-r--r-- | test/org/traccar/helper/PatternBuilderTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/org/traccar/helper/PatternBuilderTest.java b/test/org/traccar/helper/PatternBuilderTest.java index 10621693e..36054bcea 100644 --- a/test/org/traccar/helper/PatternBuilderTest.java +++ b/test/org/traccar/helper/PatternBuilderTest.java @@ -13,6 +13,7 @@ public class PatternBuilderTest { Assert.assertEquals("a|b", new PatternBuilder().expression("a|b").toString()); Assert.assertEquals("ab\\|", new PatternBuilder().expression("ab|").toString()); Assert.assertEquals("|", new PatternBuilder().or().toString()); + Assert.assertEquals("\\|\\d|\\d\\|", new PatternBuilder().number("|d|d|").toString()); } } |