Skip to content

Commit

Permalink
Include both catch2 headers
Browse files Browse the repository at this point in the history
  • Loading branch information
azrogers committed Nov 22, 2024
1 parent 9b46d6f commit cca8871
Show file tree
Hide file tree
Showing 97 changed files with 102 additions and 3 deletions.
1 change: 1 addition & 0 deletions Cesium3DTiles/test/TestMetadataQuery.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <Cesium3DTiles/MetadataQuery.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace Cesium3DTiles;
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesContent/test/TestB3dmToGltfConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <CesiumGltf/ExtensionCesiumRTC.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace Cesium3DTilesContent;
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesContent/test/TestI3dmToGltfConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <CesiumGltf/ExtensionCesiumRTC.h>
#include <CesiumGltf/ExtensionExtMeshGpuInstancing.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/vec3.hpp>

Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesContent/test/TestImplicitTilingUtilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <CesiumGeospatial/BoundingRegion.h>
#include <CesiumGeospatial/S2CellBoundingVolume.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <libmorton/morton.h>

Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesContent/test/TestPntsToGltfConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <CesiumGltf/ExtensionModelExtStructuralMetadata.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <rapidjson/document.h>
#include <spdlog/sinks/ringbuffer_sink.h>
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesContent/test/TestSkirtMeshMetadata.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <CesiumGltfContent/SkirtMeshMetadata.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumGltfContent;
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesContent/test/TestSubtreeAvailability.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <CesiumNativeTests/ThreadTaskProcessor.h>
#include <CesiumNativeTests/waitForFuture.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <libmorton/morton.h>
#include <rapidjson/document.h>
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesContent/test/TestTileBoundingVolumes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <Cesium3DTiles/Extension3dTilesBoundingVolumeS2.h>
#include <Cesium3DTilesContent/TileBoundingVolumes.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace Cesium3DTiles;
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesContent/test/TestTileTransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <Cesium3DTilesContent/TileTransform.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/mat4x4.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <CesiumGltf/PropertyTableView.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <rapidjson/document.h>
#include <spdlog/sinks/ringbuffer_sink.h>
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesReader/test/TestTilesetReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <CesiumJsonReader/JsonReader.h>
#include <CesiumNativeTests/readFile.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/vec3.hpp>
#include <rapidjson/reader.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "Cesium3DTilesSelection/Tile.h"
#include "CesiumRasterOverlays/RasterOverlayTile.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <atomic>
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesSelection/test/TestBoundingVolume.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <Cesium3DTilesSelection/BoundingVolume.h>
#include <CesiumGeometry/QuadtreeTileID.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace Cesium3DTilesSelection;
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesSelection/test/TestCreditSystem.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "CesiumUtility/CreditSystem.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumUtility;
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesSelection/test/TestImplicitOctreeLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <CesiumNativeTests/readFile.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <filesystem>
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesSelection/test/TestImplicitQuadtreeLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <CesiumNativeTests/readFile.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <filesystem>
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesSelection/test/TestLayerJsonTerrainLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <CesiumNativeTests/readFile.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <filesystem>
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesSelection/test/TestTilesetContentManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <CesiumUtility/IntrusivePointer.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/glm.hpp>

Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesSelection/test/TestTilesetHeightQueries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <CesiumUtility/StringHelpers.h>
#include <CesiumUtility/Uri.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <filesystem>
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesSelection/test/TestTilesetJsonLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <CesiumNativeTests/SimpleTaskProcessor.h>
#include <CesiumNativeTests/readFile.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <cstddef>
Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesSelection/test/TestTilesetJsonLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <CesiumNativeTests/SimpleTaskProcessor.h>
#include <CesiumNativeTests/readFile.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <memory>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <CesiumNativeTests/readFile.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/mat4x4.hpp>

Expand Down
1 change: 1 addition & 0 deletions Cesium3DTilesWriter/test/TestTilesetWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <Cesium3DTiles/Extension3dTilesBoundingVolumeS2.h>
#include <Cesium3DTilesReader/TilesetReader.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <rapidjson/document.h>

Expand Down
1 change: 1 addition & 0 deletions CesiumAsync/test/TestAsyncSystem.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "CesiumAsync/AsyncSystem.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <chrono>
Expand Down
1 change: 1 addition & 0 deletions CesiumAsync/test/TestCacheAssetAccessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "MockTaskProcessor.h"
#include "ResponseCacheControl.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <spdlog/spdlog.h>

Expand Down
1 change: 1 addition & 0 deletions CesiumAsync/test/TestDiskCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "MockAssetResponse.h"
#include "ResponseCacheControl.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <spdlog/spdlog.h>

Expand Down
1 change: 1 addition & 0 deletions CesiumAsync/test/TestGunzipAssetAccessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <CesiumAsync/GunzipAssetAccessor.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumAsync;
Expand Down
1 change: 1 addition & 0 deletions CesiumAsync/test/TestInternalTimegm.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#define _CRT_SECURE_NO_WARNINGS
#include "InternalTimegm.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumAsync;
Expand Down
1 change: 1 addition & 0 deletions CesiumAsync/test/TestResponseCacheControl.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "ResponseCacheControl.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumAsync;
Expand Down
1 change: 1 addition & 0 deletions CesiumAsync/test/TestSharedAssetDepot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <CesiumNativeTests/SimpleTaskProcessor.h>
#include <CesiumUtility/SharedAsset.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumAsync;
Expand Down
4 changes: 3 additions & 1 deletion CesiumGeometry/test/TestAvailability.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "CesiumGeometry/Rectangle.h"
#include "CesiumGeometry/TileAvailabilityFlags.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <algorithm>
Expand Down Expand Up @@ -195,7 +196,8 @@ TEST_CASE("Test OctreeAvailability") {
}

REQUIRE(
(bool)(availability & TileAvailabilityFlags::CONTENT_AVAILABLE) ==
(bool)(availability &
TileAvailabilityFlags::CONTENT_AVAILABLE) ==
contentShouldBeAvailable);
}
}
Expand Down
1 change: 1 addition & 0 deletions CesiumGeometry/test/TestAxisAlignedBox.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "CesiumGeometry/AxisAlignedBox.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumGeometry;
Expand Down
1 change: 1 addition & 0 deletions CesiumGeometry/test/TestBoundingSphere.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "CesiumGeometry/Plane.h"
#include "CesiumUtility/Math.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/euler_angles.hpp>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "CesiumGeometry/clipTriangleAtAxisAlignedThreshold.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumGeometry;
Expand Down
1 change: 1 addition & 0 deletions CesiumGeometry/test/TestIntersectionTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "CesiumGeospatial/Ellipsoid.h"
#include "CesiumUtility/Math.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/gtc/matrix_inverse.hpp>
#include <glm/gtx/transform.hpp>
Expand Down
1 change: 1 addition & 0 deletions CesiumGeometry/test/TestOrientedBoundingBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <Cesium3DTilesSelection/ViewState.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/euler_angles.hpp>
Expand Down
1 change: 1 addition & 0 deletions CesiumGeometry/test/TestPlane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <CesiumGeospatial/Ellipsoid.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/geometric.hpp>

Expand Down
1 change: 1 addition & 0 deletions CesiumGeometry/test/TestRectangle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumGeometry;
Expand Down
1 change: 1 addition & 0 deletions CesiumGeometry/test/TestTransforms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/mat4x4.hpp>

Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/test/TestBoundingRegion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <CesiumGeometry/Plane.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumUtility;
Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/test/TestBoundingRegionBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <cstring>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <CesiumNativeTests/readFile.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

#include <filesystem>
Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/test/TestGlobeAnchor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <CesiumGeospatial/GlobeAnchor.h>
#include <CesiumGeospatial/LocalHorizontalCoordinateSystem.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/gtx/quaternion.hpp>

Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/test/TestGlobeRectangle.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "CesiumGeospatial/GlobeRectangle.h"
#include "CesiumUtility/Math.h"

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumGeospatial;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <CesiumGeospatial/LocalHorizontalCoordinateSystem.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumGeospatial;
Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/test/TestProjection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/geometric.hpp>

Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/test/TestS2CellBoundingVolume.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <CesiumGeospatial/S2CellBoundingVolume.h>
#include <CesiumGeospatial/S2CellID.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/geometric.hpp>

Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/test/TestS2CellID.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <CesiumGeospatial/S2CellID.h>
#include <CesiumUtility/Math.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>

using namespace CesiumGeometry;
Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/test/TestSimplePlanarEllipsoidCurve.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <CesiumGeospatial/SimplePlanarEllipsoidCurve.h>

#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <glm/geometric.hpp>

Expand Down
Loading

0 comments on commit cca8871

Please sign in to comment.