Revision 615d6aaa209c0f859eb29cbcc75826b34be26268 authored by Christoph Lehmann on 29 September 2023, 05:32:53 UTC, committed by Christoph Lehmann on 29 September 2023, 05:32:53 UTC
Renamed tag <is_linear> to <linear> See merge request ogs/ogs!4747
TestTools.cpp
/**
* \file
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "Tests/TestTools.h"
#include <boost/property_tree/xml_parser.hpp>
namespace Tests
{
boost::property_tree::ptree readXml(const char xml[])
{
boost::property_tree::ptree ptree;
std::istringstream xml_str(xml);
boost::property_tree::read_xml(
xml_str, ptree,
boost::property_tree::xml_parser::no_comments |
boost::property_tree::xml_parser::trim_whitespace);
return ptree;
}
} // namespace Tests
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...