#include <AP_gtest.h>
#include <utility>
#include <AP_HAL/utility/OwnPtr.h>
Go to the source code of this file.
|
| TEST (OwnPtrTest, SamePointer) |
|
| TEST (OwnPtrTest, MoveOwnership) |
|
| TEST (OwnPtrTest, DeleteOutOfScope) |
|
| TEST (OwnPtrTest, DeleteOutOfScopeAfterMove) |
|
| TEST (OwnPtrTest, CallMethod) |
|
| TEST (OwnPtrTest, MoveToConstructor) |
|
static AP_HAL::OwnPtr< TestDeleted > | create_test_deleted (unsigned int &deleted) |
|
| TEST (OwnPtrTest, ReturnType) |
|
| TEST (OwnPtrTest, ReplacePointer) |
|
| TEST (OwnPtrTest, ReplaceWithRawPointer) |
|
| TEST (OwnPtrTest, Empty) |
|
| TEST (OwnPtrTest, Inheritance) |
|
◆ create_test_deleted()
◆ TEST() [1/11]
TEST |
( |
OwnPtrTest |
, |
|
|
SamePointer |
|
|
) |
| |
◆ TEST() [2/11]
TEST |
( |
OwnPtrTest |
, |
|
|
MoveOwnership |
|
|
) |
| |
◆ TEST() [3/11]
TEST |
( |
OwnPtrTest |
, |
|
|
DeleteOutOfScope |
|
|
) |
| |
◆ TEST() [4/11]
TEST |
( |
OwnPtrTest |
, |
|
|
DeleteOutOfScopeAfterMove |
|
|
) |
| |
◆ TEST() [5/11]
TEST |
( |
OwnPtrTest |
, |
|
|
CallMethod |
|
|
) |
| |
◆ TEST() [6/11]
TEST |
( |
OwnPtrTest |
, |
|
|
MoveToConstructor |
|
|
) |
| |
◆ TEST() [7/11]
TEST |
( |
OwnPtrTest |
, |
|
|
ReturnType |
|
|
) |
| |
◆ TEST() [8/11]
TEST |
( |
OwnPtrTest |
, |
|
|
ReplacePointer |
|
|
) |
| |
◆ TEST() [9/11]
TEST |
( |
OwnPtrTest |
, |
|
|
ReplaceWithRawPointer |
|
|
) |
| |
◆ TEST() [10/11]
TEST |
( |
OwnPtrTest |
, |
|
|
Empty |
|
|
) |
| |
◆ TEST() [11/11]
TEST |
( |
OwnPtrTest |
, |
|
|
Inheritance |
|
|
) |
| |