Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r69487 - in sandbox/enums/libs/enums/test: . enum_set
From: vicente.botet_at_[hidden]
Date: 2011-03-02 15:31:18


Author: viboes
Date: 2011-03-02 15:31:13 EST (Wed, 02 Mar 2011)
New Revision: 69487
URL: http://svn.boost.org/trac/boost/changeset/69487

Log:
Enums: add include test for enum_set
Added:
   sandbox/enums/libs/enums/test/enum_set/version.pass.cpp (contents, props changed)
Text files modified:
   sandbox/enums/libs/enums/test/Jamfile.v2 | 12 +++++++++---
   1 files changed, 9 insertions(+), 3 deletions(-)

Modified: sandbox/enums/libs/enums/test/Jamfile.v2
==============================================================================
--- sandbox/enums/libs/enums/test/Jamfile.v2 (original)
+++ sandbox/enums/libs/enums/test/Jamfile.v2 2011-03-02 15:31:13 EST (Wed, 02 Mar 2011)
@@ -56,8 +56,8 @@
         [ run EnumClass.cpp odr.cpp ]
         ;
 
- test-suite "enum_array"
- :
+ test-suite "enum_array"
+ :
         [ run enum_array/types.pass.cpp : : : : enum_array__types__pass ]
         [ run enum_array/cons/default.pass.cpp : : : : enum_array__cons__default__pass ]
         [ run enum_array/cons/initializer_list.pass.cpp : : : : enum_array__cons__initializer_list__pass ]
@@ -67,4 +67,10 @@
         [ run enum_array/swap/swap.pass.cpp : : : : enum_array__swap__swap__pass ]
         [ run enum_array/special/swap.pass.cpp : : : : enum_array__special__swap__pass ]
         [ run enum_array/fill/fill.pass.cpp : : : : enum_array__fill__fill__pass ]
- ;
\ No newline at end of file
+ ;
+
+ test-suite "enum_set"
+ :
+ [ run enum_set/version.pass.cpp : : : : enum_set__version__pass ]
+ ;
+
\ No newline at end of file

Added: sandbox/enums/libs/enums/test/enum_set/version.pass.cpp
==============================================================================
--- (empty file)
+++ sandbox/enums/libs/enums/test/enum_set/version.pass.cpp 2011-03-02 15:31:13 EST (Wed, 02 Mar 2011)
@@ -0,0 +1,33 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// (C) Copyright Vicente J. Botet Escriba 2011.
+// 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)
+//
+// See http://www.boost.org/libs/enums for documentation.
+//
+// Adapted from libcxx tests
+//
+////////////////////////////////////////////////////////////////////////////////===----------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+// <boost/enums/enum_set.hpp>
+
+#include <boost/enums/enum_set.hpp>
+
+//~ #ifndef BOOST_ENUMS_VERSION
+//~ #error BOOST_ENUMS_VERSION not defined
+//~ #endif
+
+int main()
+{
+}


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