Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
RCPNodeHandle_UnitTests.cpp File Reference
#include "Teuchos_UnitTestHarness.hpp"
#include "Teuchos_RCPNode.hpp"
#include "Teuchos_getConst.hpp"
#include "Teuchos_TypeNameTraits.hpp"
#include "TestClasses.hpp"
Include dependency graph for RCPNodeHandle_UnitTests.cpp:

Go to the source code of this file.

Classes

class  Teuchos::MockRCP< T >
 

Namespaces

 Teuchos
 

Macros

#define DEBUG_UNIT_TEST_GROUP(T)
 
#define UNIT_TEST_GROUP(T)
 

Functions

template<class T >
RCPNode * Teuchos::basicRCPNodeNoAlloc (T *p, const bool has_ownership)
 
template<class T >
RCPNode * Teuchos::basicRCPNode (const bool has_ownership, T **p_out=0)
 
void Teuchos::deleteRCPNode (RCPNode **node)
 
template<class T >
RCPNodeHandle Teuchos::basicRCPNodeHandle (const bool has_ownership, T **p_out=0)
 
 Teuchos::TEUCHOS_STATIC_SETUP ()
 
 Teuchos::TEUCHOS_UNIT_TEST (RCPNodeHandle, assignSelf)
 
 Teuchos::TEUCHOS_UNIT_TEST (RCPNodeHandle, defaultConstruct)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, basicConstruct_owns_mem, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, basicConstruct_no_owns_mem, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, weakPtr_basic_1, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, weakPtr_basic_2, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, copyConstruct, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, moveConstruct, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, copyAssignmentOperator, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, moveAssignmentOperator, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, extraData_basic, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, extraData_basic_const, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, extraData_failed, T)
 
 Teuchos::TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (RCPNodeHandle, extraData_failed_const, T)
 

Macro Definition Documentation

#define DEBUG_UNIT_TEST_GROUP (   T)

Definition at line 724 of file RCPNodeHandle_UnitTests.cpp.

#define UNIT_TEST_GROUP (   T)
Value:
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, basicConstruct_owns_mem, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, basicConstruct_no_owns_mem, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, weakPtr_basic_1, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, weakPtr_basic_2, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, copyConstruct, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, moveConstruct, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, copyAssignmentOperator, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, moveAssignmentOperator, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, extraData_basic, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, extraData_basic_const, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, extraData_failed, T ) \
TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( RCPNodeHandle, extraData_failed_const, T ) \
#define DEBUG_UNIT_TEST_GROUP(T)
#define TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT(TEST_GROUP, TEST_NAME, TYPE)
Instantiate a templated unit test with one template parameter.

Definition at line 729 of file RCPNodeHandle_UnitTests.cpp.