Commit graph

790 commits

Author SHA1 Message Date
Alexander Grund
074c82315c
[CI] Require C++14 on travis 2020-07-14 17:42:52 +02:00
Alexander Grund
9c4354314e
Remove outdated MSVC solutions 2020-07-13 17:22:58 +02:00
Mathieu Champlon
bbe01e6d9d Updated changelog for 1.3.2 2020-06-19 18:11:12 +02:00
Mathieu Champlon
9dcdcf9061
Merge pull request #86 from ledocc/remove_boost_deprecations
Remove boost deprecations 2
2020-06-02 12:37:18 -05:00
Dirk Faust
45450aa643 Remove boost deprecations
Fixes:

boost/test/floating_point_comparison.hpp:14:124: note: #pragma message: This header is deprecated. Use This header is deprecated. Please use <boost/test/tools/floating_point_comparison.hpp> instead. instead.
boost/detail/sp_typeinfo.hpp:23:54: note: #pragma message: This header is deprecated. Use <boost/core/typeinfo.hpp> instead.
2020-05-26 17:11:33 +02:00
Mathieu Champlon
6b3a447a1b
Merge pull request #84 from Flamefire/constref
Use const-ref for instance string
2020-05-19 05:41:25 -05:00
Alexander Grund
b5db116933
Use const-ref for instance string 2020-05-18 10:45:19 +02:00
Mathieu Champlon
44fa60fb80
Merge pull request #83 from Flamefire/fix_win_build
Fix windows build
2020-04-27 23:04:52 -07:00
Alexander Grund
70ae7674e5
Disable -Wunused-function for tests 2020-04-18 18:18:43 +02:00
Alexander Grund
87e4326883
Require C++11 2020-04-18 13:59:01 +02:00
Alexander Grund
8530f691a1
Reduce amount of compilations
Remove defined_[12].cpp from all but 1 test per test file
This reduces the amount of compilations by 2*25=50 per configuration for a total of 200 (debug/release, static/shared)
2020-04-18 13:59:01 +02:00
Alexander Grund
79ce788375
Parallel build on travis 2020-04-18 12:49:12 +02:00
Alexander Grund
72722e23b3
Speed up appveyor build
Test more in one run
Factor out CMake builds
Run in parallel
2020-04-18 12:49:12 +02:00
Alexander Grund
6b0a438517
Fix link error in test_defined 2020-04-17 20:31:47 +02:00
Alexander Grund
233046d738
Fix another unused variable warning 2020-04-17 20:31:32 +02:00
Alexander Grund
3df0668314 Fix unknown preproccessor symbol warning 2020-04-14 10:44:36 +02:00
Alexander Grund
a1a223901a Avoid unused function warnings in tests 2020-04-14 10:42:25 +02:00
Alexander Grund
57c000f8eb Avoid unused parameter warnings 2020-04-14 10:42:15 +02:00
Alexander Grund
e13e913a1e Remove main.cpp and add warning free build test
The main.cpp speeds up builds but fails for static boost.Test builds as
it is linked before Boost.Test which removes the required symbols
Enabling warning allows consumers of Turtle to build with warnings enabled
2020-04-14 10:40:28 +02:00
Alexander Grund
1ed45af2de Add appveyor CMake builds 2020-04-14 08:39:29 +02:00
Mathieu Champlon
5f8421b1d2
Merge pull request #82 from Flamefire/cmake
Add CMake files
2020-04-09 09:02:01 -07:00
Flamefire
be153c5948 Output coverage data before uploading 2019-12-29 21:03:20 +01:00
Flamefire
ee0a76eed5 Improve coverage collection 2019-12-29 21:03:20 +01:00
Flamefire
af49b04c19 Add CMake files 2019-12-28 13:58:24 +01:00
Mathieu Champlon
44e8509d6f
Merge pull request #71 from sigiesec/fix-protected-method-docs
Fix documentation regarding protected methods
2019-04-12 16:06:32 +02:00
Simon Giesecke
c22f19801b Made example method actually protected 2019-04-11 11:04:52 +02:00
Simon Giesecke
7b892418aa Adapt section title after prior extension to protected methods 2019-04-11 11:04:42 +02:00
Mathieu Champlon
5c0f290125
Merge pull request #68 from Flamefire/mingw
Undef small and near if defined
2019-01-02 10:33:04 +01:00
Flamefire
c71fe6c912 Undef small and near if defined
Not only happens on MSVC but also on MinGW (and probably all windows builds)
2019-01-01 19:36:31 +01:00
Mathieu Champlon
1b5d8c84ef
Merge pull request #66 from Flamefire/variadic
Fix gnu-zero-variadic-macro-arguments warning
2018-12-13 16:09:28 +01:00
Alexander Grund
45574d708b Add comma to MOCK_VARIADIC_ELEM_N calls
Avoids warning "must specify at least one argument for '...' parameter of
variadic macro" on e.g. Clang
2018-12-11 16:39:36 +01:00
Alexander Grund
f0fb2a1d02 Use BOOST_PP_VARIADIC_ELEM 2018-12-11 13:35:13 +01:00
Mathieu Champlon
01df620d16
Merge pull request #61 from Flamefire/lock
Fix unused variable warning in non-threadsafe builds
2018-11-30 00:21:04 -08:00
Flamefire
30d756d120 Fix unused variable warning in non-threadsafe builds
Make lock/scoped_lock (dummy) RAII classes which avoids warnings in clang
Make lock and wrapper moveable as they should
Make wrapper return itself as reference not copy
2018-11-29 08:43:49 +01:00
Mathieu Champlon
4a853f9952
Merge pull request #63 from mat007/tweak-ci-envs
Update target environments
2018-11-24 22:52:49 -08:00
Mathieu Champlon
df390cfd9d Update target environments 2018-11-24 17:15:58 +01:00
Mathieu Champlon
4754a2a775
Merge pull request #62 from Flamefire/singleton2
Implement and use simple singleton
2018-11-23 22:45:48 -08:00
Alexander Grund
72e0daae5c Implement and use simple singleton
Based on old boost::unit_test::singleton
2018-11-22 14:41:11 +01:00
Mathieu Champlon
d77aad128c
Merge pull request #59 from Flamefire/cpp98
Cpp98 compatibility
2018-11-22 02:24:52 -08:00
Alexander Grund
f402c6161e Fix C++98 compatibility 2018-11-22 10:12:00 +01:00
Flamefire
2cde572532 Add -Wno-unused-local-typedefs to silence warnings breaking the build on travis 2018-11-22 10:12:00 +01:00
Mathieu Champlon
fb8d7abab4
Merge pull request #60 from Flamefire/coverage
Use boost-local for boost folder to ignore its coverage
2018-11-19 07:12:45 -08:00
Alexander Grund
c4af5d937b Use boost-local for boost folder to ignore its coverage 2018-11-19 13:10:46 +01:00
Mathieu Champlon
e209d544c1
Merge pull request #45 from mat007/fix-ci
Fix CI
2018-11-16 23:08:22 -08:00
Mathieu Champlon
c9888a6326 Build only the master branch 2018-11-16 09:35:20 +01:00
Mathieu Champlon
20fcfa56ce Fixed boost versions available on appveyor 2018-11-16 09:34:56 +01:00
Mathieu Champlon
e92f52821d
Merge pull request #46 from AudioStreamingPlatform/master
Corrected Catch compile issue
2018-05-29 21:43:17 +02:00
Jeppe Frandsen
016455ca40
Corrected catch.hpp 2018-05-27 13:50:33 +02:00
Mathieu Champlon
d7b1ad0800
Merge pull request #43 from mat007/fix-function-param-forward
Fixed parameter forwarding bug in mock functions
2018-04-08 21:59:58 +02:00
Mathieu Champlon
1e1f0da335 Fixed linkflags 2018-04-08 18:05:39 +02:00