Searched refs:expectedPrefix (Results 1 – 2 of 2) sorted by relevance
130 std::string_view expectedPrefix = in TEST() local154 expectedPrefix.size() + headerSize + expectedPostfix.size()) in TEST()162 EXPECT_EQ(outStr.substr(0, expectedPrefix.size()), expectedPrefix); in TEST()163 outStr.remove_prefix(expectedPrefix.size()); in TEST()
1038 std::string expectedPrefix(std::format("/redfish/v1/Systems/{}/Processors/", in patchAppliedOperatingConfig() local1040 expectedPrefix += processorId; in patchAppliedOperatingConfig()1041 expectedPrefix += "/OperatingConfigs/"; in patchAppliedOperatingConfig()1042 if (!appliedConfigUri.starts_with(expectedPrefix) || in patchAppliedOperatingConfig()1043 expectedPrefix.size() == appliedConfigUri.size()) in patchAppliedOperatingConfig()1054 std::string configBaseName = appliedConfigUri.substr(expectedPrefix.size()); in patchAppliedOperatingConfig()