1 ///////////////////////////////////////////////////////////////////////////////
4 // Copyright 2008 Eric Niebler. Distributed under the Boost
5 // Software License, Version 1.0. (See accompanying file
6 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11 ///////////////////////////////////////////////////////////////////////////////
13 // read the tests from the input file and execute them
16 #ifndef BOOST_XPRESSIVE_NO_WREGEX
17 typedef std::wstring::const_iterator iterator_type
;
18 boost::iterator_range
<xpr_test_case
<iterator_type
> const *> rng
= get_test_cases
<iterator_type
>();
19 std::for_each(rng
.begin(), rng
.end(), test_runner
<iterator_type
>());
23 ///////////////////////////////////////////////////////////////////////////////
24 // init_unit_test_suite
26 test_suite
* init_unit_test_suite( int argc
, char* argv
[] )
28 test_suite
*test
= BOOST_TEST_SUITE("test6u");
29 test
->add(BOOST_TEST_CASE(&test_main
));