MCPcopy Create free account
hub / github.com/SSheldon/rust-objc / test_send_message

Function test_send_message

src/message/mod.rs:231–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

229
230 #[test]
231 fn test_send_message() {
232 let obj = test_utils::custom_object();
233 let result: u32 = unsafe {
234 let _: () = msg_send![obj, setFoo:4u32];
235 msg_send![obj, foo]
236 };
237 assert!(result == 4);
238 }
239
240 #[test]
241 fn test_send_message_stret() {

Callers

nothing calls this directly

Calls 1

custom_objectFunction · 0.85

Tested by

no test coverage detected