|
@@ -0,0 +1,24 @@
|
|
|
|
+package com.ruoyi;
|
|
|
|
+
|
|
|
|
+import org.junit.runner.RunWith;
|
|
|
|
+import org.springframework.boot.test.context.SpringBootTest;
|
|
|
|
+import org.springframework.test.context.junit4.SpringRunner;
|
|
|
|
+
|
|
|
|
+import javax.annotation.Resource;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * Author: malijun
|
|
|
|
+ * Data : 2024: 07: 03
|
|
|
|
+ **/
|
|
|
|
+@SpringBootTest
|
|
|
|
+@RunWith(SpringRunner.class)
|
|
|
|
+public class Test {
|
|
|
|
+ @Resource
|
|
|
|
+ private JavaFunctionJobHandler javaFunctionJobHandler;
|
|
|
|
+
|
|
|
|
+ @org.junit.Test
|
|
|
|
+ public void test(){
|
|
|
|
+ javaFunctionJobHandler.cutInWindSpeed();
|
|
|
|
+ javaFunctionJobHandler.calcGlqxnh_edfs();
|
|
|
|
+ }
|
|
|
|
+}
|