Update mussa to build on ubuntu 10.04 with qt 4.6.2 +boost 1.40.0.1
[mussa.git] / alg / test / test_annotation_color.cpp
index 7d2a885f8594e027c2aaf1e501f9f693f3a2afcd..15373d89243ee2a4238b08ee4a0d3e1f603d8404 100644 (file)
@@ -1,5 +1,6 @@
-#define BOOST_AUTO_TEST_MAIN
-#include <boost/test/auto_unit_test.hpp>
+#define BOOST_TEST_DYN_LINK
+#define BOOST_TEST_MODULE test_annotation_color
+#include <boost/test/unit_test.hpp>
 
 #include "alg/annotation_colors.hpp"
 #include "alg/color.hpp"
@@ -26,6 +27,8 @@ BOOST_AUTO_TEST_CASE( simple_annot_colors )
   BOOST_CHECK_EQUAL( ac.lookup("bleem", "foo"), black );
   BOOST_CHECK_EQUAL( ac.lookup("venchent", "a"), white );
 
+  /*
+  // Removed as we're phasing out the annot and annotation colors classes
   annot a;
   a.begin = 30;
   a.end = 45;
@@ -37,7 +40,8 @@ BOOST_AUTO_TEST_CASE( simple_annot_colors )
   BOOST_CHECK_EQUAL( ac.lookup(a), black );
   a.type = "venchent";
   BOOST_CHECK_EQUAL( ac.lookup(a), white );
-
+  */
+  
   ac.clear();
   BOOST_CHECK_EQUAL( ac.lookup("bleem", "a"), black);
 }