aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/helper/LogTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/org/traccar/helper/LogTest.java')
-rw-r--r--test/org/traccar/helper/LogTest.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/org/traccar/helper/LogTest.java b/test/org/traccar/helper/LogTest.java
new file mode 100644
index 000000000..08872c1dc
--- /dev/null
+++ b/test/org/traccar/helper/LogTest.java
@@ -0,0 +1,13 @@
+package org.traccar.helper;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+public class LogTest {
+
+ @Test
+ public void testLog() {
+ Assert.assertEquals("test - Exception (LogTest.java:10)", Log.exception(new Exception("test")));
+ }
+
+}