Bump FSFW #31
@ -123,8 +123,11 @@ TEST_CASE("CFDP Source Handler", "[cfdp]") {
|
|||||||
TransactionSeqNum seqNum;
|
TransactionSeqNum seqNum;
|
||||||
eofReader.getTransactionSeqNum(seqNum);
|
eofReader.getTransactionSeqNum(seqNum);
|
||||||
CHECK(seqNum.getValue() == expectedSeqNum);
|
CHECK(seqNum.getValue() == expectedSeqNum);
|
||||||
|
auto transactionId = TransactionId(localId, seqNum);
|
||||||
CHECK(userMock.eofSentRecvd.size() == 1);
|
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.getChecksum() == expectedChecksum);
|
||||||
CHECK(eofInfo.getConditionCode() == ConditionCode::NO_ERROR);
|
CHECK(eofInfo.getConditionCode() == ConditionCode::NO_ERROR);
|
||||||
CHECK(eofInfo.getFileSize().value() == expectedFileSize);
|
CHECK(eofInfo.getFileSize().value() == expectedFileSize);
|
||||||
|
Loading…
Reference in New Issue
Block a user