Expand description
In-memory implementations for fast, deterministic native desktop tests.
Enable the host feature when testing in an ordinary Windows, macOS, or
Linux process.
§Implementations
CydMemoryprovides in-memory display and touch through the portablecydinterfaces.ButtonMemoryprovides scripted button input.assert_framebuffer_matches_expected_pngcompares a rendered framebuffer with a golden PNG.
Structs§
- Button
Memory - Native desktop button test double returned by
CydMemory::button_memory. - CydDisplay
Memory - Owned display half of
CydMemory. - CydFrame
Memory - In-progress in-memory frame that flushes into an in-memory framebuffer.
- CydMemory
- In-memory CYD device for fast, deterministic native desktop tests and screenshots.
- CydTouch
Memory - Owned calibrated touch half of
CydMemory.
Enums§
- Error
- Error from the in-memory CYD test surface.
Functions§
- assert_
framebuffer_ matches_ expected_ png - Compare a rendered
CydMemoryframebuffer with an expected PNG.