test(protocol,core,bridge): add 83 unit tests for untested modules (TODO-015,018,019,021)

Protocol DTO: 32 serde roundtrip + edge case tests.
Core events: 27 event construction + variant coverage tests.
Bridge: 24 error mapping + DTO roundtrip tests.
Add serde_json dev-dependency to protocol and bridge crates.
This commit is contained in:
Edison Jwa
2026-06-11 11:05:11 +09:00
parent 2ab8d5aae2
commit e14dd73570
6 changed files with 1252 additions and 3 deletions
Generated
+2
View File
@@ -663,6 +663,7 @@ dependencies = [
"log",
"ndk-context",
"serde",
"serde_json",
"thiserror 2.0.18",
"tokio",
"tracing",
@@ -727,6 +728,7 @@ dependencies = [
"futures",
"reqwest 0.13.4",
"serde",
"serde_json",
"thiserror 2.0.18",
"time",
"tokio",