fix(telemetry): address clang-tidy CI failures on phase10 beast test

- Add missing direct includes (contract.h, Log.h, Journal.h, uint256.h,
  suite.h, io_context.hpp, optional, stdexcept, string).
- Replace broad unit_test.h with specific unit_test/suite.h.
- Concatenate nested namespaces (xrpl::test).
- Add [[nodiscard]] to getOpenLedger/isStopping/getTrapTxID overrides.
- Make const-eligible variables const (Journal j, registry in
  disabled_construction test).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Pratik Mankawde
2026-05-13 18:16:16 +01:00
parent eac2538a55
commit a9e4006591
2 changed files with 23 additions and 14 deletions

View File

@@ -186,6 +186,7 @@ test.shamap > xrpl.basics
test.shamap > xrpl.nodestore
test.shamap > xrpl.protocol
test.shamap > xrpl.shamap
test.telemetry > xrpl.basics
test.telemetry > xrpl.core
test.telemetry > xrpld.telemetry
test.toplevel > test.csf