for (NodeInstanceLog nodeInstance: nodeInstances) { Assertions.assertThat(processInstance.getId()).isEqualTo(nodeInstance.getProcessInstanceId().longValue()); Assertions.assertThat(nodeInstance.getProcessId()).isEqualTo("com.sample.ruleflow"); Assertions.assertThat(nodeInstance.getDate()).isNotNull();
for (NodeInstanceLog nodeInstance: nodeInstances) { Assertions.assertThat(nodeInstance.getProcessInstanceId().longValue()).isEqualTo(processInstance.getId()); Assertions.assertThat(nodeInstance.getProcessId()).isEqualTo("com.sample.ruleflow"); Assertions.assertThat(nodeInstance.getDate()).isNotNull();
for (NodeInstanceLog nodeInstance: nodeInstances) { Assertions.assertThat(nodeInstance.getProcessInstanceId().longValue()).isEqualTo(processInstance.getId()); Assertions.assertThat(nodeInstance.getProcessId()).isEqualTo("com.sample.ruleflow3"); Assertions.assertThat(nodeInstance.getDate()).isNotNull();
for (NodeInstanceLog nodeInstance: nodeInstances) { Assertions.assertThat(nodeInstance.getProcessInstanceId().longValue()).isEqualTo(processInstance.getId()); Assertions.assertThat(nodeInstance.getProcessId()).isEqualTo("com.sample.ruleflow3"); Assertions.assertThat(nodeInstance.getDate()).isNotNull();
@Test public void testDeleteNodeInstanceInfoLogByProcessId() { int p = 0; String processId = nilTestData[p++].getProcessId(); NodeInstanceLogDeleteBuilder updateBuilder = this.nodeInstanceLogDelete().processId(processId); int result = updateBuilder.build().execute(); assertEquals(1, result); }
private void assertLogContent(NodeInstanceLog log, long nodeInstanceId, String processId, Integer type, String nodeType, String nodeName){ assertEquals(nodeInstanceId,log.getProcessInstanceId().longValue()); assertEquals(processId,log.getProcessId()); assertEquals(type,log.getType()); assertEquals(nodeType, log.getNodeType()); assertEquals(nodeName,log.getNodeName()); } }
String processId = nilTestData[p++].getProcessId(); builder = this.nodeInstanceLogQuery().processId(processId); resultList = builder.build().getResultList();
break; case 6: testData[i-1].setProcessId(testData[i].getProcessId()); break; case 7:
break; case 6: testData[i-1].setProcessId(testData[i].getProcessId()); break; case 7:
for (NodeInstanceLog nodeInstance: nodeInstances) { Assertions.assertThat(processInstance.getId()).isEqualTo(nodeInstance.getProcessInstanceId().longValue()); Assertions.assertThat(nodeInstance.getProcessId()).isEqualTo("com.sample.ruleflow"); Assertions.assertThat(nodeInstance.getDate()).isNotNull();
for (NodeInstanceLog nodeInstance: nodeInstances) { Assertions.assertThat(nodeInstance.getProcessInstanceId().longValue()).isEqualTo(processInstance.getId()); Assertions.assertThat(nodeInstance.getProcessId()).isEqualTo("com.sample.ruleflow"); Assertions.assertThat(nodeInstance.getDate()).isNotNull();
for (NodeInstanceLog nodeInstance: nodeInstances) { Assertions.assertThat(nodeInstance.getProcessInstanceId().longValue()).isEqualTo(processInstance.getId()); Assertions.assertThat(nodeInstance.getProcessId()).isEqualTo("com.sample.ruleflow3"); Assertions.assertThat(nodeInstance.getDate()).isNotNull();
for (NodeInstanceLog nodeInstance: nodeInstances) { Assertions.assertThat(nodeInstance.getProcessInstanceId().longValue()).isEqualTo(processInstance.getId()); Assertions.assertThat(nodeInstance.getProcessId()).isEqualTo("com.sample.ruleflow3"); Assertions.assertThat(nodeInstance.getDate()).isNotNull();
@Test public void testDeleteNodeInstanceInfoLogByProcessId() { int p = 0; String processId = nilTestData[p++].getProcessId(); NodeInstanceLogDeleteBuilder updateBuilder = this.nodeInstanceLogDelete().processId(processId); int result = updateBuilder.build().execute(); assertEquals(1, result); }
private void assertLogContent(NodeInstanceLog log, long nodeInstanceId, String processId, Integer type, String nodeType, String nodeName){ assertEquals(nodeInstanceId,log.getProcessInstanceId().longValue()); assertEquals(processId,log.getProcessId()); assertEquals(type,log.getType()); assertEquals(nodeType, log.getNodeType()); assertEquals(nodeName,log.getNodeName()); } }
String processId = nilTestData[p++].getProcessId(); builder = this.nodeInstanceLogQuery().processId(processId); resultList = builder.build().getResultList();
break; case 6: testData[i-1].setProcessId(testData[i].getProcessId()); break; case 7:
break; case 6: testData[i-1].setProcessId(testData[i].getProcessId()); break; case 7: