RFR: 1434: Testissue#addLink doesn't generate the right relationship for the reversed link
Erik Joelsson
erikj at openjdk.java.net
Tue May 31 17:26:05 UTC 2022
On Sat, 28 May 2022 08:33:36 GMT, Guoxiong Li <gli at openjdk.org> wrote:
> Hi all,
>
> This patch fixes the reversed link type. For example, when adding a `csr for` link at `ISSUE-1` which links to `ISSUE-2`, the `ISSUE-2` should have a reversed link `csr of` instead of the same link type `csr for`.
>
> The reversed relations are shown below:
> - `backported by` and `backport of`
> - `csr for` and `csr of`
> - `blocks` and `is blocked by`
> - `clones` and `is cloned by`
>
> And the `duplicates` link type doesn't have the reversed linke type like `duplicated by` now. So we should use the link type `duplicates` instead of `duplicated by` in the test cases so that the tests can be closer to the actual situation.
>
> Thanks for taking the time to review.
>
> Best Regards,
> -- Guoxiong
Marked as reviewed by erikj (Lead).
-------------
PR: https://git.openjdk.java.net/skara/pull/1325
More information about the skara-dev
mailing list