diff options
author | Edward Hill <ecgh@chromium.org> | 2020-12-17 10:55:22 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-17 20:07:40 +0000 |
commit | b5d83cde1dea30d19d3416f6c0e9ba703cffdbf9 (patch) | |
tree | ca75b0a94ea6b00779e5a175ba08a74534c7c52e /include | |
parent | ca428f8a39ebf54a53d33a566d72270f7dc58b3e (diff) | |
download | chrome-ec-b5d83cde1dea30d19d3416f6c0e9ba703cffdbf9.tar.gz |
TCPMv2 test: Check all transmits
Be explicit about checking all transmitted messages to avoid
getting out of sync.
Fix retries check in TD.PD.LL.E3, retries are handled by TCPC.
BUG=b:175144677
BRANCH=none
TEST=make run-usb_tcpmv2_compliance
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I017244c669e0c50e49b8974a7462007625c354ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2597597
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/mock/tcpci_i2c_mock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mock/tcpci_i2c_mock.h b/include/mock/tcpci_i2c_mock.h index bac4644c20..828ebd86bb 100644 --- a/include/mock/tcpci_i2c_mock.h +++ b/include/mock/tcpci_i2c_mock.h @@ -25,6 +25,8 @@ int verify_tcpci_ignore_transmit(enum tcpm_transmit_type tx_type, enum pd_data_msg_type data_msg); int verify_tcpci_tx_retry_count(enum tcpm_transmit_type tx_type, + enum pd_ctrl_msg_type ctrl_msg, + enum pd_data_msg_type data_msg, int retry_count); int verify_tcpci_tx_timeout(enum tcpm_transmit_type tx_type, |