Updated SVG unit test so that it no longer writes to std err. closes #3007
This commit is contained in:
parent
727341f41a
commit
f5cf669736
1 changed files with 2 additions and 0 deletions
|
@ -57,10 +57,12 @@ TEST_CASE("SVG parser") {
|
||||||
|
|
||||||
SECTION("SVG i/o")
|
SECTION("SVG i/o")
|
||||||
{
|
{
|
||||||
|
mapnik::logger::instance().set_severity(mapnik::logger::none);
|
||||||
std::string svg_name("FAIL");
|
std::string svg_name("FAIL");
|
||||||
std::shared_ptr<mapnik::marker const> marker = mapnik::marker_cache::instance().find(svg_name, false);
|
std::shared_ptr<mapnik::marker const> marker = mapnik::marker_cache::instance().find(svg_name, false);
|
||||||
REQUIRE(marker);
|
REQUIRE(marker);
|
||||||
REQUIRE(marker->is<mapnik::marker_null>());
|
REQUIRE(marker->is<mapnik::marker_null>());
|
||||||
|
mapnik::logger::instance().set_severity(mapnik::logger::error);
|
||||||
}
|
}
|
||||||
|
|
||||||
SECTION("SVG::parse i/o")
|
SECTION("SVG::parse i/o")
|
||||||
|
|
Loading…
Add table
Reference in a new issue