aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
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));
- }
-}