()
| 404 | |
| 405 | #[test] |
| 406 | fn drop_topic() { |
| 407 | let registry = TopicRegistry::new(1000); |
| 408 | registry.create_topic("temp").unwrap(); |
| 409 | assert!(registry.drop_topic("temp").is_ok()); |
| 410 | assert!(registry.drop_topic("temp").is_err()); // already gone |
| 411 | assert!(registry.list_topics().is_empty()); |
| 412 | } |
| 413 | |
| 414 | #[test] |
| 415 | fn bounded_message_log() { |
nothing calls this directly
no test coverage detected