415416417418419420421422423424425
public void testQuerySorting() { CaseDefinitionQuery query = repositoryService.createCaseDefinitionQuery(); // asc query .orderByCaseDefinitionId() .asc(); verifyQueryResults(query, 3); query = repositoryService.createCaseDefinitionQuery();
445446447448449450451452453454455
// desc query = repositoryService.createCaseDefinitionQuery(); query .orderByCaseDefinitionId() .desc(); verifyQueryResults(query, 3); query = repositoryService.createCaseDefinitionQuery();
23482349235023512352235323542355235623572358
public void testQuerySorting() { CaseExecutionQuery query = caseService.createCaseExecutionQuery(); // asc query .orderByCaseDefinitionId() .asc(); verifyQueryResults(query, 11); query = caseService.createCaseExecutionQuery();
23712372237323742375237623772378237923802381
// desc query = caseService.createCaseExecutionQuery(); query .orderByCaseDefinitionId() .desc(); verifyQueryResults(query, 11); query = caseService.createCaseExecutionQuery();
13061307130813091310131113121313131413151316
public void testQuerySorting() { CaseInstanceQuery query = caseService.createCaseInstanceQuery(); // asc query .orderByCaseDefinitionId() .asc(); verifyQueryResults(query, 5); query = caseService.createCaseInstanceQuery();
13291330133113321333133413351336133713381339
// desc query = caseService.createCaseInstanceQuery(); query .orderByCaseDefinitionId() .desc(); verifyQueryResults(query, 5); query = caseService.createCaseInstanceQuery();