MCPcopy Create free account
hub / github.com/chatmail/core / section

Method section

src/test_utils.rs:165–172  ·  view source on GitHub ↗

Writes info events to the log that mark a section, e.g.: ========== `msg` goes here ==========

(&self, msg: &str)

Source from the content-addressed store, hash-verified

163 ///
164 /// ========== `msg` goes here ==========
165 pub fn section(&self, msg: &str) {
166 self.log_sink
167 .sender
168 .try_send(LogEvent::Section(msg.to_string()))
169 .expect(
170 "The events channel should be unbounded and not closed, so try_send() shouldn't fail",
171 );
172 }
173
174 /// - Let one TestContext send a message
175 /// - Let the other TestContext receive it and accept the chat

Callers 15

try_send_recvMethod · 0.45
change_addrMethod · 0.45
execute_securejoinMethod · 0.45
test_setup_contact_exFunction · 0.45
test_member_add_removeFunction · 0.45
test_leave_groupFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected