alpha
Login
or
Join now
jmrp.io
/
kleidos
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/jmrplens/kleidos. Kleidos — Hardware BLE password manager for ESP32-S3 (M5StickC Plus2, StickS3, M5Stack Gray, T-Deck, Cardputer)
jmrplens.github.io/kleidos/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
kleidos
/
test
/
hal
/
test_rtc_clock_trust
/
at
main
1 file
José M. Requena Plens
Extend native rtc:: test fake to the full facade surface
6w ago
1aa074d2
test_rtc_clock_trust.cpp
Extend native rtc:: test fake to the full facade surface Add test/support/fake_rtc.h: one header-only, full-surface fake of the non-inline rtc:: facade (clock/trust primitives plus the Phase-3 alarm/timer/CLKOUT/alarm-wake surface), driven by a single settable FakeRtcState with a reset() helper. It deliberately omits getValidTime so tests still exercise the real header-inline trust gate. This gives any native test a deterministic, canonical rtc:: fake and stops per-suite fakes drifting behind the facade. Migrate the two standalone rtc-only suites (test_rtc_clock_trust, test_totp_epoch) onto the shared fake with identical case behavior. The two entangled vault suites (test_brute_force_guard, test_audit_log_vault_ops) keep their in-TU fakes, which already match the shared surface, to avoid destabilizing the security lockout and audit timing tests. Also register the previously-unfiltered states/test_totp_epoch suite in the native test_filter so the migrated suite runs in the default gate. Full native suite: 1607/1607 passing. Claude-Session: https://claude.ai/code/session_01U878bNJtg9bCvAMM8CFKqS
1 month ago