aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/helper/PatternUtilTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/traccar/helper/PatternUtilTest.java')
-rw-r--r--src/test/java/org/traccar/helper/PatternUtilTest.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/helper/PatternUtilTest.java b/src/test/java/org/traccar/helper/PatternUtilTest.java
new file mode 100644
index 000000000..77660078a
--- /dev/null
+++ b/src/test/java/org/traccar/helper/PatternUtilTest.java
@@ -0,0 +1,18 @@
+package org.traccar.helper;
+
+import org.junit.Ignore;
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+
+public class PatternUtilTest {
+
+ @Ignore
+ @Test
+ public void testCheckPattern() {
+
+ assertEquals("ab", PatternUtil.checkPattern("abc", "abd").getPatternMatch());
+
+ }
+
+}