Alex Smith
528761b180
Unit test nullptr C-style strings
...
Added unit tests for the cases of matching and serializing C-style strings (char*) that are nullptr.
(As of this revision, these new tests correctly fail, except for the test of mock::equal; fix to follow.)
2023-01-02 17:30:54 +00:00
Alexander Grund
1a81536f3c
Improve tests
...
- Check callability of function.expect.with(...)
- Check serialization of MOCK_CONSTRAINT
- Actually test some variations of MOCK_CONSTRAINT usages
- Add more test for unique_ptr (move-only class)
- Remove redundant stuff from test_log and change a few values to catch mistakes
- Add test for *-matcher serialization
2022-02-09 15:45:31 +01:00
Alexander Grund
ee72e8b9d8
Format code using Clang-Format 10 and enforce via CI
...
Makes the format of the code base uniform.
2022-01-24 16:30:59 +01:00
Alexander Grund
cf5ac87499
Remove support for auto_ptr
2022-01-07 17:08:16 +01:00
Alexander Grund
91b738da27
Avoid Boost.Bind deprecation warning
2022-01-07 17:08:14 +01:00
Alexander Grund
c2617ba360
Update from deprecated unit test header inclusion
2022-01-07 17:08:14 +01:00
Alexander Grund
04dff97fde
Use explicit streaming ops instead of Boost.LexicalCast
2022-01-07 17:08:14 +01:00
Alexander Grund
a426e02759
Replace Boost.Bind by std::bind and lambdas
2022-01-07 17:08:12 +01:00
Alexander Grund
35e43d58a6
Use std::reference_wrapper instead of boost
2022-01-07 17:08:12 +01:00
Alexander Grund
35fa6e63e6
Use std smart pointers in code
2022-01-07 17:08:11 +01:00
Alexander Grund
f154a1a22a
Assume existance of smart pointers
2022-01-07 17:08:11 +01:00
Alexander Grund
f678f4d91f
Assume nullptr existance
2022-01-07 17:08:10 +01:00
Alexander Grund
a1a223901a
Avoid unused function warnings in tests
2020-04-14 10:42:25 +02:00
Mathieu Champlon
a22ca57253
Added MOCK_NO_AUTO_PTR to deactivate std::auto_ptr support
2017-03-20 11:43:18 +01:00
Mathieu Champlon
506e10f76a
Added logging support for boost::optional
2016-02-08 11:25:17 +01:00
Mathieu Champlon
121c682d41
Fixed typo in test case names
2016-02-08 10:02:08 +01:00
Mathieu Champlon
c950c24f52
Changed layout to match boost
2015-03-06 06:41:12 +01:00
mat007
2a88b87682
Dropped support for obsolete phoenix V2
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@760 860be788-9bd5-4423-9f1e-828f051e677b
2014-12-13 20:41:03 +00:00
mat007
6558254c50
Fixed boost::cref invalid for temporary objects
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@759 860be788-9bd5-4423-9f1e-828f051e677b
2014-11-23 10:54:14 +00:00
mat007
939ca29fb0
Fixed phoenix V2 includes
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@750 860be788-9bd5-4423-9f1e-828f051e677b
2014-05-29 12:22:36 +00:00
mat007
077e046641
Updated to latest boost headers and layout
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@748 860be788-9bd5-4423-9f1e-828f051e677b
2014-05-29 10:17:19 +00:00
mat007
897c0bdac3
Deactivated ICE producing code
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@747 860be788-9bd5-4423-9f1e-828f051e677b
2014-05-29 10:17:08 +00:00
mat007
808af17eb8
Added logging support for std::unique_ptr, std::shared_ptr and std::weak_ptr
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@677 860be788-9bd5-4423-9f1e-828f051e677b
2013-07-09 08:46:43 +00:00
mat007
4f5090c109
Refactored to introduce MOCK_NULLPTR
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@672 860be788-9bd5-4423-9f1e-828f051e677b
2013-07-06 21:19:20 +00:00
mat007
1320a96179
Added support for nullptr as constraint
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@648 860be788-9bd5-4423-9f1e-828f051e677b
2013-05-12 08:59:25 +00:00
mat007
38265da8d1
Replaced _MSC_VER with BOOST_MSVC
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@615 860be788-9bd5-4423-9f1e-828f051e677b
2013-04-11 16:09:40 +00:00
mat007
b4755bdaf4
Worked around gcc bug, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40146
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@545 860be788-9bd5-4423-9f1e-828f051e677b
2012-09-01 17:22:32 +00:00
mat007
61ee9e04a6
Reverted move to phoenix v3 because of :
...
https://svn.boost.org/trac/boost/ticket/7165
https://svn.boost.org/trac/boost/ticket/7166
https://svn.boost.org/trac/boost/ticket/7181
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@531 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-30 11:06:27 +00:00
mat007
9e850fac29
Moved to phoenix v3
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@529 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-24 07:08:27 +00:00
mat007
4648c72422
Added logging test
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@509 860be788-9bd5-4423-9f1e-828f051e677b
2012-07-22 07:12:50 +00:00
mat007
ec1f6a4738
Changed file headers to simplify Boost.Mock generation
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@466 860be788-9bd5-4423-9f1e-828f051e677b
2012-06-16 20:44:10 +00:00
mat007
fc5b7f7163
Fixed Boost.Mock generation
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@465 860be788-9bd5-4423-9f1e-828f051e677b
2012-06-15 23:01:00 +00:00
mat007
3358ddda0e
Changed project layout
...
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@460 860be788-9bd5-4423-9f1e-828f051e677b
2012-06-15 21:14:48 +00:00