Commit Graph
90 Commits
Author SHA1 Message Date
Peter Dimov 3e0bc52c32 Add <boost/core/type_name.hpp> 2021-09-29 19:13:12 +03:00
Peter Dimov 8043bafb6b Add a generic cmath.hpp implementation, enabled when BOOST_CORE_USE_GENERIC_CMATH is defined 2021-09-14 16:50:34 +03:00
Peter Dimov b3fa7ca565 Take care of gcc-4.4 in addition to gcc-4.4.7 2021-06-10 04:58:17 +03:00
Peter Dimov 2e5ecbe6f6 Add test for typeid(struct X) across libraries 2021-02-11 04:43:05 +02:00
Peter Dimov 0ae16756eb Add run-fail test for BOOST_TEST_NE and character types 2021-01-20 02:04:30 +02:00
Peter Dimov 2642ad4562 Add test for BOOST_TEST_EQ and character types 2021-01-20 01:10:57 +02:00
Peter Dimov 16e9536146 Implement boost::core::endian 2020-12-29 02:41:15 +02:00
Peter Dimov 409c809cd8 Add popcount 2020-12-29 01:06:22 +02:00
Peter Dimov 26728848b4 Add bit_ceil 2020-12-29 00:29:44 +02:00
Peter Dimov 579cb8f7f3 Add bit_floor_test 2020-12-29 00:06:25 +02:00
Peter Dimov 3b14a3677d Add has_single_bit_test 2020-12-28 23:59:58 +02:00
Peter Dimov 26991f0c75 Add bit_width_test 2020-12-28 23:52:39 +02:00
Peter Dimov cc877e6b5b Add countl_zero, countl_one 2020-12-28 23:40:59 +02:00
Peter Dimov a47eebf41a Add countr_zero, countr_one 2020-12-28 21:52:02 +02:00
Peter Dimov 045487ba96 Add boost/core/bit.hpp (bit_cast, rotl, rotr) 2020-12-28 21:12:22 +02:00
Peter Dimov c307f86520 Add core/cmath.hpp 2020-12-24 00:19:20 +02:00
Peter Dimov 54671134ae Add implicit conversion between compatible reference wrappers (refs #83) 2020-11-19 18:57:56 +02:00
Peter Dimov b414be98c9 Add lightweight_test_with_fail 2020-06-06 21:54:16 +03:00
Bjorn Reese 6e36923915 Added BOOST_TEST_WITH macro to verify test results with custom predicate 2020-06-06 18:52:43 +02:00
Glen Fernandes 3ca745f400 Add BOOST_TEST_NO_THROW and print expression in BOOST_TEST_THROWS 2020-05-01 14:34:02 -04:00
Peter Dimov 94def8a3a6 Merge branch 'feature/lwt-pedantic' into develop 2020-04-28 04:21:59 +03:00
Glen Fernandes eb86df4a04 Remove duplicate test run 2020-04-27 15:56:35 -04:00
Peter Dimov 0a6b8e667b Add warnings=pedantic to the rest of the lwt tests 2020-04-27 22:29:28 +03:00
Glen Fernandes 4d08e709fe Pedantic tests for default_allocator 2020-04-27 14:27:20 -04:00
Peter Dimov 2dd51f248b Use warnings=pedantic for some lwt tests 2020-04-27 18:47:45 +03:00
Glen Fernandes c31e23b362 Implement allocator access utilities 2020-04-14 14:52:30 -04:00
Peter Dimov 2a471c3417 Add test for BOOST_TEST_* macros return values 2020-02-16 20:52:59 +02:00
Peter Dimov 13e9d3d4d9 Fix typo in test/Jamfile 2020-02-16 20:17:52 +02:00
Peter Dimov f3cd812ccb Disable 'should return report_errors()' test on CMake, because CTest doesn't like abort() 2020-01-02 21:05:07 +02:00
Peter Dimov 750625272f Add CMake tests 2020-01-02 20:00:11 +02:00
Peter Dimov 130c8f2439 Disable Wsign-compare on gcc 4.4.7 2019-10-11 17:19:01 +03:00
Peter Dimov d112d23e9d Test that BOOST_TEST_EQ doesn't emit sign-compare warnings 2019-10-11 16:02:45 +03:00
Glen Fernandes 7b8385afc3 Implement NVP in Core for Serialization and other libraries 2019-09-04 09:58:04 -04:00
Glen Fernandes ca832d9384 Implement first_scalar 2019-05-13 15:04:26 -04:00
Glen Fernandes 612069c7e4 Move construct and destroy from Smart_Ptr to Core 2019-05-03 08:54:09 -04:00
Glen Fernandes 50491408b1 Implement noinit_allocator_adaptor 2019-04-28 02:10:37 -04:00
Glen Fernandes 9c88e5cbb1 Implement default_allocator 2019-04-25 02:22:45 -04:00
Peter Dimov b1e0735d8f Check number of failures in lightweight_test_all_with_eq, lightweight_test_all_with_fail 2019-04-20 10:11:16 +03:00
Hans Dembinski 02041f6c9f report_errors with expected failures (#51)
* Return number of failures from report_errors
2019-04-19 23:55:50 -07:00
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
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 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 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
Glen Fernandes 2cd4753a02 Implement boost::exchange 2018-07-08 09:25:07 -04:00