diff options
author | Anton Tananaev <anton@traccar.org> | 2023-07-22 07:57:30 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-07-22 07:57:30 -0700 |
commit | a596ba5287375609adab2b7ba4de61fbc39a37a0 (patch) | |
tree | ce0a45e43a52009332eaf3428104a672b52981f4 | |
parent | c85df48c0ff76979839f62120fd311073e0c1d80 (diff) | |
download | trackermap-server-a596ba5287375609adab2b7ba4de61fbc39a37a0.tar.gz trackermap-server-a596ba5287375609adab2b7ba4de61fbc39a37a0.tar.bz2 trackermap-server-a596ba5287375609adab2b7ba4de61fbc39a37a0.zip |
Add unit test
-rw-r--r-- | src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java index f0dd10772..3f8a4d0c2 100644 --- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest { var decoder = inject(new Gl200TextProtocolDecoder(null)); + verifyNull(decoder, buffer( + "+RESP:GTFRI,8020040200,866314060109269,,,10,1,1,0.0,0,9.0,-71.596601,-33.524595,20230722145338,0730,0001,772A,052B253E,00,0.0,,,,,100,210100,,,,20230722145341,0F4C$")); + verifyAttributes(decoder, buffer( "+RESP:GTCAN,F1040C,862599050497393,GV350M,0,0,FFFFFFFF,,1,,,,,,,,,,,,,,,,,,,,,,,0,,,1,0.0,70,2961.6,-78.691750,-0.951135,20230703191659,,,,,,20230703191659,5A4A$")); |