Bladeren bron

注释掉测试方法

hym 4 jaren geleden
bovenliggende
commit
8ab55c2671

+ 3 - 3
operation_manager/src/test/java/com/huaxu/test/TestProcess.java

@@ -19,7 +19,7 @@ import java.util.Map;
 @Slf4j
 public class TestProcess {
 
-    RepositoryService repositoryService;
+ /*   RepositoryService repositoryService;
     RuntimeService runtimeService;
     TaskService taskService;
     @Before
@@ -44,7 +44,7 @@ public class TestProcess {
         runtimeService=processEngine.getRuntimeService();
         taskService=processEngine.getTaskService();
     }
-    /* 按行读对于要处理的格式化数据是一种读取的好方式 */
+    *//* 按行读对于要处理的格式化数据是一种读取的好方式 *//*
     private static String readBPMNcontent(String path)
     {
         int len=0;
@@ -139,5 +139,5 @@ public class TestProcess {
         Object mainId = taskService.getVariable(id, "someVariableInMainProcess");
         taskService.complete(id);
 
-    }
+    }*/
 }

+ 4 - 4
operation_manager/src/test/java/com/huaxu/test/TestSpringProgress.java

@@ -12,10 +12,10 @@ import org.springframework.test.context.junit4.SpringRunner;
 import java.util.HashMap;
 import java.util.Map;
 
-@RunWith(SpringRunner.class)
-@SpringBootTest(classes = OperationManagerMain.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
+//@RunWith(SpringRunner.class)
+//@SpringBootTest(classes = OperationManagerMain.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
 public class TestSpringProgress {
-    @Autowired
+   /* @Autowired
     private WorkFlowService workFlowService;
     @Test
     public void testStartProcess(){
@@ -27,5 +27,5 @@ public class TestSpringProgress {
         vars.put("assineeFormUserId","55");
         workFlowService.startProcess(processDefinition,vars);
         //workFlowService.startProcess(processDefinition,businessKey,vars);
-    }
+    }*/
 }