aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper/PatternUtilTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-24 14:56:35 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-24 14:56:35 +1200
commit85bb659197cc2395f2ff2511573af3b90292f535 (patch)
tree9436ef268071327e2fee89a1b7102e9645cb9de7 /test/org/traccar/helper/PatternUtilTest.java
parenta3f912fc98ce333045ed72c1942412505b039a20 (diff)
downloadtrackermap-server-85bb659197cc2395f2ff2511573af3b90292f535.tar.gz
trackermap-server-85bb659197cc2395f2ff2511573af3b90292f535.tar.bz2
trackermap-server-85bb659197cc2395f2ff2511573af3b90292f535.zip
Implement Aquila track protocol
Diffstat (limited to 'test/org/traccar/helper/PatternUtilTest.java')
-rw-r--r--test/org/traccar/helper/PatternUtilTest.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/org/traccar/helper/PatternUtilTest.java b/test/org/traccar/helper/PatternUtilTest.java
new file mode 100644
index 000000000..25a540291
--- /dev/null
+++ b/test/org/traccar/helper/PatternUtilTest.java
@@ -0,0 +1,16 @@
+package org.traccar.helper;
+
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+
+public class PatternUtilTest {
+
+ @Test
+ public void testCheckPattern() {
+
+ assertEquals("ab", PatternUtil.checkPattern("abc", "abd"));
+
+ }
+
+}