Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -15,16 +15,14 @@ using namespace std;
using feature::Metadata;
using EType = Metadata::EType;
map<EType, string> const kKeyValues =
{
{EType::FMD_ELE, "12345"},
{EType::FMD_EMAIL, "cool@email.at"},
// This string is longer than 255 bytes.
{EType::FMD_WEBSITE, "http://rskxmkjwnikfnjqhyvkpjgaghhyhukjyenduiuanxgbmndtlpfphdgaizfcpzuiuspcp"
"umeojwvekvjprlutwjmxudyzrlwwsepewevsuqelobqcfdzsoqozkesghojribepbaitivmaqep"
"hheckitonddqhbapdybhetvnwvlchjafepdjaeoaapysdvculxuwjbgdddryodiihvnpvmkgqvs"
"mawbdsrbmnndcozmrgeoahbkhcevxkmtdqnxpxlsju.org"}
};
map<EType, string> const kKeyValues = {{EType::FMD_ELE, "12345"},
{EType::FMD_EMAIL, "cool@email.at"},
// This string is longer than 255 bytes.
{EType::FMD_WEBSITE,
"http://rskxmkjwnikfnjqhyvkpjgaghhyhukjyenduiuanxgbmndtlpfphdgaizfcpzuiuspcp"
"umeojwvekvjprlutwjmxudyzrlwwsepewevsuqelobqcfdzsoqozkesghojribepbaitivmaqep"
"hheckitonddqhbapdybhetvnwvlchjafepdjaeoaapysdvculxuwjbgdddryodiihvnpvmkgqvs"
"mawbdsrbmnndcozmrgeoahbkhcevxkmtdqnxpxlsju.org"}};
UNIT_TEST(Feature_Metadata_GetSet)
{
@@ -56,9 +54,7 @@ UNIT_TEST(Feature_Metadata_PresentTypes)
TEST_EQUAL(m.Size(), kKeyValues.size(), ());
m.ForEach([&](Metadata::EType type, std::string const &)
{
TEST_EQUAL(m.Get(type), kKeyValues.find(type)->second, ());
});
{ TEST_EQUAL(m.Get(type), kKeyValues.find(type)->second, ()); });
}
UNIT_TEST(Feature_Metadata_MwmTmpSerialization)
@@ -132,4 +128,4 @@ UNIT_TEST(Feature_Metadata_Print)
TEST_EQUAL(DebugPrint(m), "Metadata [description=" + DebugPrint(s) + "]", ());
}
} // namespace feature_metadata_test
} // namespace feature_metadata_test