Files
rippled/src/tests
Pratik Mankawde 9bb8f2e12a Use Title Case for consensus mode names in telemetry attributes
Add toDisplayString(ConsensusMode) helper that returns Title Case
names (Proposing, Observing, Wrong Ledger, Switched Ledger) for use
in OTel span attributes and Grafana dashboards. The existing
to_string() is preserved unchanged for log output stability.

Updated call sites:
- RCLConsensus.cpp: onClose, onModeChange, startRoundInternal
- TracingMacros.cpp: test attribute value

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 16:43:55 +00:00
..

Unit tests

This directory contains unit tests for the project. The difference from existing src/test folder is that we switch to 3rd party testing framework (gtest). We intend to gradually move existing tests from our own framework to gtest and such tests will be moved to this new folder.