|
@@ -1,29 +0,0 @@
|
|
|
-package top.haijunit.train.test;
|
|
|
|
|
-
|
|
|
|
|
-import cn.hutool.core.util.ArrayUtil;
|
|
|
|
|
-import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
-import org.junit.jupiter.api.DisplayName;
|
|
|
|
|
-import org.junit.jupiter.api.Test;
|
|
|
|
|
-import org.springframework.boot.test.context.SpringBootTest;
|
|
|
|
|
-import top.haijunit.common.utils.SpringUtils;
|
|
|
|
|
-import top.haijunit.train.TrainServerMain;
|
|
|
|
|
-import top.haijunit.train.device.domain.DeviceItem;
|
|
|
|
|
-
|
|
|
|
|
-/**
|
|
|
|
|
- * @author zhanghaijun
|
|
|
|
|
- * @date 2023/12/19 16:32
|
|
|
|
|
- * @description [一句话描述该类的功能]
|
|
|
|
|
- * @version 1.0
|
|
|
|
|
- */
|
|
|
|
|
-@Slf4j
|
|
|
|
|
-@DisplayName("进路测试")
|
|
|
|
|
-@SpringBootTest(classes = TrainServerMain.class, webEnvironment = SpringBootTest.WebEnvironment.NONE)
|
|
|
|
|
-public class DeviceTest {
|
|
|
|
|
-
|
|
|
|
|
- @Test
|
|
|
|
|
- void demoTest() {
|
|
|
|
|
- String[] beanNamesForType = SpringUtils.getBeanNamesForType(DeviceItem.class);
|
|
|
|
|
- log.info("beanNamesForType={}", ArrayUtil.join(beanNamesForType, ","));
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
-}
|
|
|