-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[test] complete cmake coverage #1286
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
general | ||
dot_product | ||
cross_product | ||
infinite_line_functions | ||
) | ||
boost_geometry_add_unit_test("arithmetic" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
linestring_concept | ||
) | ||
boost_geometry_add_unit_test("concepts" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
access | ||
assert | ||
coordinate_dimension | ||
coordinate_system | ||
coordinate_type | ||
geometry_id | ||
point_type | ||
radian_access | ||
radius | ||
ring | ||
tag | ||
topological_dimension | ||
visit | ||
) | ||
boost_geometry_add_unit_test("core" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
inverse | ||
direct_accuracy | ||
direct_meridian | ||
intersection | ||
vertex_longitude | ||
) | ||
boost_geometry_add_unit_test("formulas" ${item}) | ||
endforeach() | ||
|
||
if (NOT APPLE) | ||
# The results of these tests vary considerably on Apple/Darwin/arm64 using clang | ||
foreach(item IN ITEMS | ||
inverse_karney | ||
direct | ||
) | ||
boost_geometry_add_unit_test("formulas" ${item}) | ||
endforeach() | ||
endif() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
add_subdirectory(custom_non_copiable) | ||
|
||
foreach(item IN ITEMS | ||
adapted | ||
boost_array_as_point | ||
boost_fusion | ||
# boost_polygon | ||
boost_range | ||
boost_tuple | ||
box | ||
custom_linestring | ||
# initialization | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The two commented tests would need extra dependencies (for test only). |
||
linestring | ||
multi_linestring | ||
multi_point | ||
multi_polygon | ||
point | ||
point_xy | ||
point_xyz | ||
polygon | ||
ring | ||
segment | ||
infinite_line | ||
) | ||
boost_geometry_add_unit_test("geometries" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
custom_ring | ||
custom_polygon | ||
custom_multi_polygon | ||
custom_linestring | ||
custom_multi_linestring | ||
custom_different_geometries | ||
) | ||
boost_geometry_add_unit_test("geometries_cnc" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
add_subdirectory(dsv) | ||
add_subdirectory(svg) | ||
add_subdirectory(wkt) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,5 +13,6 @@ | |
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
build-project wkt ; | ||
build-project dsv ; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
build-project svg ; | ||
build-project wkt ; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
dsv_multi | ||
) | ||
boost_geometry_add_unit_test("io" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
svg | ||
) | ||
boost_geometry_add_unit_test("io" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
wkt | ||
wkt_multi | ||
) | ||
boost_geometry_add_unit_test("io" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
closing_iterator | ||
# concatenate_iterator | ||
ever_circling_iterator | ||
# flatten_iterator | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Two manual edits, needing extra dependencies |
||
point_iterator | ||
segment_iterator | ||
) | ||
boost_geometry_add_unit_test("iterators" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
compare | ||
rescale_policy | ||
) | ||
boost_geometry_add_unit_test("policies" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
projection | ||
projection_epsg | ||
projection_interface_d | ||
projection_interface_p4 | ||
projection_interface_s | ||
projection_selftest | ||
projections | ||
projections_combined | ||
projections_static | ||
srs_transformer | ||
transformation_epsg | ||
transformation_interface | ||
) | ||
boost_geometry_add_unit_test("srs" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Boost.Geometry | ||
# Copyright (c) 2024 Barend Gehrels, Amsterdam, the Netherlands. | ||
# Use, modification and distribution is subject to the Boost Software License, | ||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
andoyer | ||
buffer_join | ||
buffer_join_geo | ||
buffer_side_straight | ||
cross_track | ||
crossings_multiply | ||
distance_default_result | ||
distance_cross_track | ||
douglas_peucker | ||
envelope_segment | ||
franklin | ||
haversine | ||
point_in_box | ||
projected_point | ||
projected_point_ax | ||
pythagoras | ||
pythagoras_point_box | ||
segment_intersection | ||
segment_intersection_collinear | ||
segment_intersection_geo | ||
segment_intersection_sph | ||
spherical_side | ||
side_rounded_input | ||
thomas | ||
transform_cs | ||
transformer | ||
matrix_transformer | ||
vincenty | ||
winding | ||
) | ||
boost_geometry_add_unit_test("strategies" ${item}) | ||
endforeach() |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,14 @@ | |
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | ||
# http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
foreach(item IN ITEMS | ||
box_view | ||
closeable_view | ||
enumerate_view | ||
random_access_view | ||
reversible_closeable | ||
reversible_view | ||
segment_view) | ||
boost_geometry_add_unit_test("views" ${item}) | ||
foreach(item IN ITEMS | ||
box_view | ||
closeable_view | ||
enumerate_view | ||
random_access_view | ||
reversible_closeable | ||
reversible_view | ||
segment_view | ||
) | ||
boost_geometry_add_unit_test("views" ${item}) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Format change only |
||
endforeach() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Manual edit