diff options
author | Anton Tananaev <anton@traccar.org> | 2024-05-23 16:41:52 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-05-23 16:41:52 -0700 |
commit | 7df59714609a62d76ca2f34f2a9d9aed9feb956b (patch) | |
tree | 9ecb9dddc55cf38c3c651627e1fb7baaf56afa32 /src/test | |
parent | c466a8d2baea1913e5623b4dff13e8256220e648 (diff) | |
download | trackermap-server-7df59714609a62d76ca2f34f2a9d9aed9feb956b.tar.gz trackermap-server-7df59714609a62d76ca2f34f2a9d9aed9feb956b.tar.bz2 trackermap-server-7df59714609a62d76ca2f34f2a9d9aed9feb956b.zip |
Model-based Globalstar Atlas decoding
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/traccar/protocol/GlobalstarProtocolDecoderTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/org/traccar/protocol/GlobalstarProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GlobalstarProtocolDecoderTest.java index 995fffad0..e78c6c7e7 100644 --- a/src/test/java/org/traccar/protocol/GlobalstarProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/GlobalstarProtocolDecoderTest.java @@ -11,7 +11,7 @@ public class GlobalstarProtocolDecoderTest extends ProtocolTest { var decoder = inject(new GlobalstarProtocolDecoder(null)); - decoder.setAlternative(true); + decoder.setModelOverride("AtlasTrax"); verifyNull(decoder, request(HttpMethod.POST, "/", buffer( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n", @@ -24,7 +24,7 @@ public class GlobalstarProtocolDecoderTest extends ProtocolTest { "</stuMessage>\n", "</stuMessages>"))); - decoder.setAlternative(false); + decoder.setModelOverride(null); verifyPositions(decoder, request(HttpMethod.POST, "/", buffer( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>", |