diff options
author | Abyss777 <abyss@fox5.ru> | 2016-08-13 20:36:46 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-08-13 20:36:46 +0500 |
commit | 82c2d713d4da71f8eeef3e134b06dbb0abf37633 (patch) | |
tree | cd9ae5e6e49073ae756220a5159e7e2b9207428a /test/org/traccar | |
parent | b47795087d138ccd6d9634aadcfd29cbca629218 (diff) | |
download | traccar-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.tar.gz traccar-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.tar.bz2 traccar-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.zip |
- Split distance to distance and total distance
- Switch summary report to total distance
- Move DistanceHandler after filters in pipeline
- Other accompanying changes
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/DistanceHandlerTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/org/traccar/DistanceHandlerTest.java b/test/org/traccar/DistanceHandlerTest.java index 853f2c645..b14caaec5 100644 --- a/test/org/traccar/DistanceHandlerTest.java +++ b/test/org/traccar/DistanceHandlerTest.java @@ -15,6 +15,7 @@ public class DistanceHandlerTest { Position position = distanceHandler.calculateDistance(new Position()); assertEquals(0.0, position.getAttributes().get(Position.KEY_DISTANCE)); + assertEquals(0.0, position.getAttributes().get(Position.KEY_TOTAL_DISTANCE)); } |