Dali 3D User Interface Engine
Classes | Namespaces | Functions | Variables
utc-Dali-IntrusivePtr.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <dali/public-api/dali-core.h>
#include <dali-test-suite-utils.h>
Include dependency graph for utc-Dali-IntrusivePtr.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::Counted
 
class  anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::CountedSubclass
 
class  anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::UnrelatedCounted
 

Namespaces

namespace  anonymous_namespace{utc-Dali-IntrusivePtr.cpp}
 

Functions

int UtcDaliIntrusivePtrIntrusivePtr (void)
 Test that a default constructed pointer is null and harmless. More...
 
int UtcDaliIntrusivePtrIntrusivePtrTP (void)
 
int UtcDaliIntrusivePtrIntrusivePtrIntrusivePtrUP (void)
 
int UtcDaliIntrusivePtrIntrusivePtrIntrusivePtrP (void)
 
int UtcDaliIntrusivePtrGetP (void)
 
int UtcDaliIntrusivePtrGetN (void)
 
int UtcDaliIntrusivePtrArrowOperatorP (void)
 
int UtcDaliIntrusivePtrArrowOperatorN (void)
 
int UtcDaliIntrusivePtrIndirectionOperatorP (void)
 
int UtcDaliIntrusivePtrIndirectionOperatorN (void)
 
int UtcDaliIntrusivePtrResetP (void)
 
int UtcDaliIntrusivePtrResetN (void)
 
int UtcDaliIntrusivePtrResetTP (void)
 
int UtcDaliIntrusivePtrResetTN (void)
 
int UtcDaliIntrusivePtrOperatorBooleanTypeP (void)
 
int UtcDaliIntrusivePtrOperatorBooleanTypeN (void)
 
int UtcDaliIntrusivePtrOperatorEqualTU (void)
 Equality of two different types. More...
 
int UtcDaliIntrusivePtrOperatorNotEqualTU (void)
 Inequality of two different types. More...
 
int UtcDaliIntrusivePtrOperatorEqualRightPointerTU (void)
 Equality of two different types where right hand side is a raw pointer. More...
 
int UtcDaliIntrusivePtrOperatorNotEqualRightPointerTU (void)
 Inequality of two different types where the right hand side is a raw pointer. More...
 
int UtcDaliIntrusivePtrOperatorEqualLeftPointerTU (void)
 Equality of two different types where left hand side is a raw pointer. More...
 
int UtcDaliIntrusivePtrOperatorNotEqualLeftPointerTU (void)
 Inequality of two different types where the left hand side is a raw pointer. More...
 

Variables

const int anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::REPEAT = 1000
 
size_t anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::g_creationCount = 0
 
size_t anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::g_destructionCount = 0
 
size_t anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::g_creationCountSubclass = 0
 
size_t anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::g_destructionCountSubclass = 0
 
size_t anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::g_creationCountUnrelated = 0
 
size_t anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::g_destructionCountUnrelated = 0
 

Function Documentation

int UtcDaliIntrusivePtrArrowOperatorN ( void  )

Definition at line 234 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_CHECK, END_TEST, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrArrowOperatorP ( void  )

Definition at line 223 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_CHECK, DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrGetN ( void  )
int UtcDaliIntrusivePtrGetP ( void  )
int UtcDaliIntrusivePtrIndirectionOperatorN ( void  )

Definition at line 255 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_CHECK, END_TEST, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrIndirectionOperatorP ( void  )

Definition at line 244 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_CHECK, DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrIntrusivePtr ( void  )

Test that a default constructed pointer is null and harmless.

Definition at line 81 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_EQUALS(), END_TEST, anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::g_creationCount, anonymous_namespace{utc-Dali-IntrusivePtr.cpp}::g_destructionCount, Dali::IntrusivePtr< T >::Get(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrIntrusivePtrIntrusivePtrP ( void  )
int UtcDaliIntrusivePtrIntrusivePtrIntrusivePtrUP ( void  )
int UtcDaliIntrusivePtrIntrusivePtrTP ( void  )
int UtcDaliIntrusivePtrOperatorBooleanTypeN ( void  )

Definition at line 363 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_CHECK, END_TEST, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrOperatorBooleanTypeP ( void  )

Definition at line 345 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::IntrusivePtr< T >::Reset(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrOperatorEqualLeftPointerTU ( void  )

Equality of two different types where left hand side is a raw pointer.

Definition at line 434 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::IntrusivePtr< T >::Get(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrOperatorEqualRightPointerTU ( void  )

Equality of two different types where right hand side is a raw pointer.

Definition at line 404 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::IntrusivePtr< T >::Get(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrOperatorEqualTU ( void  )

Equality of two different types.

Definition at line 374 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrOperatorNotEqualLeftPointerTU ( void  )

Inequality of two different types where the left hand side is a raw pointer.

Definition at line 449 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::IntrusivePtr< T >::Get(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrOperatorNotEqualRightPointerTU ( void  )

Inequality of two different types where the right hand side is a raw pointer.

Definition at line 419 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::IntrusivePtr< T >::Get(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrOperatorNotEqualTU ( void  )

Inequality of two different types.

Definition at line 389 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_EQUALS(), END_TEST, TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrResetN ( void  )

Definition at line 277 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::IntrusivePtr< T >::Get(), Dali::IntrusivePtr< T >::Reset(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrResetP ( void  )

Definition at line 265 of file utc-Dali-IntrusivePtr.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::IntrusivePtr< T >::Get(), Dali::IntrusivePtr< T >::Reset(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliIntrusivePtrResetTN ( void  )
int UtcDaliIntrusivePtrResetTP ( void  )
Dali Docs Home
Read more about Dali