fprime/Fw/FilePacket/GTest/StartPacket.cpp
Johan Bertrand f18e540d1f
Removed a_ prefix on arguments (#2513)
* Removed a_ prefix on arguments

* Removed pointer in the getter name

* Renamed getter
2024-02-14 11:08:55 -08:00

35 lines
1000 B
C++

// ======================================================================
// \title Fw/FilePacket/GTest/StartPacket.cpp
// \author bocchino
// \brief Test utilities for start file packets
//
// \copyright
// Copyright (C) 2016, California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
//
// ======================================================================
#include <Fw/FilePacket/GTest/FilePackets.hpp>
#include <Fw/Types/GTest/Bytes.hpp>
namespace Fw {
namespace GTest {
void FilePackets::StartPacket ::
compare(
const FilePacket::StartPacket& expected,
const FilePacket::StartPacket& actual
)
{
FilePackets::Header::compare(expected.m_header, actual.m_header);
ASSERT_EQ(expected.m_fileSize, actual.m_fileSize);
PathName::compare(expected.m_sourcePath, actual.m_sourcePath);
PathName::compare(expected.m_destinationPath, actual.m_destinationPath);
}
}
}