mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Added support for nullptr as constraint
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@648 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
42c2c4e6a4
commit
1320a96179
12 changed files with 96 additions and 10 deletions
|
|
@ -7,6 +7,7 @@ Not yet released
|
|||
* Return actions now accept by copy types derived from abstract base types
|
||||
* Officially documented MOCK_UNARY_CONSTRAINT and MOCK_BINARY_CONSTRAINT
|
||||
* Added support for several sequences in 'in'
|
||||
* Added support for nullptr as constraint
|
||||
|
||||
[endsect]
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,10 @@ However a somewhat better solution would be :
|
|||
|
||||
MOCK_EXPECT( m.method ).with( mock::negate );
|
||||
|
||||
or with C++11 nullptr support :
|
||||
|
||||
MOCK_EXPECT( m.method ).with( nullptr );
|
||||
|
||||
[endsect]
|
||||
|
||||
[section Template methods cannot be mocked]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue