Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(JsonBuilder): add new properties for link events #2895

Merged
merged 8 commits into from
Oct 4, 2023

Conversation

csouchet
Copy link
Member

@csouchet csouchet commented Sep 28, 2023

Overview

Update the test helper JsonBuilder to set the properties:

  • source: for Link event definition of Intermediate Catch Event
  • target: for Link event definition of Intermediate Throw Event

And rename some existing types.

Covers #2906

@csouchet csouchet added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Sep 28, 2023
@csouchet csouchet force-pushed the 2855-update_test_helper_JsonBuilder branch 3 times, most recently from e6d431a to 4e2d032 Compare September 28, 2023 13:17
@csouchet csouchet added the depends on another PR ⚠️ Pull request depending on another one. The depending must be merged first label Sep 28, 2023
@csouchet csouchet force-pushed the 2855-update_test_helper_JsonBuilder branch from 4e2d032 to ad246a9 Compare September 28, 2023 14:02
@csouchet csouchet changed the title chore(test): update the unit test helper: JsonBuilder test(JsonBuilder): update the unit test helper Sep 28, 2023
@csouchet csouchet force-pushed the 2855-update_test_helper_JsonBuilder branch 4 times, most recently from 3698f33 to 64aee24 Compare October 2, 2023 13:42
@csouchet csouchet changed the title test(JsonBuilder): update the unit test helper test(JsonBuilder): add new properties for link events Oct 2, 2023
@csouchet csouchet force-pushed the 2855-update_test_helper_JsonBuilder branch from 64aee24 to 7f88cbc Compare October 3, 2023 08:23
@csouchet csouchet removed the depends on another PR ⚠️ Pull request depending on another one. The depending must be merged first label Oct 3, 2023
@csouchet csouchet marked this pull request as ready for review October 3, 2023 08:26
@csouchet csouchet marked this pull request as draft October 3, 2023 09:40
@csouchet csouchet marked this pull request as ready for review October 3, 2023 11:06
Copy link
Member

@tbouffard tbouffard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ I didn't have much time to review this report, so I've skimmed it.


export type BuildEventsParameter = BuildOtherEventParameter | BuildStartEventParameter | BuildBoundaryEventParameter;
export type BuildEventParameter = BuildNotBoundaryEventParameter | BuildBoundaryEventParameter;
export type BuildNotBoundaryEventParameter = BuildIntermediateCatchEventParameter | BuildIntermediateThrowEventParameter | BuildEndEventParameter | BuildStartEventParameter;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: can we found a better name than BuildNotBoundaryEventParameterthat doesn't use a negation? Does it means "all kind of events but the boundary events"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, indeed, it's all events excepted boundary. I didn't find better name, and the old (BuildOtherEventParameter) wasn't better.

@sonarcloud
Copy link

sonarcloud bot commented Oct 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@csouchet csouchet merged commit da79069 into master Oct 4, 2023
8 checks passed
@csouchet csouchet deleted the 2855-update_test_helper_JsonBuilder branch October 4, 2023 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants