aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-27 18:13:42 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-12-27 18:13:42 -0800
commitd7c0913ba636bb32d9451b7b40d907d8a84bab93 (patch)
treec7fa9a9fc4022e3a7e150e6799b988e53b750ba5 /src/test/java/org/traccar/model
parentf40ef905b1db1aadabbd4496331755fb984d88c5 (diff)
downloadtrackermap-server-d7c0913ba636bb32d9451b7b40d907d8a84bab93.tar.gz
trackermap-server-d7c0913ba636bb32d9451b7b40d907d8a84bab93.tar.bz2
trackermap-server-d7c0913ba636bb32d9451b7b40d907d8a84bab93.zip
Remove XML attributes support
Diffstat (limited to 'src/test/java/org/traccar/model')
-rw-r--r--src/test/java/org/traccar/model/MiscFormatterTest.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/java/org/traccar/model/MiscFormatterTest.java b/src/test/java/org/traccar/model/MiscFormatterTest.java
deleted file mode 100644
index eb93d5b38..000000000
--- a/src/test/java/org/traccar/model/MiscFormatterTest.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package org.traccar.model;
-
-import static org.junit.Assert.assertEquals;
-import org.junit.Test;
-
-public class MiscFormatterTest {
-
- @Test
- public void testToString() throws Exception {
-
- Position position = new Position();
- position.set("a", "1");
- position.set("b", "2");
- position.set("a", "3");
-
- assertEquals("<info><a>3</a><b>2</b></info>", MiscFormatter.toXmlString(position.getAttributes()));
-
- }
-
-}