From: Carl Hetherington Date: Tue, 30 May 2023 12:31:24 +0000 (+0200) Subject: Move test into its own method. X-Git-Tag: v2.16.58~17 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=05520f722348f30b19ab1d950f2d58016e02de55 Move test into its own method. --- diff --git a/test/map_cli_test.cc b/test/map_cli_test.cc index ffe281de5..4b212ea39 100644 --- a/test/map_cli_test.cc +++ b/test/map_cli_test.cc @@ -209,8 +209,9 @@ BOOST_AUTO_TEST_CASE(map_simple_interop_dcp_with_subs) } -/** Map an OV and a VF into a single DCP */ -BOOST_AUTO_TEST_CASE(map_ov_vf_copy) +static +void +test_map_ov_vf_copy() { string const name = "map_ov_vf_copy"; string const out = String::compose("build/test/%1_out", name); @@ -251,6 +252,12 @@ BOOST_AUTO_TEST_CASE(map_ov_vf_copy) } +/** Map an OV and a VF into a single DCP */ +BOOST_AUTO_TEST_CASE(map_ov_vf_copy) +{ + test_map_ov_vf_copy(); +} + /** Map a single DCP into a new DCP using the rename option */ BOOST_AUTO_TEST_CASE(map_simple_dcp_copy_with_rename) {