Dali 3D User Interface Engine
Classes | Namespaces | Functions | Variables
utc-Dali-CustomActor.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <dali/public-api/dali-core.h>
#include <dali/integration-api/events/touch-event-integ.h>
#include <dali/integration-api/events/hover-event-integ.h>
#include <dali/integration-api/events/wheel-event-integ.h>
#include <dali/integration-api/events/key-event-integ.h>
#include "dali-test-suite-utils/dali-test-suite-utils.h"
Include dependency graph for utc-Dali-CustomActor.cpp:

Go to the source code of this file.

Classes

struct  Impl::TestCustomActor
 
struct  Impl::TestCustomActorVariant1
 Variant which adds a new child during OnStageConnection. More...
 
struct  Impl::TestCustomActorVariant2
 Variant which removes children during OnStageConnection. More...
 
struct  Impl::TestCustomActorVariant3
 Variant which adds a new child during OnStageDisconnection. More...
 
struct  Impl::TestCustomActorVariant4
 Variant which removes children during OnStageDisconnection. More...
 
struct  Impl::TestCustomActorVariant5
 Variant which removes its parent from Stage during OnStageConnection. More...
 
struct  Impl::TestCustomActorVariant6
 Variant which adds its parent to Stage during OnStageDisconnection. More...
 
struct  Impl::TestCustomActorVariant7
 Variant which reparents its children into a separate container. More...
 
struct  Impl::TestCustomActorVariant8
 Variant which attempts to interfere with the reparenting of a child to another container. More...
 
class  Impl::SimpleTestCustomActor
 
class  anonymous_namespace{utc-Dali-CustomActor.cpp}::TestCustomActor
 Test custom actor handle. More...
 

Namespaces

namespace  anonymous_namespace{utc-Dali-CustomActor.cpp}
 
namespace  Impl
 

Functions

void custom_actor_test_startup (void)
 
void custom_actor_test_cleanup (void)
 
BaseHandle anonymous_namespace{utc-Dali-CustomActor.cpp}::CreateActor ()
 
int UtcDaliCustomActorDestructor (void)
 
int UtcDaliCustomActorImplDestructor (void)
 
int UtcDaliCustomActorDownCast (void)
 
int UtcDaliCustomActorDownCastNegative (void)
 
int UtcDaliCustomActorOnStageConnectionDisconnection (void)
 
int UtcDaliCustomActorOnStageConnectionOrder (void)
 
int UtcDaliCustomActorOnStageDisconnectionOrder (void)
 
int UtcDaliCustomActorAddDuringOnStageConnection (void)
 
int UtcDaliCustomActorRemoveDuringOnStageConnection (void)
 
int UtcDaliCustomActorAddDuringOnStageDisconnection (void)
 
int UtcDaliCustomActorRemoveDuringOnStageDisconnection (void)
 
int UtcDaliCustomActorRemoveParentDuringOnStageConnection (void)
 
int UtcDaliCustomActorAddParentDuringOnStageDisconnection (void)
 
int UtcDaliCustomActorOnChildAddRemove (void)
 
int UtcDaliCustomActorReparentDuringOnChildAdd (void)
 
int UtcDaliCustomActorRemoveDuringOnChildRemove (void)
 Test that Remove can be called (a NOOP) during the OnChildRemove triggered when reparenting an actor. More...
 
int UtcDaliCustomActorOnPropertySet (void)
 
int UtcDaliCustomActorOnSizeSet (void)
 
int UtcDaliCustomActorOnSizeAnimation (void)
 
int UtcDaliCustomActorOnTouchEvent (void)
 
int UtcDaliCustomActorOnHoverEvent (void)
 
int UtcDaliCustomActorOnWheelEvent (void)
 
int UtcDaliCustomActorImplOnPropertySet (void)
 
int UtcDaliCustomActorGetImplementation (void)
 
int UtcDaliCustomActorDoAction (void)
 
int UtcDaliCustomActorCustomActor (void)
 
int UtcDaliCustomActorImplRelayoutRequest (void)
 
int UtcDaliCustomActorImplGetHeightForWidthBase (void)
 
int UtcDaliCustomActorImplGetWidthForHeightBase (void)
 
int UtcDaliCustomActorImplCalculateChildSizeBase (void)
 
int UtcDaliCustomActorImplRelayoutDependentOnChildrenBase (void)
 
int UtcDaliCustomActorTypeRegistry (void)
 
int UtcDaliCustomActorGetExtensionP (void)
 
int UtcDaliCustomActorOnConnectionDepth (void)
 

Variables

std::vector< std::string > anonymous_namespace{utc-Dali-CustomActor.cpp}::MasterCallStack
 
bool anonymous_namespace{utc-Dali-CustomActor.cpp}::gOnRelayout = false
 
Dali::TypeRegistration anonymous_namespace{utc-Dali-CustomActor.cpp}::mType (typeid(TestCustomActor), typeid(Dali::CustomActor), CreateActor)
 

Function Documentation

void custom_actor_test_cleanup ( void  )

Definition at line 37 of file utc-Dali-CustomActor.cpp.

References test_return_value, and TET_PASS.

void custom_actor_test_startup ( void  )

Definition at line 32 of file utc-Dali-CustomActor.cpp.

References test_return_value, and TET_UNDEF.

int UtcDaliCustomActorAddDuringOnStageConnection ( void  )
int UtcDaliCustomActorAddDuringOnStageDisconnection ( void  )
int UtcDaliCustomActorAddParentDuringOnStageDisconnection ( void  )
int UtcDaliCustomActorCustomActor ( void  )

Definition at line 1809 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliCustomActorDestructor ( void  )

Definition at line 811 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliCustomActorDoAction ( void  )
int UtcDaliCustomActorDownCast ( void  )
int UtcDaliCustomActorDownCastNegative ( void  )
int UtcDaliCustomActorGetExtensionP ( void  )

Definition at line 1949 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliCustomActorGetImplementation ( void  )

Definition at line 1751 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::CustomActorImpl::GetOwner(), and Dali::WeightObject::New().

Here is the call graph for this function:

int UtcDaliCustomActorImplCalculateChildSizeBase ( void  )
int UtcDaliCustomActorImplDestructor ( void  )

Definition at line 822 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliCustomActorImplGetHeightForWidthBase ( void  )

Definition at line 1843 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::TestApplication::Render(), Dali::TestApplication::SendNotification(), and width.

Here is the call graph for this function:

int UtcDaliCustomActorImplGetWidthForHeightBase ( void  )

Definition at line 1861 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_CHECK, END_TEST, height, Dali::TestApplication::Render(), and Dali::TestApplication::SendNotification().

Here is the call graph for this function:

int UtcDaliCustomActorImplOnPropertySet ( void  )

Definition at line 1738 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_CHECK, END_TEST, and Dali::CustomActorImpl::OnPropertySet().

Here is the call graph for this function:

int UtcDaliCustomActorImplRelayoutDependentOnChildrenBase ( void  )
int UtcDaliCustomActorImplRelayoutRequest ( void  )
int UtcDaliCustomActorOnChildAddRemove ( void  )

Definition at line 1413 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::WeightObject::New(), Dali::Actor::New(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliCustomActorOnConnectionDepth ( void  )
int UtcDaliCustomActorOnHoverEvent ( void  )
int UtcDaliCustomActorOnPropertySet ( void  )

Definition at line 1590 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::WeightObject::New(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliCustomActorOnSizeAnimation ( void  )
int UtcDaliCustomActorOnSizeSet ( void  )

Definition at line 1605 of file utc-Dali-CustomActor.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::WeightObject::New(), TEST_LOCATION, and tet_infoline().

Here is the call graph for this function:

int UtcDaliCustomActorOnStageConnectionDisconnection ( void  )
int UtcDaliCustomActorOnStageConnectionOrder ( void  )
int UtcDaliCustomActorOnStageDisconnectionOrder ( void  )
int UtcDaliCustomActorOnTouchEvent ( void  )
int UtcDaliCustomActorOnWheelEvent ( void  )
int UtcDaliCustomActorRemoveDuringOnChildRemove ( void  )
int UtcDaliCustomActorRemoveDuringOnStageConnection ( void  )
int UtcDaliCustomActorRemoveDuringOnStageDisconnection ( void  )
int UtcDaliCustomActorRemoveParentDuringOnStageConnection ( void  )
int UtcDaliCustomActorReparentDuringOnChildAdd ( void  )
int UtcDaliCustomActorTypeRegistry ( void  )
Dali Docs Home
Read more about Dali