Available on crate features
testing only.Expand description
Trait and macro of integration tests for EventCacheStore implementations.
Traits§
- Event
Cache Store Integration Tests EventCacheStoreintegration tests.
Functions§
- check_
test_ event - Check that an event created with
make_test_eventcontains the expected data. - make_
encrypted_ test_ event - Create a
m.room.encryptedtest event with all data filled, for testing that linked chunk correctly stores event data for encrypted events. - make_
encryption_ info - Create a test
EncryptionInfostructure with all data filled, for testing that linked chunk correctly stores event data. - make_
test_ event - Create a test event with all data filled, for testing that linked chunk correctly stores event data.
- make_
test_ event_ builder_ with_ event_ id - Create a test
EventBuilderwith all data filled, for testing that linked chunk correctly stores event data. - make_
test_ event_ with_ event_ id - Same as
make_test_event, with an extra event id. - make_
test_ event_ without_ event_ id - Same as
make_test_event, but does not generate an event id. - make_
test_ event_ without_ event_ type - Same as
make_test_event, but clears the event type from the final event.