more ref replacements
This commit is contained in:
@ -85,7 +85,7 @@ TEST_CASE("PUS TC Creator", "[pus-tc-creator]") {
|
||||
SECTION("Test with Application Data Serializable") {
|
||||
auto& params = creator.getPusParams();
|
||||
auto simpleSer = SimpleSerializable();
|
||||
creator.setSerializableUserData(&simpleSer);
|
||||
creator.setSerializableUserData(simpleSer);
|
||||
REQUIRE(creator.getSerializedSize() == 16);
|
||||
REQUIRE(creator.serialize(&dataPtr, &serLen, buf.size()) == HasReturnvaluesIF::RETURN_OK);
|
||||
REQUIRE(serLen == 16);
|
||||
|
@ -113,7 +113,7 @@ TEST_CASE("PUS TM Creator", "[pus-tm-creator]") {
|
||||
|
||||
SECTION("Serialize with Serializable") {
|
||||
auto simpleSer = SimpleSerializable();
|
||||
creator.setSerializableUserData(&simpleSer);
|
||||
creator.setSerializableUserData(simpleSer);
|
||||
REQUIRE(creator.getFullPacketLen() == 25);
|
||||
REQUIRE(creator.serialize(&dataPtr, &serLen, buf.size()) == HasReturnvaluesIF::RETURN_OK);
|
||||
REQUIRE(buf[20] == 1);
|
||||
|
Reference in New Issue
Block a user