Packages

Native desktop GUI framework for Gleam, powered by Iced

Current section

Files

Jump to
plushie_gleam include plushie@testing@backend_TestBackend.hrl
Raw

include/plushie@testing@backend_TestBackend.hrl

-record(test_backend, {
start :: fun((plushie@app:app(any(), plushie@event:event())) -> plushie@testing@session:test_session(any(), plushie@event:event())),
stop :: fun((plushie@testing@session:test_session(any(), plushie@event:event())) -> nil),
find :: fun((plushie@testing@session:test_session(any(), plushie@event:event()), binary()) -> gleam@option:option(plushie@testing@element:element())),
click :: fun((plushie@testing@session:test_session(any(), plushie@event:event()), binary()) -> plushie@testing@session:test_session(any(), plushie@event:event())),
type_text :: fun((plushie@testing@session:test_session(any(), plushie@event:event()), binary(), binary()) -> plushie@testing@session:test_session(any(), plushie@event:event())),
submit :: fun((plushie@testing@session:test_session(any(), plushie@event:event()), binary()) -> plushie@testing@session:test_session(any(), plushie@event:event())),
toggle :: fun((plushie@testing@session:test_session(any(), plushie@event:event()), binary()) -> plushie@testing@session:test_session(any(), plushie@event:event())),
select :: fun((plushie@testing@session:test_session(any(), plushie@event:event()), binary(), binary()) -> plushie@testing@session:test_session(any(), plushie@event:event())),
slide :: fun((plushie@testing@session:test_session(any(), plushie@event:event()), binary(), float()) -> plushie@testing@session:test_session(any(), plushie@event:event())),
model :: fun((plushie@testing@session:test_session(any(), plushie@event:event())) -> any()),
tree :: fun((plushie@testing@session:test_session(any(), plushie@event:event())) -> plushie@node:node_()),
reset :: fun((plushie@testing@session:test_session(any(), plushie@event:event())) -> plushie@testing@session:test_session(any(), plushie@event:event())),
send_event :: fun((plushie@testing@session:test_session(any(), plushie@event:event()), plushie@event:event()) -> plushie@testing@session:test_session(any(), plushie@event:event()))
}).