Peter Dimov
0600b49827
Add no_exceptions_support_test
2019-04-19 17:32:05 +03:00
Glen Fernandes
4ea704e80a
Add use_default to Core
2019-02-22 16:51:33 -05:00
Glen Fernandes
266076f83b
Update empty_value test cases
2019-02-19 02:09:54 -05:00
Peter Dimov
dcbe62c6bf
Add BOOST_TEST_TRAIT_SAME
2019-02-06 02:02:40 +02:00
Peter Dimov
3f3bba7869
Add test/cmake_subdir_test
2019-01-12 21:25:10 +02:00
Andrey Semashev
82957de970
Extracted uncaught_exceptions function from Boost.Log.
...
The uncaught_exceptions function is functionally equivalent to
unhandled_exceptions_count in Boost.Log and implements functionality
similar to the same named C++17 standard function. Tests and docs are
also included.
One notable difference from std::uncaught_exceptions is that the return
type is unsigned rather than signed. This is deliberate as uncaught_exceptions
must never return a negative value and unsigned int better documents that.
Theoretically, as a counter, it may also overflow.
2018-11-10 17:44:13 +03:00
Peter Dimov
e9f986d11e
Add compile-fail test for const boost::Wrapper
2018-10-24 12:06:45 +03:00
Peter Dimov
4dc12c59bd
Fix test to compare typeinfo rather than its address
2018-10-21 18:44:34 +03:00
Peter Dimov
026be7659c
Add test for BOOST_CORE_TYPEID in a library
2018-10-21 17:47:33 +03:00
Peter Dimov
5e08874182
Add initial implementation of quick_exit
2018-09-05 17:06:42 +03:00
Glen Fernandes
76c3538315
Suppress MSVC error dialogs and add test for report_errors()
2018-09-04 21:16:36 -04:00
Glen Fernandes
3f7d36445d
Reduce statics in Lightweight_test
2018-09-04 16:53:25 -04:00
Glen Fernandes
2eaba7d6d1
Make empty_value<T> trivial if T is trivial
2018-08-26 02:10:02 -04:00
Glen Fernandes
f504872d89
Implement empty_value
2018-08-24 16:24:34 -04:00
Peter Dimov
b8a9b2c234
Add lightweight_test_test3
2018-08-07 17:58:23 +03:00
Peter Dimov
e11fa9ac03
In lightweight_test_eq_nullptr, test with nullptr as first argument as well
2018-08-07 17:43:38 +03:00
Glen Fernandes
cc119253b4
Simplify test case; type does not need to be noncopyable
2018-07-12 21:48:05 -04:00
Glen Fernandes
19ec659a91
Simplify exchange implementation for pre-C++11
2018-07-09 08:48:50 -04:00
Glen Fernandes
2cd4753a02
Implement boost::exchange
2018-07-08 09:25:07 -04:00
Glen Fernandes
dbb3305050
Only checking BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION is sufficient
2018-01-27 09:42:02 -05:00
Glen Fernandes
23f10ab4bf
Update pointer_traits and to_address to reflect the design adopted for C++20
2018-01-27 05:15:05 -05:00
Peter Dimov
6a1c3a82a1
Add quick test target
2017-09-04 15:32:13 +03:00
Glen Fernandes
09f4823baa
Add free function to_address
2017-07-21 07:14:02 -04:00
Glen Fernandes
526e0b2f53
Add tests for user specializations of pointer_traits
2017-07-21 07:13:31 -04:00
Glen Fernandes
ac6044769f
Add free function to_address
2017-07-21 06:21:50 -04:00
Kohei Takahashi
3a2c94df8c
Added BOOST_TEST_GT and BOOST_TEST_GE.
...
Just LT and LE are insufficient for testing operator overloads.
2017-06-18 01:10:43 +09:00
Peter Dimov
637b2ffaff
Make BOOST_TEST_EQ/NE work with nullptr
2017-05-29 21:15:49 +03:00
Glen Fernandes
335aa4f396
Merge pull request #33 from glenfe/pointer_traits
...
Add pointer_traits with to_address
2017-05-17 09:21:21 -04:00
Glen Fernandes
26cab26e52
Add pointer_traits with to_address
2017-05-17 08:09:05 -04:00
Peter Dimov
b805efd4fe
Add get_pointer tests for 0
2017-05-10 20:22:19 +03:00
Glen Fernandes
dc6003e26f
Disable addressof for r-values when possible
2017-04-23 02:04:54 -04:00
Peter Dimov
46545326d8
Add BOOST_TEST_LT, BOOST_TEST_LE
2017-03-16 01:31:43 +02:00
Bjorn Reese
a796c200e5
Moved failing test to separate file
2017-02-18 19:52:12 +01:00
Bjorn Reese
a3382dd5a8
Added BOOST_TEST_ALL_WITH macro to compare container contents with a predicate
2017-02-18 13:43:29 +01:00
Bjorn Reese
1bdb657b71
Renamed test suite for BOOST_TEST_ALL_EQ
2017-02-13 15:58:15 +01:00
Bjorn Reese
c8b7acc8aa
Changed lightweight_test_fail11 from run-fail to run
2017-02-12 15:11:30 +01:00
Bjorn Reese
db8efb4ce9
Changed ForwardIterator to InputIterator for test_all_eq_impl
2017-02-12 13:19:39 +01:00
Bjorn Reese
265583bc78
Fixed error output of test_all_eq_impl
2017-02-11 18:26:57 +01:00
Bjorn Reese
3bc56800cd
Added BOOST_TEST_ALL_EQ macro to compare container contents
2017-02-11 15:03:45 +01:00
hans.dembinski@gmail.com
4570cced27
more compared code following suggestion from Glen Fernandes and testing expected failures
2017-02-07 15:05:08 +00:00
hans.dembinski@gmail.com
cc5472623f
compare pointers as addresses and use BOOST_TEST_CSTR_xx to compare cstrings
2017-02-06 20:08:43 +00:00
hans.dembinski@gmail.com
3942e9c097
following pdimovs suggestion to avoid folding
2017-02-05 20:01:47 +00:00
hans.dembinski@gmail.com
7774d33e45
really make sure addresses are different
2017-02-05 19:24:15 +00:00
hans.dembinski@gmail.com
cdee8e76c5
fix for trac issue #12814 , including a new test for the issue
2017-02-05 19:06:21 +00:00
Peter Dimov
55b2786770
Add ref_cv_test
2017-02-02 18:40:06 +02:00
Glen Fernandes
09dcc68ecd
Implement constexpr addressof
2017-01-31 08:45:47 -05:00
Andrey Semashev
c0f277a7d8
Silenced warnings about unused variables.
2016-11-07 17:56:45 +03:00
Andrey Semashev
b7f49c9c78
Use auto_ptr only when it is provided by the standard library. Improves compatibility with C++17.
2016-11-06 20:00:47 +03:00
Peter Dimov
aa17d6a5e2
Merge branch 'develop' of https://github.com/eldiener/core into develop
2016-09-10 01:06:07 +03:00
Andrey Semashev
b0b16d6ddb
Attempt to re-enable Boost.Core.Swap tests.
2016-07-11 17:08:28 +03:00