diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-10-21 20:26:45 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-10-21 20:26:45 -0700 |
commit | 36bcdfc80dc19bc932f03bc8a0da056f46023304 (patch) | |
tree | cdee146ba681fdaa3ce262026d28cd0d7ba7f550 /src/test/java/org/traccar/protocol/StbFrameDecoderTest.java | |
parent | 7f1cb863872c01aaf7defa8164940b729eb86b77 (diff) | |
download | trackermap-server-36bcdfc80dc19bc932f03bc8a0da056f46023304.tar.gz trackermap-server-36bcdfc80dc19bc932f03bc8a0da056f46023304.tar.bz2 trackermap-server-36bcdfc80dc19bc932f03bc8a0da056f46023304.zip |
Expect TCP JSON data
Diffstat (limited to 'src/test/java/org/traccar/protocol/StbFrameDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/StbFrameDecoderTest.java | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/test/java/org/traccar/protocol/StbFrameDecoderTest.java b/src/test/java/org/traccar/protocol/StbFrameDecoderTest.java deleted file mode 100644 index 45d998fb1..000000000 --- a/src/test/java/org/traccar/protocol/StbFrameDecoderTest.java +++ /dev/null @@ -1,19 +0,0 @@ -package org.traccar.protocol; - -import org.junit.Test; -import org.traccar.ProtocolTest; - -public class StbFrameDecoderTest extends ProtocolTest { - - @Test - public void testDecode() throws Exception { - - var decoder = new StbFrameDecoder(); - - verifyFrame( - binary("7b226465764964223a2243485a4430384b504430323130343235303436222c2264657654797065223a322c226861726456657273696f6e223a224844545456413139222c226d736754797065223a3131302c2270726f746f636f6c56657273696f6e223a225631222c22736f667456657273696f6e223a22332e312e38222c22737769746368436162537461747573223a2231222c2274786e4e6f223a2231363235323132373431353337227d"), - decoder.decode(null, null, binary("7b226465764964223a2243485a4430384b504430323130343235303436222c2264657654797065223a322c226861726456657273696f6e223a224844545456413139222c226d736754797065223a3131302c2270726f746f636f6c56657273696f6e223a225631222c22736f667456657273696f6e223a22332e312e38222c22737769746368436162537461747573223a2231222c2274786e4e6f223a2231363235323132373431353337227d"))); - - } - -} |