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

@@ -133,18 +133,9 @@ UNIT_TEST(TestDruleSelectorGreaterOrEqual)
UNIT_TEST(TestDruleSelectorInvalid)
{
char const * const badFormats[] =
{
"",
"=badformat",
"!=badformat",
">badformat",
"<badformat",
">=badformat",
"<=badformat",
"bad$name",
"!bad$name",
"bad$name=1000",
char const * const badFormats[] = {
"", "=badformat", "!=badformat", ">badformat", "<badformat", ">=badformat", "<=badformat",
"bad$name", "!bad$name", "bad$name=1000",
};
for (auto e : badFormats)
@@ -158,7 +149,7 @@ UNIT_TEST(PopulationSelector_Smoke)
{
TEST(ParseSelector("population<1000"), ());
TEST(ParseSelector(vector<string>({"population>1000"})), ());
TEST(ParseSelector(vector<string>({"population>=1000","population<=1000000"})), ());
TEST(ParseSelector(vector<string>({"population>=1000", "population<=1000000"})), ());
}
UNIT_TEST(NameSelector_Smoke)
@@ -171,7 +162,7 @@ UNIT_TEST(InvalidSelector_Smoke)
{
TEST(!ParseSelector(""), ());
TEST(!ParseSelector(vector<string>({""})), ());
TEST(!ParseSelector(vector<string>({"population>=1000","population<=1000000", ""})), ());
TEST(!ParseSelector(vector<string>({"population>=1000", "population<=1000000", ""})), ());
}
} // namespace drules_selector_parser_test
} // namespace drules_selector_parser_test