From b64b9b789e0647044c86f191f776317a0bdb5a34 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Sat, 30 May 2015 01:43:18 +0200 Subject: [PATCH] [test][concepts] Move point_concept tests, rename the tests, add "concepts" prefix. --- test/concepts/Jamfile.v2 | 25 +++++++++++++---- .../function_asserting_a_point.hpp | 0 .../function_requiring_a_point.hpp | 0 .../point_array.cpp} | 0 .../point_concept_checker.cpp} | 0 ...nt_geographic_custom_with_wrong_units.cpp} | 0 .../point_geographic_with_wrong_units.cpp} | 0 ...int_spherical_custom_with_wrong_units.cpp} | 0 .../point_spherical_with_wrong_units.cpp} | 0 .../point_well_formed.cpp} | 0 .../point_well_formed_non_cartesian.cpp} | 0 .../point_well_formed_traits.cpp} | 0 .../point_with_incorrect_dimension.cpp | 0 .../point_without_coordinate_type.cpp | 0 .../point_without_dimension.cpp | 0 .../point_without_getter.cpp | 0 .../point_without_setter.cpp | 0 test/point_concept/Jamfile.v2 | 27 ------------------- 18 files changed, 20 insertions(+), 32 deletions(-) rename test/{point_concept => concepts}/function_asserting_a_point.hpp (100%) rename test/{point_concept => concepts}/function_requiring_a_point.hpp (100%) rename test/{point_concept/array_point.cpp => concepts/point_array.cpp} (100%) rename test/{point_concept/concept_checker.cpp => concepts/point_concept_checker.cpp} (100%) rename test/{point_concept/geographic_custom_point_with_wrong_units.cpp => concepts/point_geographic_custom_with_wrong_units.cpp} (100%) rename test/{point_concept/geographic_point_with_wrong_units.cpp => concepts/point_geographic_with_wrong_units.cpp} (100%) rename test/{point_concept/spherical_equatorial_custom_point_with_wrong_units.cpp => concepts/point_spherical_custom_with_wrong_units.cpp} (100%) rename test/{point_concept/spherical_equatorial_point_with_wrong_units.cpp => concepts/point_spherical_with_wrong_units.cpp} (100%) rename test/{point_concept/well_formed_point.cpp => concepts/point_well_formed.cpp} (100%) rename test/{point_concept/well_formed_non_cartesian_point.cpp => concepts/point_well_formed_non_cartesian.cpp} (100%) rename test/{point_concept/well_formed_point_traits.cpp => concepts/point_well_formed_traits.cpp} (100%) rename test/{point_concept => concepts}/point_with_incorrect_dimension.cpp (100%) rename test/{point_concept => concepts}/point_without_coordinate_type.cpp (100%) rename test/{point_concept => concepts}/point_without_dimension.cpp (100%) rename test/{point_concept => concepts}/point_without_getter.cpp (100%) rename test/{point_concept => concepts}/point_without_setter.cpp (100%) delete mode 100644 test/point_concept/Jamfile.v2 diff --git a/test/concepts/Jamfile.v2 b/test/concepts/Jamfile.v2 index 476e0be11..dd1ad4eb7 100644 --- a/test/concepts/Jamfile.v2 +++ b/test/concepts/Jamfile.v2 @@ -1,8 +1,9 @@ # Boost.Geometry (aka GGL, Generic Geometry Library) # -# Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. -# Copyright (c) 2008-2012 Bruno Lalande, Paris, France. -# Copyright (c) 2009-2012 Mateusz Loskot, London, UK. +# Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands. +# Copyright (c) 2008-2015 Bruno Lalande, Paris, France. +# Copyright (c) 2009-2015 Mateusz Loskot, London, UK. +# Copyright (c) 2015 Adam Wulkiewicz, Lodz, Poland. # # Use, modification and distribution is subject to the Boost Software License, # Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at @@ -10,6 +11,20 @@ test-suite boost-geometry-concepts : - [ run linestring_concept.cpp ] - [ run polygon_concept.cpp ] + [ run linestring_concept.cpp : : : : concepts_linestring_concept ] + [ compile point_array.cpp : : concepts_point_array ] + [ compile point_concept_checker.cpp : : concepts_point_concept_checker ] + [ compile point_well_formed.cpp : : concepts_point_well_formed ] + [ compile point_well_formed_non_cartesian.cpp : : concepts_point_well_formed_non_cartesian ] + [ compile point_well_formed_traits.cpp : : concepts_point_well_formed_traits ] + [ compile-fail point_geographic_custom_with_wrong_units.cpp : : concepts_point_geographic_custom_with_wrong_units ] + [ compile-fail point_geographic_with_wrong_units.cpp : : concepts_point_geographic_with_wrong_units ] + [ compile-fail point_spherical_custom_with_wrong_units.cpp : : concepts_point_spherical_custom_with_wrong_units ] + [ compile-fail point_spherical_with_wrong_units.cpp : : concepts_point_spherical_with_wrong_units ] + [ compile-fail point_with_incorrect_dimension.cpp : : concepts_point_with_incorrect_dimension ] + [ compile-fail point_without_coordinate_type.cpp : : concepts_point_without_coordinate_type ] + [ compile-fail point_without_dimension.cpp : : concepts_point_without_dimension ] + [ compile-fail point_without_getter.cpp : : concepts_point_without_getter ] + [ compile-fail point_without_setter.cpp : : concepts_point_without_setter ] +# [ run polygon_concept.cpp : : : : concepts_polygon_concept ] ; diff --git a/test/point_concept/function_asserting_a_point.hpp b/test/concepts/function_asserting_a_point.hpp similarity index 100% rename from test/point_concept/function_asserting_a_point.hpp rename to test/concepts/function_asserting_a_point.hpp diff --git a/test/point_concept/function_requiring_a_point.hpp b/test/concepts/function_requiring_a_point.hpp similarity index 100% rename from test/point_concept/function_requiring_a_point.hpp rename to test/concepts/function_requiring_a_point.hpp diff --git a/test/point_concept/array_point.cpp b/test/concepts/point_array.cpp similarity index 100% rename from test/point_concept/array_point.cpp rename to test/concepts/point_array.cpp diff --git a/test/point_concept/concept_checker.cpp b/test/concepts/point_concept_checker.cpp similarity index 100% rename from test/point_concept/concept_checker.cpp rename to test/concepts/point_concept_checker.cpp diff --git a/test/point_concept/geographic_custom_point_with_wrong_units.cpp b/test/concepts/point_geographic_custom_with_wrong_units.cpp similarity index 100% rename from test/point_concept/geographic_custom_point_with_wrong_units.cpp rename to test/concepts/point_geographic_custom_with_wrong_units.cpp diff --git a/test/point_concept/geographic_point_with_wrong_units.cpp b/test/concepts/point_geographic_with_wrong_units.cpp similarity index 100% rename from test/point_concept/geographic_point_with_wrong_units.cpp rename to test/concepts/point_geographic_with_wrong_units.cpp diff --git a/test/point_concept/spherical_equatorial_custom_point_with_wrong_units.cpp b/test/concepts/point_spherical_custom_with_wrong_units.cpp similarity index 100% rename from test/point_concept/spherical_equatorial_custom_point_with_wrong_units.cpp rename to test/concepts/point_spherical_custom_with_wrong_units.cpp diff --git a/test/point_concept/spherical_equatorial_point_with_wrong_units.cpp b/test/concepts/point_spherical_with_wrong_units.cpp similarity index 100% rename from test/point_concept/spherical_equatorial_point_with_wrong_units.cpp rename to test/concepts/point_spherical_with_wrong_units.cpp diff --git a/test/point_concept/well_formed_point.cpp b/test/concepts/point_well_formed.cpp similarity index 100% rename from test/point_concept/well_formed_point.cpp rename to test/concepts/point_well_formed.cpp diff --git a/test/point_concept/well_formed_non_cartesian_point.cpp b/test/concepts/point_well_formed_non_cartesian.cpp similarity index 100% rename from test/point_concept/well_formed_non_cartesian_point.cpp rename to test/concepts/point_well_formed_non_cartesian.cpp diff --git a/test/point_concept/well_formed_point_traits.cpp b/test/concepts/point_well_formed_traits.cpp similarity index 100% rename from test/point_concept/well_formed_point_traits.cpp rename to test/concepts/point_well_formed_traits.cpp diff --git a/test/point_concept/point_with_incorrect_dimension.cpp b/test/concepts/point_with_incorrect_dimension.cpp similarity index 100% rename from test/point_concept/point_with_incorrect_dimension.cpp rename to test/concepts/point_with_incorrect_dimension.cpp diff --git a/test/point_concept/point_without_coordinate_type.cpp b/test/concepts/point_without_coordinate_type.cpp similarity index 100% rename from test/point_concept/point_without_coordinate_type.cpp rename to test/concepts/point_without_coordinate_type.cpp diff --git a/test/point_concept/point_without_dimension.cpp b/test/concepts/point_without_dimension.cpp similarity index 100% rename from test/point_concept/point_without_dimension.cpp rename to test/concepts/point_without_dimension.cpp diff --git a/test/point_concept/point_without_getter.cpp b/test/concepts/point_without_getter.cpp similarity index 100% rename from test/point_concept/point_without_getter.cpp rename to test/concepts/point_without_getter.cpp diff --git a/test/point_concept/point_without_setter.cpp b/test/concepts/point_without_setter.cpp similarity index 100% rename from test/point_concept/point_without_setter.cpp rename to test/concepts/point_without_setter.cpp diff --git a/test/point_concept/Jamfile.v2 b/test/point_concept/Jamfile.v2 deleted file mode 100644 index c8bc7c157..000000000 --- a/test/point_concept/Jamfile.v2 +++ /dev/null @@ -1,27 +0,0 @@ -# Boost.Geometry (aka GGL, Generic Geometry Library) -# -# Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. -# Copyright (c) 2008-2012 Bruno Lalande, Paris, France. -# Copyright (c) 2009-2012 Mateusz Loskot, London, UK. -# -# 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) - -test-suite boost-geometry-point-concept - : - [ compile concept_checker.cpp ] - [ compile well_formed_non_cartesian_point.cpp ] - [ compile well_formed_point.cpp ] - [ compile well_formed_point_traits.cpp ] - [ compile array_point.cpp ] - [ compile-fail geographic_custom_point_with_wrong_units.cpp ] - [ compile-fail geographic_point_with_wrong_units.cpp ] - [ compile-fail point_without_coordinate_type.cpp ] - [ compile-fail point_without_dimension.cpp ] - [ compile-fail point_without_getter.cpp ] - [ compile-fail point_without_setter.cpp ] - [ compile-fail point_with_incorrect_dimension.cpp ] - [ compile-fail spherical_equatorial_custom_point_with_wrong_units.cpp ] - [ compile-fail spherical_equatorial_point_with_wrong_units.cpp ] - ;