| 37 | using MapExportTest = RadiantTest; |
| 38 | |
| 39 | TEST_F(MapExportTest, exportSelectedWithFormat) |
| 40 | { |
| 41 | createAndSelectSingleBrush(); |
| 42 | |
| 43 | auto format = GlobalMapFormatManager().getMapFormatByName(map::PORTABLE_MAP_FORMAT_NAME); |
| 44 | |
| 45 | std::ostringstream output; |
| 46 | GlobalMapModule().exportSelected(output, format); |
| 47 | |
| 48 | output.flush(); |
| 49 | |
| 50 | // Minimal assertion: we got a string that appears to start like an XML document |
| 51 | algorithm::assertStringIsMapxFile(output.str()); |
| 52 | } |
| 53 | |
| 54 | TEST_F(MapExportTest, exportSelectedDoesNotSendMessages) |
| 55 | { |
nothing calls this directly
no test coverage detected