From: Carl Hetherington Date: Tue, 5 Jul 2022 21:09:15 +0000 (+0200) Subject: Tidy up some test names and remove pointless comments. X-Git-Tag: v2.16.19~19 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=74641dc13a4244ed656722a671f0c827dab39b03 Tidy up some test names and remove pointless comments. --- diff --git a/test/render_subtitles_test.cc b/test/render_subtitles_test.cc index 0110752a1..f4ff3b7bb 100644 --- a/test/render_subtitles_test.cc +++ b/test/render_subtitles_test.cc @@ -64,16 +64,16 @@ add (std::list& s, std::string text, bool italic, bool bold, bool un ); } -/** Test marked_up() in render_text.cc */ -BOOST_AUTO_TEST_CASE (render_markup_test1) + +BOOST_AUTO_TEST_CASE (marked_up_test1) { std::list s; add (s, "Hello", false, false, false); BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); } -/** Test marked_up() in render_text.cc */ -BOOST_AUTO_TEST_CASE (render_markup_test2) + +BOOST_AUTO_TEST_CASE (marked_up_test2) { std::list s; add (s, "Hello", false, true, false); @@ -81,24 +81,21 @@ BOOST_AUTO_TEST_CASE (render_markup_test2) } -/** Test marked_up() in render_text.cc */ -BOOST_AUTO_TEST_CASE (render_markup_test3) +BOOST_AUTO_TEST_CASE (marked_up_test3) { std::list s; add (s, "Hello", true, true, false); BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); } -/** Test marked_up() in render_text.cc */ -BOOST_AUTO_TEST_CASE (render_markup_test4) +BOOST_AUTO_TEST_CASE (marked_up_test4) { std::list s; add (s, "Hello", true, true, true); BOOST_CHECK_EQUAL(marked_up(s, 1024, 1, ""), "Hello"); } -/** Test marked_up() in render_text.cc */ -BOOST_AUTO_TEST_CASE (render_markup_test5) +BOOST_AUTO_TEST_CASE (marked_up_test5) { std::list s; add (s, "Hello", false, true, false); @@ -106,8 +103,7 @@ BOOST_AUTO_TEST_CASE (render_markup_test5) BOOST_CHECK_EQUAL (marked_up(s, 1024, 1, ""), "Hello world."); } -/** Test marked_up() in render_text.cc */ -BOOST_AUTO_TEST_CASE (render_markup_test6) +BOOST_AUTO_TEST_CASE (marked_up_test6) { std::list s; add (s, "Hello", true, false, false);