Lines Matching refs:expect

1037             .expect("This is impossible. Array size must match expected PORT_COUNT");  in new_with_dispatcher()
1196 use test::{expect, expect_eq};
1300 expect!(channel.is_ok(), "create ports"); in port_create()
1314 expect!(channel.is_ok(), "create ports"); in port_create()
1343 expect!(channel.is_ok(), "create ports"); in wait_on_port()
1480 dispatcher.add_service(Rc::new(Service1), cfg).expect("Could not add service 1"); in multiple_services()
1484 dispatcher.add_service(Rc::new(Service2), cfg).expect("Could not add service 2"); in multiple_services()
1488 dispatcher.add_service(Rc::new(Service3), cfg).expect("Could not add service 3"); in multiple_services()
1494 .expect("Could not add wrapped service 2"); in multiple_services()
1500 .expect("Could not add wrapped service 3"); in multiple_services()
1504 .expect("Could not create service manager"); in multiple_services()
1512 .expect("Could not create service manager"); in unbuffered_service()
1596 .expect("Could not add service 1"); in manager_creation()
1602 .expect("Could not add service 2"); in manager_creation()
1606 .expect("Could not create service manager"); in manager_creation()
1613 use test::{expect, expect_eq};
1621 expect!(uuid_from_str.is_ok(), "couldn't parse uuid string"); in uuid_parsing()
1627 expect!(uuid2_from_str.is_ok(), "couldn't parse uuid string"); in uuid_parsing()
1631 expect!(bad_uuid_from_str.is_err(), "shouldn't be able to parse string"); in uuid_parsing()
1633 expect!(bad_uuid_from_str.is_err(), "shouldn't be able to parse string"); in uuid_parsing()
1635 expect!(bad_uuid_from_str.is_err(), "shouldn't be able to parse string"); in uuid_parsing()
1637 expect!(bad_uuid_from_str.is_err(), "shouldn't be able to parse string"); in uuid_parsing()
1639 expect!(bad_uuid_from_str.is_err(), "shouldn't be able to parse string"); in uuid_parsing()