/* * Copyright 2021 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include #include "include/core/SkStream.h" #include "include/utils/SkNoDrawCanvas.h" #include "modules/svg/include/SkSVGDOM.h" #include "modules/svg/include/SkSVGNode.h" #include "tests/Test.h" DEF_TEST(Svg_Filters_NonePaintInputs, r) { const std::string svgText = R"EOF( )EOF"; auto str = SkMemoryStream::MakeDirect(svgText.c_str(), svgText.size()); auto svg_dom = SkSVGDOM::Builder().make(*str); SkNoDrawCanvas canvas(500, 500); svg_dom->render(&canvas); }