()
| 85 | |
| 86 | #[test] |
| 87 | fn roundtrip() -> Result<()> { |
| 88 | for debug in [true, false] { |
| 89 | let mut config = wasmtime_test_util::component::config(); |
| 90 | config.debug_adapter_modules(debug); |
| 91 | let engine = Engine::new(&config)?; |
| 92 | for src in ENCODINGS { |
| 93 | for dst in ENCODINGS { |
| 94 | test_roundtrip(&engine, src, dst)?; |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | Ok(()) |
| 99 | } |
| 100 | |
| 101 | fn test_roundtrip(engine: &Engine, src: &str, dst: &str) -> Result<()> { |
| 102 | println!("src={src} dst={dst}"); |
no test coverage detected