Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67667 - in trunk/libs: detail/test functional/hash/test
From: dnljms_at_[hidden]
Date: 2011-01-04 18:30:23


Author: danieljames
Date: 2011-01-04 18:30:22 EST (Tue, 04 Jan 2011)
New Revision: 67667
URL: http://svn.boost.org/trac/boost/changeset/67667

Log:
Move tests for container_fwd.hpp into detail.

Added:
   trunk/libs/detail/test/container_fwd_test.cpp
      - copied, changed from r67666, /trunk/libs/functional/hash/test/container_fwd_test.cpp
   trunk/libs/detail/test/container_no_fwd_test.cpp
      - copied unchanged from r67666, /trunk/libs/functional/hash/test/container_no_fwd_test.cpp
Removed:
   trunk/libs/functional/hash/test/container_fwd_test.cpp
   trunk/libs/functional/hash/test/container_no_fwd_test.cpp
Text files modified:
   trunk/libs/detail/test/container_fwd_test.cpp | 2 --
   trunk/libs/functional/hash/test/Jamfile.v2 | 6 ------
   2 files changed, 0 insertions(+), 8 deletions(-)

Copied: trunk/libs/detail/test/container_fwd_test.cpp (from r67666, /trunk/libs/functional/hash/test/container_fwd_test.cpp)
==============================================================================
--- /trunk/libs/functional/hash/test/container_fwd_test.cpp (original)
+++ trunk/libs/detail/test/container_fwd_test.cpp 2011-01-04 18:30:22 EST (Tue, 04 Jan 2011)
@@ -3,8 +3,6 @@
 // Distributed under the 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 "./config.hpp"
-
 #include <boost/functional/detail/container_fwd.hpp>
 
 #if BOOST_WORKAROUND(__GNUC__, < 3) && \

Modified: trunk/libs/functional/hash/test/Jamfile.v2
==============================================================================
--- trunk/libs/functional/hash/test/Jamfile.v2 (original)
+++ trunk/libs/functional/hash/test/Jamfile.v2 2011-01-04 18:30:22 EST (Tue, 04 Jan 2011)
@@ -43,12 +43,6 @@
         [ run link_test.cpp link_test_2.cpp ]
         [ run link_ext_test.cpp link_no_ext_test.cpp ]
         [ run extensions_hpp_test.cpp ]
- [ run container_fwd_test.cpp ]
- [ run container_fwd_test.cpp : :
- : <toolset>gcc:<define>_GLIBCXX_DEBUG
- <toolset>darwin:<define>_GLIBCXX_DEBUG
- : container_fwd_gcc_debug ]
- [ run container_no_fwd_test.cpp ]
         [ compile-fail hash_no_ext_fail_test.cpp ]
         [ compile-fail namespace_fail_test.cpp ]
         [ compile-fail implicit_fail_test.cpp ]

Deleted: trunk/libs/functional/hash/test/container_fwd_test.cpp
==============================================================================
--- trunk/libs/functional/hash/test/container_fwd_test.cpp 2011-01-04 18:30:22 EST (Tue, 04 Jan 2011)
+++ (empty file)
@@ -1,114 +0,0 @@
-
-// Copyright 2005-2009 Daniel James.
-// Distributed under the 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 "./config.hpp"
-
-#include <boost/functional/detail/container_fwd.hpp>
-
-#if BOOST_WORKAROUND(__GNUC__, < 3) && \
- !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
-template <class charT, class Allocator>
-static void test(
- std::basic_string<charT, std::string_char_traits<charT>, Allocator> const&)
-{
-}
-#else
-template <class charT, class Allocator>
-static void test(
- std::basic_string<charT, std::char_traits<charT>, Allocator> const&)
-{
-}
-#endif
-
-template <class T, class Allocator>
-static void test(std::deque<T, Allocator> const&)
-{
-}
-
-template <class T, class Allocator>
-static void test(std::list<T, Allocator> const&)
-{
-}
-
-template <class T, class Allocator>
-static void test(std::vector<T, Allocator> const&)
-{
-}
-
-template <class Key, class T, class Compare, class Allocator>
-static void test(std::map<Key, T, Compare, Allocator> const&)
-{
-}
-
-template <class Key, class T, class Compare, class Allocator>
-static void test(std::multimap<Key, T, Compare, Allocator> const&)
-{
-}
-
-template <class Key, class Compare, class Allocator>
-static void test(std::set<Key, Compare, Allocator> const&)
-{
-}
-
-template <class Key, class Compare, class Allocator>
-static void test(std::multiset<Key, Compare, Allocator> const&)
-{
-}
-
-template <std::size_t N>
-static void test(std::bitset<N> const&)
-{
-}
-
-template <class T>
-static void test(std::complex<T> const&)
-{
-}
-
-template <class X, class Y>
-static void test(std::pair<X, Y> const&)
-{
-}
-
-#include <deque>
-#include <list>
-#include <vector>
-#include <map>
-#include <set>
-#include <bitset>
-#include <string>
-#include <complex>
-#include <utility>
-
-int main()
-{
- std::deque<int> x1;
- std::list<std::string> x2;
- std::vector<float> x3;
- std::vector<bool> x4;
- std::map<int, int> x5;
- std::multimap<float, int*> x6;
- std::set<std::string> x7;
- std::multiset<std::vector<int> > x8;
- std::bitset<10> x9;
- std::string x10;
- std::complex<double> x11;
- std::pair<std::list<int>, char***> x12;
-
- test(x1);
- test(x2);
- test(x3);
- test(x4);
- test(x5);
- test(x6);
- test(x7);
- test(x8);
- test(x9);
- test(x10);
- test(x11);
- test(x12);
-
- return 0;
-}

Deleted: trunk/libs/functional/hash/test/container_no_fwd_test.cpp
==============================================================================
--- trunk/libs/functional/hash/test/container_no_fwd_test.cpp 2011-01-04 18:30:22 EST (Tue, 04 Jan 2011)
+++ (empty file)
@@ -1,14 +0,0 @@
-
-// Copyright 2010 Daniel James.
-// Distributed under the Boost Software License, Version 1.0. (See accompanying
-// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
-
-#define BOOST_DETAIL_NO_CONTAINER_FWD
-
-#include <boost/detail/container_fwd.hpp>
-
-int main()
-{
- std::set<int> x;
- std::vector<std::string> y;
-}


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk