diff --git a/test/MapExport.cpp b/test/MapExport.cpp index 2b7508e511..10d199b51f 100644 --- a/test/MapExport.cpp +++ b/test/MapExport.cpp @@ -125,6 +125,62 @@ brushDef3 EXPECT_NE(brushTextIndex, std::string::npos) << "Could not locate the exported brush in the expected format"; } +TEST_F(MapExportTest, exportDoom3BrushPortable) +{ + fs::path tempPath = _context.getTemporaryDataPath(); + tempPath /= "brushexport.mapx"; + + auto text = exportDefaultBrushUsingFormat("doom3", tempPath.string()); + + auto brushTextIndex = text.find(R"BRUSH( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + )BRUSH"); + + EXPECT_NE(brushTextIndex, std::string::npos) << "Could not locate the exported brush in the expected format"; +} + TEST_F(MapExportTest, exportQuake3Brush) { fs::path tempPath = _context.getTemporaryDataPath();