()
| 152 | |
| 153 | #[test] |
| 154 | fn namespaces() { |
| 155 | let (library_path, _temp_dir) = create_temp_library(Some(STUB_VERSION.to_string())); |
| 156 | |
| 157 | let library = Library::load(&library_path, Some(Language::Rust)).unwrap(); |
| 158 | |
| 159 | assert_eq!(library.namespaces.len(), 1); |
| 160 | let namespace = &library.namespaces[0]; |
| 161 | assert_eq!(namespace.name, STUB_NAME); |
| 162 | assert_eq!(namespace.symbols.len(), 1); |
| 163 | assert_eq!(namespace.symbols[0].name, "TestEnum"); |
| 164 | } |
| 165 | |
| 166 | #[test] |
| 167 | fn language_present() { |
nothing calls this directly
no test coverage detected