Vinnie Falco
0f3696f2ec
Unit test framework is experimental
2018-11-11 13:56:05 -08:00
Damian Jarek
86555b90ae
Add handler_ptr::has_value
...
This function returns `true` if the container holds a managed object.
Resolves : #1079
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2018-05-18 17:25:56 -07:00
Damian Jarek
96e04022c4
handler_ptr tests:
...
fix #932
Ensure handler_ptr cleans up when move-constructing
a handler throws an exception.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2017-12-11 10:45:03 -08:00
Damian Jarek
285965d82e
handler_ptr gives the strong exception guarantee (API Change):
...
* The handler_ptr constructor now provides the
strong exception guarantee.
* The signature for managed objects constructed by
`handler_ptr` receives a const reference to the handler.
Actions required:
* Change the constructor signature for state objects
used with handler_ptr to receive a const reference to
the handler.
2017-12-08 10:58:46 -08:00
Damian Jarek
e08132106e
handler_ptr is move-only:
...
It is no longer a reference counted object and now has semantics
close to a std::unique_ptr.
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com >
2017-12-04 13:07:17 -08:00
Vinnie Falco
387d68f336
Reorder define test macro params
2017-08-04 19:02:12 -07:00
Vinnie Falco
2567f49fb5
Rename test macros
2017-08-04 19:02:12 -07:00
Vinnie Falco
809e822789
Refactor test build scripts
2017-07-29 00:26:05 -07:00