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

Function test_protocols

src/runtime.rs:614–620  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

612
613 #[test]
614 fn test_protocols() {
615 // Ensure that a protocol has been registered on linux
616 let _ = test_utils::custom_protocol();
617
618 let protocols = Protocol::protocols();
619 assert!(protocols.len() > 0);
620 }
621
622 #[test]
623 fn test_object() {

Callers

nothing calls this directly

Calls 1

custom_protocolFunction · 0.85

Tested by

no test coverage detected