Change tests so they can be used to test implementations of TR1 (maybe, eventually).

[SVN r28052]
This commit is contained in:
Daniel James
2005-04-07 21:57:22 +00:00
parent 427b07ac6e
commit 2000b1aed8
17 changed files with 167 additions and 48 deletions
+12 -1
View File
@@ -4,13 +4,23 @@
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/functional/hash/map.hpp>
#include "./config.hpp"
#ifdef TEST_EXTENSIONS
# ifdef TEST_STD_INCLUDES
# include <functional>
# else
# include <boost/functional/hash/map.hpp>
# endif
#endif
#define BOOST_AUTO_TEST_MAIN
#include <boost/test/auto_unit_test.hpp>
#include <map>
#ifdef TEST_EXTENSIONS
using std::map;
#define CONTAINER_TYPE map
#include "./hash_map_test.hpp"
@@ -19,3 +29,4 @@ using std::multimap;
#define CONTAINER_TYPE multimap
#include "./hash_map_test.hpp"
#endif // TEST_EXTENSTIONS