| 391 | auto attributeId = _attributeIds.getIdForName(attributeName); |
| 392 | |
| 393 | viewNode.valueChanged(attributeId, attributeValue, false); |
| 394 | } |
| 395 | |
| 396 | DumpedLogs Runtime::dumpContextsLogs() const { |
| 397 | DumpedLogs logs; |
| 398 | |
| 399 | ValueArrayBuilder builder; |
| 400 | |
| 401 | auto contexts = _contextManager.getAllContexts(); |
| 402 | std::sort(contexts.begin(), contexts.end(), [](const auto& left, const auto& right) -> bool { |
| 403 | return left->getContextId() < right->getContextId(); |
| 404 | }); |
| 405 | |
| 406 | for (const auto& context : contexts) { |
| 407 | if (!context->getPath().isEmpty()) { |
| 408 | builder.append(Value(context->getPath().toString())); |
| 409 | } |
| 410 | } |
| 411 | |
| 412 | logs.appendMetadata(STRING_LITERAL("ComponentPaths"), Value(builder.build()).toStringBox()); |
| 413 | |
| 414 | return logs; |
| 415 | } |
nothing calls this directly
no test coverage detected