Alex2ESP/test
David 6e15226ce0 Log: one line for whatever is dropped, a level the build lacks is reported, no false alarm for a 1.x handler
Audit of the paths that drop or refuse something. registerEvent() dropped an eleventh
handler and a second one for the same name without a word: the name now gets the new
handler, an eleventh name and a call without a name or a function print an error. A
device that cannot be announced printed two lines, one without its id; it prints one.
setLogLevel() above ALEX2ESP_LOG_MAX prints an error that names the build flag.
"the handler sent no answer" is an error for a handler of onDirective() only: a 1.x
handler may answer from a later loop(), its silence is a line at DEBUG.
getDevice() returning nullptr and printMemoryInfo() are documented; keywords.txt has
the 2.0 names and loses three that were removed.
basicLight: static RAM 30,520 B, flash 333,989 B (+600); ALEX2ESP_LOG_MAX=0 30,496 /
327,953, =3 30,520 / 334,477; five examples, log0 and log3 build with 0 warnings.
Host tests: 135 (dispatch 11 -> 16).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-28 21:10:19 +00:00
..
host_arduino AlexaCapability: instance, asset and text names, configuration, action and state mappings, nonControllable 2026-09-28 19:33:57 +00:00
test_bridge_logic AlexaStatusMessage: DeferredResponse, ChangeReport, ErrorResponse, scene and doorbell events, UUID-shaped messageId 2026-09-28 20:35:56 +00:00
test_discovery Report helpers for every tier-1 property, asset ids, AlexaCapability::isValid() 2026-09-28 21:00:01 +00:00
test_dispatch Log: one line for whatever is dropped, a level the build lacks is reported, no false alarm for a 1.x handler 2026-09-28 21:10:19 +00:00
test_messages Report helpers for every tier-1 property, asset ids, AlexaCapability::isValid() 2026-09-28 21:00:01 +00:00