X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=test%2Fcolour_conversion_test.cc;h=94284f879aea0bb99959278454286ad8ccbb9541;hp=00e830dad7b118bdbe31a165145d13ffb944e276;hb=6996f3e291aec986adb1589808a54d09b8647520;hpb=5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f diff --git a/test/colour_conversion_test.cc b/test/colour_conversion_test.cc index 00e830dad..94284f879 100644 --- a/test/colour_conversion_test.cc +++ b/test/colour_conversion_test.cc @@ -19,22 +19,20 @@ */ /** @file test/colour_conversion_test.cc - * @brief Various tests of ColourConversion. + * @brief Test ColourConversion class. + * @ingroup selfcontained */ #include "lib/colour_conversion.h" #include "lib/film.h" -#include #include #include #include #include -#include #include using std::cout; using boost::shared_ptr; -using boost::make_shared; BOOST_AUTO_TEST_CASE (colour_conversion_test1) { @@ -111,7 +109,7 @@ BOOST_AUTO_TEST_CASE (colour_conversion_test4) xmlpp::Document out; xmlpp::Element* out_root = out.create_root_node ("Test"); i.conversion.as_xml (out_root); - shared_ptr in = make_shared ("Test"); + shared_ptr in (new cxml::Document ("Test")); in->read_string (out.write_to_string ("UTF-8")); BOOST_CHECK (ColourConversion::from_xml (in, Film::current_state_version).get () == i.conversion); }