()
| 118 | |
| 119 | #[test] |
| 120 | fn test_generate_proxy_output() { |
| 121 | let exports = vec![ |
| 122 | DllExport { name: Some("Init".into()), ordinal: 1 }, |
| 123 | ]; |
| 124 | let output = generate_proxy(&exports, "mylib"); |
| 125 | assert_eq!(output.original_dll_name, "mylib_orig.dll"); |
| 126 | assert!(output.proxy_source.contains("#[export_name = \"Init\"]")); |
| 127 | assert!(output.proxy_source.contains("b\"mylib_orig.dll\\0\"")); |
| 128 | } |
| 129 | |
| 130 | #[test] |
| 131 | fn test_proxy_source_init_resolves_all() { |
nothing calls this directly
no test coverage detected