-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into flowable-release-7.2.0
- Loading branch information
Showing
40 changed files
with
2,944 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 0 additions & 70 deletions
70
...st/java/org/flowable/test/cmmn/converter/ExitCriteriaNonBlockingCmmnXmlConverterTest.java
This file was deleted.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
.../flowable/test/cmmn/converter/HumanTaskWithEntryAndExitCriterionCmmnXmlConverterTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.flowable.test.cmmn.converter; | ||
|
||
import static org.assertj.core.api.Assertions.assertThat; | ||
|
||
import org.flowable.cmmn.model.CmmnModel; | ||
import org.flowable.cmmn.model.HumanTask; | ||
import org.flowable.cmmn.model.PlanItem; | ||
import org.flowable.cmmn.model.PlanItemDefinition; | ||
import org.flowable.test.cmmn.converter.util.CmmnXmlConverterTest; | ||
|
||
public class HumanTaskWithEntryAndExitCriterionCmmnXmlConverterTest { | ||
|
||
@CmmnXmlConverterTest("org/flowable/test/cmmn/converter/humanTaskWithEntryAndExitCriterion.cmmn") | ||
public void validateModel(CmmnModel cmmnModel) { | ||
assertThat(cmmnModel).isNotNull(); | ||
|
||
PlanItemDefinition itemDefinition = cmmnModel.findPlanItemDefinition("task1"); | ||
|
||
assertThat(itemDefinition).isInstanceOf(HumanTask.class); | ||
PlanItem planItem = cmmnModel.findPlanItem("planItem1"); | ||
assertThat(planItem.getEntryCriteria()).hasSize(1); | ||
assertThat(planItem.getExitCriteria()).hasSize(1); | ||
} | ||
|
||
} |
23 changes: 0 additions & 23 deletions
23
...erter/src/test/resources/org/flowable/test/cmmn/converter/exit-criteria-non-blocking.cmmn
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
...c/test/resources/org/flowable/test/cmmn/converter/humanTaskWithEntryAndExitCriterion.cmmn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<definitions xmlns="http://www.omg.org/spec/CMMN/20151109/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:flowable="http://flowable.org/cmmn" xmlns:cmmndi="http://www.omg.org/spec/CMMN/20151109/CMMNDI" xmlns:dc="http://www.omg.org/spec/CMMN/20151109/DC" xmlns:di="http://www.omg.org/spec/CMMN/20151109/DI" xmlns:design="http://flowable.org/design" targetNamespace="http://flowable.org/cmmn" design:palette="flowable-engage-case-palette"> | ||
<case id="test"> | ||
<casePlanModel id="onecaseplanmodel1"> | ||
<planItem id="planItemexpandedStage1" name="Stage 1" definitionRef="expandedStage1"></planItem> | ||
<stage id="expandedStage1" name="Stage 1"> | ||
<planItem id="planItem1" definitionRef="task1"> | ||
<itemControl> | ||
<extensionElements> | ||
<flowable:completionNeutralRule></flowable:completionNeutralRule> | ||
</extensionElements> | ||
<repetitionRule flowable:counterVariable="repetitionCounter" flowable:maxInstanceCount="1"> | ||
<extensionElements></extensionElements> | ||
</repetitionRule> | ||
<manualActivationRule></manualActivationRule> | ||
</itemControl> | ||
<entryCriterion id="entryCriterion5" sentryRef="sentryentryCriterion5"></entryCriterion> | ||
<exitCriterion id="exitCriterion1" sentryRef="sentryexitCriterion1"></exitCriterion> | ||
</planItem> | ||
<sentry id="sentryentryCriterion5" /> | ||
<sentry id="sentryexitCriterion1" /> | ||
<humanTask id="task1" isBlocking="false" /> | ||
</stage> | ||
</casePlanModel> | ||
</case> | ||
</definitions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.