QA: Remove deprecated boost headers

The test_case_template.hpp header is deprecated in Boost, and the
latest Boost version is now throwing warnings during the build.

In Boost 1.59 (at least), this header is included transitively by the main
Boost test header, so this header is not needed by any supported Boost
version.
This commit is contained in:
John Beard 2019-11-22 16:41:18 +08:00
parent f1ef036400
commit 1b124832fe
9 changed files with 5 additions and 16 deletions

View File

@ -22,7 +22,6 @@
*/
#include <boost/test/unit_test.hpp>
#include <boost/test/test_case_template.hpp>
#include <unit_test_utils/unit_test_utils.h>

View File

@ -21,7 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <boost/test/test_case_template.hpp>
#include <boost/test/unit_test.hpp>
#include "color4d_test_utils.h"

View File

@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <boost/test/unit_test.hpp>
#include <boost/test/test_case_template.hpp>
#include <unit_test_utils/unit_test_utils.h>
#include <base_units.h>

View File

@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <boost/test/unit_test.hpp>
#include <boost/test/test_case_template.hpp>
#include <unit_test_utils/unit_test_utils.h>
#include <title_block.h>

View File

@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <boost/test/unit_test.hpp>
#include <boost/test/test_case_template.hpp>
#include <unit_test_utils/unit_test_utils.h>
#include <utf8.h>

View File

@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <boost/test/test_case_template.hpp>
#include <boost/test/unit_test.hpp>
#include <unit_test_utils/unit_test_utils.h>
#include <view/zoom_controller.h>

View File

@ -21,9 +21,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <boost/test/test_case_template.hpp>
#include <boost/test/unit_test.hpp>
#include <unit_test_utils/unit_test_utils.h>
#include <import_gfx/graphics_import_mgr.h>

View File

@ -21,8 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <boost/test/test_case_template.hpp>
#include <boost/test/unit_test.hpp>
#include <unit_test_utils/unit_test_utils.h>
#include <class_board.h>
#include <class_module.h>

View File

@ -24,7 +24,6 @@
#ifndef UNIT_TEST_UTILS__H
#define UNIT_TEST_UTILS__H
#include <boost/test/test_case_template.hpp>
#include <boost/test/unit_test.hpp>
#include <unit_test_utils/wx_assert.h>