projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update mussa to build on ubuntu 10.04 with qt 4.6.2 +boost 1.40.0.1
[mussa.git]
/
alg
/
test
/
test_drawable.cpp
diff --git
a/alg/test/test_drawable.cpp
b/alg/test/test_drawable.cpp
index 8319984a9b57ec42f7af9c85b401258574bd8156..391427670985dfebdcef97a2c138795eaf514eca 100644
(file)
--- a/
alg/test/test_drawable.cpp
+++ b/
alg/test/test_drawable.cpp
@@
-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_drawable
+#include <boost/test/unit_test.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/shared_ptr.hpp>
@@
-97,4
+98,4
@@
BOOST_AUTO_TEST_CASE( test_drawable_find_drawable )
BOOST_CHECK_EQUAL(drawsp->drawFunction(), test_draw_func_find_drawable);
ssp->drawable()->drawFunction();
BOOST_CHECK_EQUAL(drawsp->drawFunction(), test_draw_func_find_drawable);
ssp->drawable()->drawFunction();
-}
\ No newline at end of file
+}