MCPcopy Index your code
hub / github.com/endbasic/endbasic / expect_op

Method expect_op

std/src/gfx/lcd/buffered/testutils.rs:145–148  ·  view source on GitHub ↗

Records that the given `op` should have been received by the mock `LcdRecorder` after all `op`s have been executed.

(mut self, op: &str)

Source from the content-addressed store, hash-verified

143 /// Records that the given `op` should have been received by the mock `LcdRecorder` after
144 /// all `op`s have been executed.
145 pub(super) fn expect_op(mut self, op: &str) -> Self {
146 self.exp_ops.push(op.into());
147 self
148 }
149
150 /// Configures the test to ignore the content of all pixels. This is for simplicity of
151 /// tests that only one to validate other aspects of the LCD handling.

Callers 15

test_fill_one_pixel_syncFunction · 0.80
test_fill_rect_syncFunction · 0.80
test_clearFunction · 0.80
test_present_canvasFunction · 0.80
test_read_pixels_syncFunction · 0.80
test_put_pixels_syncFunction · 0.80
test_write_text_syncFunction · 0.80
test_draw_circle_syncFunction · 0.80
test_draw_circle_clipFunction · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected