From e1816ed23017f51226182603376825ed5583cb2a Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 14 Aug 2023 13:45:13 +0200 Subject: [PATCH] that should be all indications --- unittests/cfdp/handler/testSourceHandler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittests/cfdp/handler/testSourceHandler.cpp b/unittests/cfdp/handler/testSourceHandler.cpp index 5d5ff8f3..64f6c050 100644 --- a/unittests/cfdp/handler/testSourceHandler.cpp +++ b/unittests/cfdp/handler/testSourceHandler.cpp @@ -123,8 +123,11 @@ TEST_CASE("CFDP Source Handler", "[cfdp]") { TransactionSeqNum seqNum; eofReader.getTransactionSeqNum(seqNum); CHECK(seqNum.getValue() == expectedSeqNum); + auto transactionId = TransactionId(localId, seqNum); CHECK(userMock.eofSentRecvd.size() == 1); - CHECK(userMock.eofSentRecvd.back() == TransactionId(localId, seqNum)); + CHECK(userMock.eofSentRecvd.back() == transactionId); + CHECK(userMock.finishedRecvd.size() == 1); + CHECK(userMock.finishedRecvd.back().first == transactionId); CHECK(eofInfo.getChecksum() == expectedChecksum); CHECK(eofInfo.getConditionCode() == ConditionCode::NO_ERROR); CHECK(eofInfo.getFileSize().value() == expectedFileSize);