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
Peter Dimov
94d3d3540f
Remove test dependency on mpl/not.hpp.
2016-05-21 20:07:35 +03:00
Edward Diener
fd022e2d86
Added documentation and tests for BOOST_TEST_NOT.
2016-05-20 05:22:20 -04:00
Joel Falcou
482a6f9419
Fix test for enable_if_has_type
2015-08-18 08:59:05 +02:00
Joel Falcou
87d43ddffc
Rename to enable_if_has_type in concordance with MPL existing traits
2015-08-13 17:42:34 +02:00
Joel Falcou
ad513c1641
Introduces enable_if_type
...
enable_if_type allow to perform SFINAE check on the existence
of a dependent type.
It has been used here and there in various boost library but it's
useful enough to warrant an autonomous existence.
2015-08-10 16:55:44 +02:00
Adam Wulkiewicz
7aec0e45bd
[core] Add/improve ignore_unused() function specifiers.
...
Add C++14 constexpr by BOOST_CXX14_CONSTEXPR.
Replace inline with BOOST_FORCEINLINE.
2015-04-12 15:08:55 +02:00
Peter Dimov
dd17b055c6
Add missing #include <typeinfo> per Trac ticket 11094.
2015-03-11 00:27:15 +02:00
Peter Dimov
5d251ae769
Switch swap tests to lightweight_test.
2014-08-09 12:54:49 +03:00
Peter Dimov
0fa07e72eb
Remove reference-collapsing overloads of ref and cref.
2014-07-15 12:06:55 +03:00
Andrey Semashev
95ad3ede45
Corrected the path to noncopyable_compile_fail.cpp test.
2014-06-12 21:25:13 +04:00
Andrey Semashev
3408d02684
Merge branch 'develop' of github.com:boostorg/core into develop
2014-06-12 20:06:04 +04:00
Andrey Semashev
10a2b35c4a
Removed trailing spaces.
2014-06-12 20:05:59 +04:00
Andrey Semashev
2ace824e44
Renamed test and added to Jamfile.
2014-06-12 19:53:08 +04:00
Andrey Semashev
79a9e9414b
The test was moved from Boost.Utility.
2014-06-12 19:50:47 +04:00
Andrey Semashev
6cdeec8841
Added low level tools for demangling. Requested by Boost.TypeIndex author.
2014-06-12 19:23:36 +04:00
Peter Dimov
d0f895f0bb
Copy ref_fn_test from libs/bind.
2014-06-10 04:51:38 +03:00
Peter Dimov
c5dd995ead
Add boost::report_errors to ref_ref_test.
2014-06-10 04:40:21 +03:00
Peter Dimov
b6b2147311
Switch ref_ct_test to core::is_same.
2014-06-10 03:41:03 +03:00
Peter Dimov
4b0bca5ec2
Add a test for ref(ref(x)).
2014-06-10 03:37:21 +03:00
Peter Dimov
2fbec91fe8
Add negative tests for cref() and rvalues.
2014-06-10 03:31:28 +03:00
Peter Dimov
78892a472a
More cosmetic fixes in ref tests.
2014-06-10 03:26:09 +03:00
Peter Dimov
c48adcc3ea
Added negative tests for rvalue to reference_wrapper implicit conversion.
2014-06-10 03:21:22 +03:00
Peter Dimov
a0f5475126
Copyright and cosmetic fixes.
2014-06-10 03:14:33 +03:00
K-ballo
45f7564db2
Disable binding ref to temporaries when rvalue references are supported
2014-06-09 20:42:00 -03:00
Andrey Semashev
810e88ba2a
Removed tab.
2014-06-07 03:51:27 +04:00
Andrey Semashev
e94031ee1f
Renamed swap tests to have the swap- prefix. This way these tests will be more apparent in the test report.
2014-06-07 03:34:21 +04:00
Andrey Semashev
f930ce31cf
Added tests for scoped enums and underlying_type. Fixed a bug with native_value(). Fixed a bug that allowed implicit conversions of scoped enums to int (at least with clang 3.4).
2014-06-07 02:30:29 +04:00
Peter Dimov
2b18ddfbce
Fix detail_iterator_test.cpp for libc++.
2014-06-07 01:01:08 +03:00
Peter Dimov
cee977fc84
Lift core::detail::demange to core, move demangled_name to typeinfo.hpp.
2014-06-06 23:30:32 +03:00
Peter Dimov
231f4406e9
Initialize arrays. The const case was illegal without an initializer.
2014-06-06 23:12:58 +03:00
Peter Dimov
13d1a807ad
Add core::demangled_name.
2014-06-06 15:49:29 +03:00
Peter Dimov
dd1121d589
Split BOOST_TEST_TRAIT_* into lightweight_test_trait.hpp.
2014-06-06 15:17:16 +03:00
Peter Dimov
67edf2fdea
Add test for boost/detail/iterator.hpp.
2014-06-06 03:07:46 +03:00
Peter Dimov
f2c658c6a3
Move sp_typeinfo to core; add BOOST_TEST_TRAIT_*; add core::is_same; add more tests using those.
2014-06-06 02:34:46 +03:00
Peter Dimov
658aa6205c
Simplify test/Jamfile.v2, add no-exceptions test for lightweight_test.
2014-06-05 17:15:24 +03:00
Peter Dimov
7d2b68bb89
Add tests for lightweight_test.hpp.
2014-06-05 16:57:22 +03:00
Peter Dimov
5883ec1f1a
Add get_pointer_test.
2014-06-03 21:08:55 +03:00
Peter Dimov
7ebcee675a
Add more checked_delete tests, a visit_each test.
2014-06-03 21:02:36 +03:00
Peter Dimov
d30b4b2ec3
Add sp_typeinfo_test to test/Jamfile.v2.
2014-06-03 20:40:49 +03:00
Peter Dimov
d10e0ae094
Merge [58275], [58306] to release.
...
[SVN r58380]
2014-06-03 20:31:07 +03:00
Peter Dimov
33fbd45af3
Merge [58123], [58127], [58128] to release. Fixes #3666 .
...
[SVN r58195]
2014-06-03 20:31:06 +03:00
Adam Wulkiewicz
dfd58762a2
Enable test for unused typedefs only for GCC 4.8
2014-06-02 21:46:40 +02:00
Adam Wulkiewicz
70a9ef7141
Fix #include in ignore_unused_test.cpp
2014-06-02 15:18:23 +02:00
Adam Wulkiewicz
61cc397be8
Add boost::ignore_unused()
2014-06-02 15:06:53 +02:00
Andrey Semashev
15466fbd5f
boost::swap tests moved to the common directory.
2014-06-01 22:57:30 +04:00
Andrey Semashev
3a3a67d329
Added explicit_operator_bool tests to Jamfile.
2014-06-01 22:39:38 +04:00
Andrey Semashev
aaadc128f3
Added a new macro BOOST_EXPLICIT_OPERATOR_BOOL_NOEXCEPT, which implements a noexcept operator. Also added explicit noexcept specification for the constexpr macro.
2014-06-01 21:55:26 +04:00
Andrey Semashev
e9a53f2e69
Extracted BOOST_EXPLICIT_OPERATOR_BOOL macro from Boost.Log.
...
[SVN r85543]
2014-06-01 21:55:26 +04:00
Peter Dimov
927f98189d
Update enable_if tests to use lightweight_test, add to Jamfile.
2014-06-01 02:10:28 +03:00
Peter Dimov
ba9f0e47a1
Remove unnecessary includes and workarounds from ref_ct_test.
2014-06-01 01:51:40 +03:00
Peter Dimov
f032781796
Add Jamfile.v2; make ref_test use lightweight_test.hpp.
2014-06-01 01:48:14 +03:00
Peter Dimov
5dd86f3ac4
Move and rename test files.
2014-06-01 01:31:54 +03:00