#include #include #include #include using namespace DB; TEST(Common, getMultipleValuesFromConfig) { std::istringstream xml_isteam(R"END( 0 1 2 3 )END"); Poco::AutoPtr config = new Poco::Util::XMLConfiguration(xml_isteam); std::vector answer = getMultipleValuesFromConfig(*config, "first_level", "second_level"); std::vector right_answer = {"0", "1", "2", "3"}; EXPECT_EQ(answer, right_answer); }