From 69283b5a4559509187516355602e32e4bdac9d5d Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 28 二月 2025 11:54:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/2.0.1' into 2.0.1
---
server/jtt808_parent/jtt808-protocol/src/test/java/org/yzh/protocol/TestHex.java | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/server/jtt808_parent/jtt808-protocol/src/test/java/org/yzh/protocol/TestHex.java b/server/jtt808_parent/jtt808-protocol/src/test/java/org/yzh/protocol/TestHex.java
index 167a3fb..0fb87d4 100644
--- a/server/jtt808_parent/jtt808-protocol/src/test/java/org/yzh/protocol/TestHex.java
+++ b/server/jtt808_parent/jtt808-protocol/src/test/java/org/yzh/protocol/TestHex.java
@@ -18,23 +18,23 @@
*/
public class TestHex {
- @Test
- public void testHex() throws Exception {
- try (BufferedReader reader = reader("target/test-classes/JT808.txt")) {
- reader.lines().filter(hex -> !hex.isEmpty()).forEach(hex -> BeanTest.selfCheck(hex));
- }
- }
+// @Test
+// public void testHex() throws Exception {
+// try (BufferedReader reader = reader("target/test-classes/JT808.txt")) {
+// reader.lines().filter(hex -> !hex.isEmpty()).forEach(hex -> BeanTest.selfCheck(hex));
+// }
+// }
- @Test
- public void testSubpackage() throws Exception {
- try (BufferedReader reader = reader("target/test-classes/JT1078.txt")) {
- reader.lines().filter(hex -> !hex.isEmpty()).forEach(hex -> {
- JTMessage message = BeanTest.coder.decode(Unpooled.wrappedBuffer(ByteBufUtil.decodeHexDump(hex)));
- if (message != null)
- System.out.println(BeanTest.gson.toJson(message));
- });
- }
- }
+// @Test
+// public void testSubpackage() throws Exception {
+// try (BufferedReader reader = reader("target/test-classes/JT1078.txt")) {
+// reader.lines().filter(hex -> !hex.isEmpty()).forEach(hex -> {
+// JTMessage message = BeanTest.coder.decode(Unpooled.wrappedBuffer(ByteBufUtil.decodeHexDump(hex)));
+// if (message != null)
+// System.out.println(BeanTest.gson.toJson(message));
+// });
+// }
+// }
public static BufferedReader reader(String path) throws FileNotFoundException {
return new BufferedReader(new InputStreamReader(new FileInputStream(path), StandardCharsets.UTF_8));
--
Gitblit v1.9.3