aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-14 10:56:20 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-14 10:56:20 +0500
commit44691a373200b0e265df5a24e159f5cdff89fb96 (patch)
tree3caab981542ccb98e43636e83ddf741b1974b60d /test/org/traccar
parent48fee3a5e9c5f99a0195e4c06a058d33eba4e072 (diff)
downloadtraccar-server-44691a373200b0e265df5a24e159f5cdff89fb96.tar.gz
traccar-server-44691a373200b0e265df5a24e159f5cdff89fb96.tar.bz2
traccar-server-44691a373200b0e265df5a24e159f5cdff89fb96.zip
Populate driverUniqueId in CopyAttributesHanler
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/processing/PopulateDriverTest.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/org/traccar/processing/PopulateDriverTest.java b/test/org/traccar/processing/PopulateDriverTest.java
deleted file mode 100644
index 7c6ee9f06..000000000
--- a/test/org/traccar/processing/PopulateDriverTest.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package org.traccar.processing;
-
-import org.junit.Assert;
-import org.junit.Test;
-import org.traccar.model.Position;
-
-public class PopulateDriverTest {
-
- @Test
- public void testPopulateDriver() {
- Position position = new Position();
- PopulateDriverHandler populateDriverHandler = new PopulateDriverHandler();
- Assert.assertNull(populateDriverHandler.handlePosition(position).getString(Position.KEY_DRIVER_UNIQUE_ID));
- position.set(Position.KEY_DRIVER_UNIQUE_ID, "123");
- Assert.assertEquals("123",
- populateDriverHandler.handlePosition(position).getString(Position.KEY_DRIVER_UNIQUE_ID));
- position.set(Position.KEY_RFID, "321");
- Assert.assertEquals("321",
- populateDriverHandler.handlePosition(position).getString(Position.KEY_DRIVER_UNIQUE_ID));
- }
-}