Skip to content

Commit

Permalink
Add all smart pointer types.
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Aguero <[email protected]>
  • Loading branch information
caguero committed Jul 13, 2020
1 parent caba503 commit b961a91
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/Factory_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,26 +123,50 @@ TEST(FactoryTest, MultipleMessagesInAProto)
msgs::SerializedEntityMapUniquePtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}
{
msgs::ConstSerializedEntityMapUniquePtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}
{
msgs::SerializedEntityMapSharedPtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}
{
msgs::ConstSerializedEntityMapSharedPtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}

{
msgs::SerializedStateMapUniquePtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}
{
msgs::ConstSerializedStateMapUniquePtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}
{
msgs::SerializedStateMapSharedPtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}
{
msgs::ConstSerializedStateMapSharedPtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}

{
msgs::SerializedStepMapUniquePtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}
{
msgs::ConstSerializedStepMapUniquePtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}
{
msgs::SerializedStepMapSharedPtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}
{
msgs::ConstSerializedStepMapSharedPtr ptr{nullptr};
EXPECT_EQ(nullptr, ptr);
}
}

0 comments on commit b961a91

Please sign in to comment.