summaryrefslogtreecommitdiff
path: root/cpp/src/tests/unit_test.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-06-17 13:45:31 +0000
committerAlan Conway <aconway@apache.org>2009-06-17 13:45:31 +0000
commitffd992ea799eeb6b68f36f203b708d11e3553aea (patch)
tree2c0b27f7f65d3edcb6a35227b66541ce9704eaf9 /cpp/src/tests/unit_test.h
parent80d65b38008d9b7f31c825508819f9600d63b63c (diff)
downloadqpid-python-ffd992ea799eeb6b68f36f203b708d11e3553aea.tar.gz
Drop _EXPECTED_FAILURES macro, doesn't work with all boost versions.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785601 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/unit_test.h')
-rw-r--r--cpp/src/tests/unit_test.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/cpp/src/tests/unit_test.h b/cpp/src/tests/unit_test.h
index fc542e62ad..ed9623bcc0 100644
--- a/cpp/src/tests/unit_test.h
+++ b/cpp/src/tests/unit_test.h
@@ -51,25 +51,6 @@
#endif // Workarounds for BOOST_AUTO_TEST_CASE|SUITE|SUITE_END
-// Workaround for BOOST_AUTO_TEST_SUITE_EXPECTED_FAILURES
-//
-#if (BOOST_VERSION < 103600)
-
-// Keep the test function for compilation but do not not register it.
-// TODO aconway 2008-04-23: better workaround for expected failures.
-# define QPID_AUTO_TEST_CASE_EXPECTED_FAILURES(test_name,n) \
- namespace { struct test_name { void test_method(); }; } \
- void test_name::test_method()
-
-#endif // Workaround for BOOST_AUTO_TEST_CASE_EXPECTED_FAILURES
-
-// Correct syntax for boost > 1.36
-#if (BOOST_VERSION > 103500)
-# define QPID_AUTO_TEST_CASE_EXPECTED_FAILURES(name,n) \
- BOOST_AUTO_TEST_CASE_EXPECTED_FAILURES(name,n) \
- BOOST_AUTO_TEST_CASE(name)
-#endif // Correct syntax for boost > 1.36
-
//
// Default definitions for latest version of boost.
//
@@ -82,10 +63,6 @@
# define QPID_AUTO_TEST_CASE(name) BOOST_AUTO_TEST_CASE(name)
#endif
-#ifndef QPID_AUTO_TEST_CASE_EXPECTED_FAILURES
-# define QPID_AUTO_TEST_CASE_EXPECTED_FAILURES(name,n) BOOST_AUTO_TEST_CASE_EXPECTED_FAILURES(name,n)
-#endif
-
#ifndef QPID_AUTO_TEST_SUITE_END
# define QPID_AUTO_TEST_SUITE_END() BOOST_AUTO_TEST_SUITE_END()
#endif