| 44 | } |
| 45 | |
| 46 | static std::string updateComponentsJson(const std::string& surfaceId) { |
| 47 | return R"({"version":"v0.9","updateComponents":{"surfaceId":")" + |
| 48 | surfaceId + |
| 49 | R"(","components":[{"id":"text_1","component":"Text","text":"hello"}]}})"; |
| 50 | } |
| 51 | |
| 52 | // --------------------------------------------------------------------------- |
| 53 | // Death test body helpers. |