Updated SVG unit test so that it no longer writes to std err. closes #3007

This commit is contained in:
Blake Thompson 2015-07-31 12:31:54 -05:00
parent 727341f41a
commit f5cf669736

View file

@ -57,10 +57,12 @@ TEST_CASE("SVG parser") {
SECTION("SVG i/o")
{
mapnik::logger::instance().set_severity(mapnik::logger::none);
std::string svg_name("FAIL");
std::shared_ptr<mapnik::marker const> marker = mapnik::marker_cache::instance().find(svg_name, false);
REQUIRE(marker);
REQUIRE(marker->is<mapnik::marker_null>());
mapnik::logger::instance().set_severity(mapnik::logger::error);
}
SECTION("SVG::parse i/o")