From c95f66f4b81e81df9432c0c6d306ad22e3f5e587 Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期一, 02 十二月 2024 11:41:09 +0800 Subject: [PATCH] socket以及后台任务状态实时刷新 --- src/test/kotlin/cn/flightfeather/supervision/business/QRCodeTest.kt | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/test/kotlin/cn/flightfeather/supervision/business/QRCodeTest.kt b/src/test/kotlin/cn/flightfeather/supervision/business/QRCodeTest.kt index 6a1c3f1..3ce47bd 100644 --- a/src/test/kotlin/cn/flightfeather/supervision/business/QRCodeTest.kt +++ b/src/test/kotlin/cn/flightfeather/supervision/business/QRCodeTest.kt @@ -1,5 +1,6 @@ package cn.flightfeather.supervision.business +import cn.flightfeather.supervision.common.executor.TaskStatus import cn.flightfeather.supervision.common.utils.QRCodeUtil import org.apache.poi.hssf.usermodel.HSSFWorkbook import org.junit.Test @@ -243,4 +244,11 @@ metadata.mergeTree("javax_imageio_1.0", root) } + + @Test + fun foo1() { + val s = TaskStatus.WAITING + println(s.name) + println(s.ordinal) + } } \ No newline at end of file -- Gitblit v1.9.3