Do not provide {in}equality opeartors for CAN parser value classes
These operators are only needed for tests.
Provide helper headers with proper implementations to avoid code
duplication, because each pair of operators is used in more than one
test.
Noticed during Qt 6.5 API review.
Pick-to: 6.5
Change-Id: Icf36ad7a7fb3e9230154933593470a6c84c16901
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | 8db3c1142248e4564e8b90db61ad1bdf13164453 |
| parent | 887beaae54715d0ffe0601a62f6e42bebc2bb45b |
| author | Ivan Solovev <ivan.solovev@qt.io> |
| committer | Ivan Solovev <ivan.solovev@qt.io> |
| commit time | Thu, 26 Jan 2023 15:12:58 +0100 |
- M src/serialbus/qcanmessagedescription.cpp
- M src/serialbus/qcanmessagedescription.h
- M src/serialbus/qcansignaldescription.cpp
- M src/serialbus/qcansignaldescription.h
- M src/serialbus/qcanuniqueiddescription.cpp
- M src/serialbus/qcanuniqueiddescription.h
- M tests/auto/qcandbcfileparser/CMakeLists.txt
- M tests/auto/qcandbcfileparser/tst_qcandbcfileparser.cpp
- M tests/auto/qcanmessagedescription/CMakeLists.txt
- M tests/auto/qcanmessagedescription/tst_qcanmessagedescription.cpp
- M tests/auto/qcansignaldescription/CMakeLists.txt
- M tests/auto/qcansignaldescription/tst_qcansignaldescription.cpp
- M tests/auto/qcanuniqueiddescription/CMakeLists.txt
- M tests/auto/qcanuniqueiddescription/tst_qcanuniqueiddescription.cpp
- A tests/auto/shared/qcanmessagedescription_helpers.h
- A tests/auto/shared/qcansignaldescription_helpers.h
- A tests/auto/shared/qcanuniqueiddescription_helpers.h