Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,19 +138,15 @@ TEST_F(IdentifierHashTest, IdentifierHash_EqualityOperators)

TEST_F(IdentifierHashTest, IdentifierHash_HashValueIsStableAcrossCompilersAndProcesses)
{
RecordProperty(
"Description",
"Pins independently-computed FNV-1a values; runs on one target only.");
RecordProperty("Description", "Pins independently-computed FNV-1a values; runs on one target only.");
ASSERT_EQ(IdentifierHash("ProcessGroup1/Startup").data(), 8274850808357109446ULL);
ASSERT_EQ(IdentifierHash("MachineFG__Startup").data(), 15176715858869822476ULL);
ASSERT_EQ(IdentifierHash().data(), 14695981039346656037ULL); // empty string
}

TEST_F(IdentifierHashTest, IdentifierHash_ConstructorOverloadsAgreeOnTheSameContent)
{
RecordProperty(
"Description",
"Verify all constructors of IdentifierHash have the same hash.");
RecordProperty("Description", "Verify all constructors of IdentifierHash have the same hash.");
const std::string as_string = "ProcessGroup1/Startup";
const std::string_view as_string_view = "ProcessGroup1/Startup";
const char* as_c_string = "ProcessGroup1/Startup";
Expand Down
Loading