gear
gear copied to clipboard
refactor(gtest): improve API and docs
- Rename
ActorMailboxtoUserMailbox, because there's no mailbox for programs - Rework logs concept:
Logs (LogandCoreLog,DecodedCoreLog) were introduced in the beginning of thegtest. Being useful, however, the naming was wrong. Also several types and API being 1) dependent onInto<Log>, 2) usingLogto compare it toCoreLog, which itself is derived from user stored message, 3) having vague builder impl forLog, 4) having no utility for users ofCoreLogmade the API ambiguous. Now the concept is straightforward and clean. You have justUserMessageEventderived fromStoredMessages stored as events (not in mailbox) andEventBuilderto build those events and perform ops with them inBlockRunResultorUserMailbox - Actualize crate docs, making it deeper, clarifying the concepts and usage
Changed Files
| File | Status |
|---|---|
| Unsupported file format | |
| Unsupported file format | |
| Unsupported file format | |
| Unsupported file format |