#include "../Common/TestsShell.h" #include #include #include #include using namespace Rml; static const String document_decorator_rml = R"( Test
)"; TEST_CASE("elementstyle.inline_decorator_images") { Context* context = TestsShell::GetContext(); REQUIRE(context); // There should be no warnings loading this document. There should be three images visible. ElementDocument* document = context->LoadDocumentFromMemory(document_decorator_rml, "assets/"); REQUIRE(document); document->Show(); context->Update(); context->Render(); TestsShell::RenderLoop(); document->Close(); TestsShell::ShutdownShell(); }