From 13e045a20e49771612027dc12f6a4e8885eb5bf8 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 16 十二月 2024 09:35:58 +0800
Subject: [PATCH] daPointCollectStatusService

---
 iailab-module-data/iailab-module-data-biz/src/test/java/com/iailab/OadpTagCollectorTest.java |   81 +++++++++++++++++++---------------------
 1 files changed, 38 insertions(+), 43 deletions(-)

diff --git a/iailab-module-data/iailab-module-data-biz/src/test/java/com/iailab/OadpTagCollectorTest.java b/iailab-module-data/iailab-module-data-biz/src/test/java/com/iailab/OadpTagCollectorTest.java
index d69fd61..adbdec0 100644
--- a/iailab-module-data/iailab-module-data-biz/src/test/java/com/iailab/OadpTagCollectorTest.java
+++ b/iailab-module-data/iailab-module-data-biz/src/test/java/com/iailab/OadpTagCollectorTest.java
@@ -1,43 +1,38 @@
-package com.iailab;
-
-import com.iailab.module.collection.tag.impl.OadpTagCollector;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import javax.annotation.Resource;
-import org.springframework.boot.test.context.SpringBootTest;
-import org.springframework.test.context.junit4.SpringRunner;
-
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.List;
-
-/**
- * @author PanZhibao
- * @Description
- * @createTime 2023年04月25日 16:17:00
- */
-@SpringBootTest
-@RunWith(SpringRunner.class)
-public class OadpTagCollectorTest {
-
-    @Resource
-    private OadpTagCollector tagCollector;
-
-    @Test
-    public void test() {
-        Calendar calendar = Calendar.getInstance();
-        calendar.set(Calendar.MILLISECOND, 0);
-        List<String> tags = new ArrayList<>();
-        tags.add("source=producer-modbus;id=device0.change_random_int32");
-        tags.add("source=producer-modbus;id=device0.change_random_float");
-        tagCollector.collect(calendar.getTime(), tags);
-    }
-
-
-    @Test
-    public void testSp() {
-        String regex = "[+\\-\\*/()\\&&\\||]";
-        String expression = "324123423&&34576||9999||66666+536345";
-        String[] arr = expression.split(regex);
-    }
-}
+//package com.iailab;
+//
+//import org.testng.annotations.Test;
+//
+//import javax.annotation.Resource;
+//
+//import java.util.ArrayList;
+//import java.util.Calendar;
+//import java.util.List;
+//
+///**
+// * @author PanZhibao
+// * @Description
+// * @createTime 2023年04月25日 16:17:00
+// */
+//public class OadpTagCollectorTest {
+//
+//    @Resource
+//    private OadpTagCollector tagCollector;
+//
+//    @Test
+//    public void test() {
+//        Calendar calendar = Calendar.getInstance();
+//        calendar.set(Calendar.MILLISECOND, 0);
+//        List<String> tags = new ArrayList<>();
+//        tags.add("source=producer-modbus;id=device0.change_random_int32");
+//        tags.add("source=producer-modbus;id=device0.change_random_float");
+//        tagCollector.collect(calendar.getTime(), tags);
+//    }
+//
+//
+//    @Test
+//    public void testSp() {
+//        String regex = "[+\\-\\*/()\\&&\\||]";
+//        String expression = "324123423&&34576||9999||66666+536345";
+//        String[] arr = expression.split(regex);
+//    }
+//}

--
Gitblit v1.9.3