(&mut self, input_name: &str, shadow_id: Option<NodeID>)
| 196 | } |
| 197 | |
| 198 | fn shadow_input(&mut self, input_name: &str, shadow_id: Option<NodeID>) -> io::Result<()> { |
| 199 | if let Some(shadow_id) = shadow_id { |
| 200 | write!(self, "{shadow_id}]") |
| 201 | } else if input_name == "BROADCAST_INPUT" { |
| 202 | let broadcast_name = json!("message1"); |
| 203 | write!(self, "[11,{},{}]]", broadcast_name, broadcast_name) |
| 204 | } else { |
| 205 | write!(self, r#"[10, ""]]"#) |
| 206 | } |
| 207 | } |
| 208 | } |
no outgoing calls
no test coverage detected