[
https://issues.apache.org/jira/browse/IGNITE-20243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr Polovtcev updated IGNITE-20243:
-----------------------------------------
Description:
In tests we often need to compare two given {{BinaryRow}}s. Unfortunately, we
cannot use {{equals}} and, as a consequence, {{assertEquals}}, because
{{BinaryRow}} has two implemenations: {{Row}} and {{BinaryRowImpl}} which are
used interchangeably.
To solve this problem, it is proposed to add a Hamcrest Matcher, that will
allow to compare two {{BinaryRows}} regardless of their implementation.
was:
In tests we often need to compare two given BinaryRows. Unfortunately, we
cannot use {{equals}} and, as a consequence, {{assertEquals}}, because
{{BinaryRow}} has two implemenations: {{Row}} and {{BinaryRowImpl}} which are
used interchangeably.
To solve this problem, it is proposed to add a Hamcrest Matcher, that will
allow to compare two {{BinaryRows}} regardless of their implementation.
> Introduce a Matcher for BinaryRows
> ----------------------------------
>
> Key: IGNITE-20243
> URL: https://issues.apache.org/jira/browse/IGNITE-20243
> Project: Ignite
> Issue Type: Task
> Reporter: Aleksandr Polovtcev
> Assignee: Aleksandr Polovtcev
> Priority: Minor
> Labels: ignite-3
>
> In tests we often need to compare two given {{BinaryRow}}s. Unfortunately, we
> cannot use {{equals}} and, as a consequence, {{assertEquals}}, because
> {{BinaryRow}} has two implemenations: {{Row}} and {{BinaryRowImpl}} which are
> used interchangeably.
> To solve this problem, it is proposed to add a Hamcrest Matcher, that will
> allow to compare two {{BinaryRows}} regardless of their implementation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)