aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/helper/DistanceCalculatorTest.java (renamed from test/org/traccar/helper/DIstanceCalculatorTest.java)2
-rw-r--r--test/org/traccar/helper/LogTest.java13
2 files changed, 14 insertions, 1 deletions
diff --git a/test/org/traccar/helper/DIstanceCalculatorTest.java b/test/org/traccar/helper/DistanceCalculatorTest.java
index 293cbb114..7bbb4e3b1 100644
--- a/test/org/traccar/helper/DIstanceCalculatorTest.java
+++ b/test/org/traccar/helper/DistanceCalculatorTest.java
@@ -3,7 +3,7 @@ package org.traccar.helper;
import org.junit.Assert;
import org.junit.Test;
-public class DIstanceCalculatorTest {
+public class DistanceCalculatorTest {
@Test
public void testDistance() {
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")));
+ }
+
+}