aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-04-28 14:59:53 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-04-28 14:59:53 +1200
commitc14f99819add0971a82ced01bf6d54ed77aedb74 (patch)
tree4a2991429fd91e4d3c2a18e04cbb6776cdfc3fc7 /src/org/traccar/Context.java
parentac88c14d7982ef7571ae6f09ec50267ea4f1062a (diff)
downloadtrackermap-server-c14f99819add0971a82ced01bf6d54ed77aedb74.tar.gz
trackermap-server-c14f99819add0971a82ced01bf6d54ed77aedb74.tar.bz2
trackermap-server-c14f99819add0971a82ced01bf6d54ed77aedb74.zip
Implement Aplicom CAN extension
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index af32267c9..a180a64ab 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -110,7 +110,11 @@ public class Context {
serverManager.init();
}
+ /**
+ * Initialize context for unit testing
+ */
public static void init(DataManager dataManager) {
+ properties = new Properties();
Context.dataManager = dataManager;
}