Commit Graph

3194 Commits

Author SHA1 Message Date
Raffi Enficiaud
7615362bdc Merge branch 'topic/PR-121-warning-fix' into next-internal
* topic/PR-121-warning-fix:
  Change log
  fix compiler warning
2017-12-25 16:46:56 +01:00
Raffi Enficiaud
deb9efa2c1 Change log 2017-12-25 16:45:39 +01:00
James E. King III
3f305cebf0 fix compiler warning 2017-12-25 16:44:22 +01:00
Raffi Enficiaud
fdc68b6e6d Merge branch 'topic/PR118-Update-VxWorks-support' into next-internal
* topic/PR118-Update-VxWorks-support:
  Change log update
  Adapt Boost.Test to VxWorks
2017-12-25 16:33:36 +01:00
Raffi Enficiaud
e4dc70f56a Merge branch 'topic/new-command-line-help' into next-internal
* topic/new-command-line-help:
  Change log update
  Colorized and clearer help
2017-12-25 16:33:28 +01:00
Raffi Enficiaud
7040314525 Change log update 2017-12-25 16:31:40 +01:00
Raffi Enficiaud
2b100e13ca Colorized and clearer help
- Color output on Windows
- Pretty printing of long docstrings
- Avoid colorizing streams we do not know
2017-12-25 16:31:40 +01:00
Raffi Enficiaud
c069394219 Change log update 2017-12-25 16:29:42 +01:00
Brian Kuhl
93cc089c49 Adapt Boost.Test to VxWorks
- execution_monitor.ipp: m_sig_info doesn't have all the POSIX designated members and VxWorks has no USER signal
- basic_cstring.hpp: Diab compiler has limit on size of enum, similar to the IBM compiler
- VxWorks also has limited signals
2017-12-25 16:29:42 +01:00
Raffi Enficiaud
c06ac34b37 Change log update for 1.67 2017-12-25 16:26:45 +01:00
Raffi Enficiaud
c3e34389d6 Boost 1.66 change logs 2017-08-31 11:19:57 +02:00
Raffi Enficiaud
331479ccce Merge branch 'topic/header-cleanup' into develop
* topic/header-cleanup:
  Removing unused headers
2017-07-30 18:04:32 +02:00
Raffi Enficiaud
d4d71a6659 Removing unused headers 2017-07-30 18:03:50 +02:00
Raffi Enficiaud
7813b4557b Merge branch 'develop'
* develop:
  Extra ;
2017-07-17 09:24:25 +02:00
Raffi Enficiaud
66b5d58857 Extra ; 2017-07-17 09:24:06 +02:00
Raffi Enficiaud
4f6178a4c3 Update years 2017-07-16 14:12:19 +02:00
Raffi Enficiaud
3ddb0e0d29 Merge branch 'develop'
* develop:
  Change log
  Documentation update
  Fixing array comparison semantics
  C-arrays are now considered as sequences
  Change logs
  Indicating the log level to the formatters for the contexts
  Conflicting variable names
  Change logs
  #12228: Adding missing headers to compile some files independantly
  Change log
  Fixing the relational/comparison operators for floating points
  Removing warnings
2017-07-14 18:07:14 +02:00
Raffi Enficiaud
42a59be6e6 Merge branch 'topic/11471-array-sequence' into next-internal
* topic/11471-array-sequence:
  Change log
  Documentation update
  Fixing array comparison semantics
  C-arrays are now considered as sequences
2017-07-14 12:46:55 +02:00
Raffi Enficiaud
eb312ad5e2 Merge branch 'topic/12631-BOOST_TEST_MESSAGE-incorrect-in-BOOST_DATA_TEST_CASE' into next-internal
* topic/12631-BOOST_TEST_MESSAGE-incorrect-in-BOOST_DATA_TEST_CASE:
  Change logs
  Indicating the log level to the formatters for the contexts
2017-07-14 12:46:45 +02:00
Raffi Enficiaud
f17cb1be3f Change log 2017-07-14 12:44:23 +02:00
Raffi Enficiaud
7a18764466 Documentation update 2017-07-14 12:44:14 +02:00
Raffi Enficiaud
3fb84ca894 Fixing array comparison semantics 2017-07-09 10:32:50 +02:00
Raffi Enficiaud
aece067770 C-arrays are now considered as sequences
Most of the difficulty came from the fact that c-strings are also c-arrays, but comparisons are made in a different way (eg. not considering the last \0 element in the computation of the size, etc)

- is_forward_iterable now just checks if the type has accessors that makes it forward iterable (no size member function for instance)
- new concept: is_forward_container_iterable that looks for forward_iterable access + size and specific types. This is needed in order to disambiguate the dataset creation for arrays from the ones for collections
- is_cstring is now only for the C-string type of arrays. std::string and basic_cstring are not a C-strings anymore
- new concept is_cstring_comparable: indicates that types can be compared as if they were strings
- new concept for converting types to a basic_cstring, used for comparisons
- wrapper for accessing the begin/end/size (works for containers and C-arrays
- copy ctor for basic_cstring
- boost.range(begin/end) does not work well for array types
2017-07-06 11:47:03 +02:00
Raffi Enficiaud
84fa5c1dc1 Change logs 2017-07-06 11:46:15 +02:00
Raffi Enficiaud
fcb302b66e Indicating the log level to the formatters for the contexts
- unit tests for the message part: for checking the dataset, we need to register it and then to re-run it under our own environment (so technically it runs twice in the test module)
- refactoring of tests for reusing the stream checker that is agnostic to filenames location, testing time, etc. Modifying the baseline outputs accordingly
2017-07-06 11:45:33 +02:00
Raffi Enficiaud
8b3e003aa4 Merge branch 'topic/removing-warnings' into next-internal
* topic/removing-warnings:
  Conflicting variable names
  Removing warnings
2017-07-06 11:41:42 +02:00
Raffi Enficiaud
8106d3d58e Merge branch 'topic/12228-header-compilation-independant' into next-internal
* topic/12228-header-compilation-independant:
  Change logs
  #12228: Adding missing headers to compile some files independantly

# Conflicts:
#	doc/closing_chapters/change_log.qbk
2017-07-06 09:28:21 +02:00
Raffi Enficiaud
f6001e8702 Merge branch 'topic/13011-floating-point-relational-operators' into next-internal
* topic/13011-floating-point-relational-operators:
  Change log
  Fixing the relational/comparison operators for floating points
2017-07-06 09:27:28 +02:00
Raffi Enficiaud
ba552e68c4 Conflicting variable names 2017-07-04 08:59:10 +02:00
Raffi Enficiaud
c072678bd1 Change logs 2017-06-27 21:14:54 +02:00
Raffi Enficiaud
72a62b6c16 #12228: Adding missing headers to compile some files independantly 2017-06-27 21:13:46 +02:00
Raffi Enficiaud
f994648e2f Change log 2017-06-27 20:56:44 +02:00
Raffi Enficiaud
bf703c2628 Fixing the relational/comparison operators for floating points
- simplifying the logic behind the operations
- minor doc fixes
- tests output change slightly due to the fact that <= and >= are now going through the
  floating point comparison
2017-06-27 20:54:55 +02:00
Raffi Enficiaud
29b289b985 Removing warnings 2017-06-26 16:31:58 +02:00
Raffi Enficiaud
3d13638c41 Merge branch 'develop'
* develop:
  Passing the pattern file as argument
  Warnings
  Change logs
  Documentation update for the new macros
  Fixing logging issues for JUnit with global fixtures
  Fixture setup/teardown now applied to BOOST_FIXTURE_TEST_CASE familly of macros
  Fixture setup/teardown detection for C++11 capable compilers
  Improving global initialization and fixtures
2017-06-26 16:31:07 +02:00
Raffi Enficiaud
0ea2e11944 Merge branch 'hotfixes/global-fixtures' into develop
* hotfixes/global-fixtures:
  Passing the pattern file as argument
  Warnings
2017-06-25 11:53:54 +02:00
Raffi Enficiaud
680f24e953 Passing the pattern file as argument 2017-06-25 11:53:37 +02:00
Raffi Enficiaud
91253a1ab1 Warnings 2017-06-24 21:53:14 +02:00
Raffi Enficiaud
ea9d9b9a8e Merge branch 'topic/5563-test-macros-in-global-fixtures' into develop
* topic/5563-test-macros-in-global-fixtures:
  Change logs
  Documentation update for the new macros
  Fixing logging issues for JUnit with global fixtures
  Fixture setup/teardown now applied to BOOST_FIXTURE_TEST_CASE familly of macros
  Fixture setup/teardown detection for C++11 capable compilers
  Improving global initialization and fixtures
2017-06-23 16:30:49 +02:00
Raffi Enficiaud
5e9d1e04f6 Change logs 2017-06-23 15:00:09 +02:00
Raffi Enficiaud
e1b211f254 Documentation update for the new macros
- BOOST_TEST_GLOBAL_FIXTURE explained
- BOOST_TEST_GLOBAL_INITIALIZATION explained
- changed the examples, deprecating BOOST_GLOBAL_FIXTURE
- in the logger part, introduced the fact that BOOST_TEST_GLOBAL_INITIALIZATION should be used and no assertion is supported in this case
2017-06-23 14:54:56 +02:00
Raffi Enficiaud
5757d9cd16 Fixing logging issues for JUnit with global fixtures
- considering skipped tests: a skipped test is not considered as an error, especially when there was no logged information
- removing CR/LF from TU names
- updating the JUnit output
- additional refactoring of junit
2017-06-22 09:22:57 +02:00
Raffi Enficiaud
8710eb8277 Fixture setup/teardown now applied to BOOST_FIXTURE_TEST_CASE familly of macros 2017-06-22 09:22:57 +02:00
Raffi Enficiaud
1ba4e0a9b8 Fixture setup/teardown detection for C++11 capable compilers 2017-06-22 09:22:56 +02:00
Raffi Enficiaud
847212ae0c Improving global initialization and fixtures
- new macros:
  BOOST_TEST_GLOBAL_FIXTURE: for global "real" fixtures
  BOOST_TEST_GLOBAL_CONFIGURATION: for global configuration of observers.
- deprecating BOOST_GLOBAL_FIXTURE. BOOST_GLOBAL_FIXTURE and BOOST_TEST_GLOBAL_CONFIGURATION are currently
  fully equivalent, the former being confusing in term of scope/role is deprecated
- SFINAE detection for a setup/teardown function within the fixture class
- Attaching global fixture to the main or master test unit being executed, exactly as other fixtures. Global fixtures
  via BOOST_TEST_GLOBAL_FIXTURE registers themselves in a particular field of the framework and are attached each time
  the framework executes the tests, such that we can run the framework on another test root and still benefit from the
  global fixtures. The global fixtures are appended to already existing fixtures (in case the master test suite is not
  the root of the current execution tree).
- Checking that the framework setup is not failing for running the test
- RAII class for restoring the global fixtures
- Tests on the setup/teardown detection
- Tests on global fixtures and baseline
- Fixing several logging issues

Some additional refactoring
- renaming m_curr_test_case to m_curr_test_unit
- function for providing the current test unit (and not only the current test case)
- for output_stream comparison: stops properly if the reference stream is shorter than the current one,
  initialises the read char correctly to 0 and prints a proper ~ at the mismatch location
2017-06-22 09:20:58 +02:00
Raffi Enficiaud
bf6d703643 Merge branch 'develop'
* develop:
  Change log
  Conditionally replace deprecated/removed C++98 binders, adapters, and random_shuffle by emulations using more modern equivalents.
2017-06-15 11:22:27 +02:00
Raffi Enficiaud
626c236bd4 Merge branch 'topic/PR106-VS2017-C++17-compatibility' into next-internal
* topic/PR106-VS2017-C++17-compatibility:
  Change log
  Conditionally replace deprecated/removed C++98 binders, adapters, and random_shuffle by emulations using more modern equivalents.
2017-05-15 21:47:55 +02:00
Raffi Enficiaud
f12b527a81 Change log 2017-05-15 21:47:24 +02:00
Daniela Engert
f3a26e0cf9 Conditionally replace deprecated/removed C++98 binders, adapters, and random_shuffle by emulations using more modern equivalents.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-05-01 10:11:47 +02:00
Raffi Enficiaud
af78890325 Merge branch 'develop'
* develop:
  Changelog
  FPE: disabling support of the glibC extensions for uLibC std library
  Preventing the compilation of floating points with GCC when glibc is not in use
  Change log update
  Documenting the customization point
  Fixing the tests and checking everything works ok
  CMake: making the documentation target more explicit
  Change log update
  JUnit: updating documentation
  JUnit: changing the default to log-messages
  JUnit: refactoring for handling the different phases in an easier way
  JUnit: being able to indicate the log level for speeding up
  Using lists for the output streams
  Lowering JUnit output memory footprint

  Test for customization points
  Customization points for printing user defined types through `boost_test_print_type`
2017-03-19 22:52:35 +01:00