BigFile/Sasquatch #1

Merged
rboullard merged 100 commits from BigFile into Development 2026-09-01 16:32:02 +00:00
3 changed files with 6 additions and 6 deletions
Showing only changes of commit 0e584983e4 - Show all commits
+2 -2
View File
@@ -18,7 +18,7 @@ TEST(AssetTypeID, Pack_ShouldGiveAFlatAssetTypeIDWithTheSameValue)
{
constexpr AssetTypeID assetTypeID = 42;
const Flat::Bigfoot::AssetTypeID flatAssetTypeID = flatbuffers::Pack(assetTypeID);
const ::Flat::Bigfoot::AssetTypeID flatAssetTypeID = flatbuffers::Pack(assetTypeID);
EXPECT_EQ(flatAssetTypeID.value(), assetTypeID);
}
@@ -28,7 +28,7 @@ TEST(AssetTypeID, UnPack_ShouldGiveBackTheOriginalValue)
{
constexpr AssetTypeID assetTypeID = 42;
const Flat::Bigfoot::AssetTypeID flatAssetTypeID = flatbuffers::Pack(assetTypeID);
const ::Flat::Bigfoot::AssetTypeID flatAssetTypeID = flatbuffers::Pack(assetTypeID);
EXPECT_EQ(flatbuffers::UnPack(flatAssetTypeID), assetTypeID);
}
} // namespace Bigfoot
+2 -2
View File
@@ -71,7 +71,7 @@ TEST_F(TimeFixture, GetMicrosecond_ShouldReturnTheMicrosecond)
TEST_F(TimeFixture, Pack_ShouldGiveAFlatTimeWithTheSameEpoch)
{
const Flat::Bigfoot::Time flatTime = flatbuffers::Pack(m_time);
const ::Flat::Bigfoot::Time flatTime = flatbuffers::Pack(m_time);
EXPECT_EQ(flatTime.epoch(), m_time.GetEpoch());
}
@@ -79,7 +79,7 @@ TEST_F(TimeFixture, Pack_ShouldGiveAFlatTimeWithTheSameEpoch)
TEST_F(TimeFixture, UnPack_ShouldGiveBackTheOriginalTime)
{
const Flat::Bigfoot::Time flatTime = flatbuffers::Pack(m_time);
const ::Flat::Bigfoot::Time flatTime = flatbuffers::Pack(m_time);
EXPECT_EQ(flatbuffers::UnPack(flatTime), m_time);
}
} // namespace Bigfoot
+2 -2
View File
@@ -183,7 +183,7 @@ TEST_F(UUIDFixture, ToBytes_ShouldGiveBackTheRawDataOfTheID)
TEST_F(UUIDFixture, Pack_ShouldGiveAFlatUUIDWithTheSameRawBytes)
{
const Flat::Bigfoot::UUID flatUUID = flatbuffers::Pack(m_d);
const ::Flat::Bigfoot::UUID flatUUID = flatbuffers::Pack(m_d);
for (std::uint32_t i = 0; i < UUID::UUID_BYTE_SIZE; ++i)
{
@@ -195,7 +195,7 @@ TEST_F(UUIDFixture, Pack_ShouldGiveAFlatUUIDWithTheSameRawBytes)
TEST_F(UUIDFixture, UnPack_ShouldGiveBackTheOriginalUUID)
{
const Flat::Bigfoot::UUID flatUUID = flatbuffers::Pack(m_d);
const ::Flat::Bigfoot::UUID flatUUID = flatbuffers::Pack(m_d);
EXPECT_EQ(flatbuffers::UnPack(flatUUID), m_d);
}