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

Go to the source code of this file.

Classes

struct  anonymous_namespace{utc-Dali-Stage.cpp}::EventProcessingFinishedFunctor
 
struct  anonymous_namespace{utc-Dali-Stage.cpp}::KeyEventSignalData
 
struct  anonymous_namespace{utc-Dali-Stage.cpp}::KeyEventReceivedFunctor
 
struct  anonymous_namespace{utc-Dali-Stage.cpp}::TouchedSignalData
 
struct  anonymous_namespace{utc-Dali-Stage.cpp}::TouchedFunctor
 
struct  anonymous_namespace{utc-Dali-Stage.cpp}::WheelEventSignalData
 
struct  anonymous_namespace{utc-Dali-Stage.cpp}::WheelEventReceivedFunctor
 
struct  anonymous_namespace{utc-Dali-Stage.cpp}::ContextStatusFunctor
 
struct  anonymous_namespace{utc-Dali-Stage.cpp}::SceneCreatedStatusFunctor
 
struct  anonymous_namespace{utc-Dali-Stage.cpp}::ActorCreatedFunctor
 

Namespaces

namespace  anonymous_namespace{utc-Dali-Stage.cpp}
 

Functions

void stage_test_startup (void)
 
void stage_test_cleanup (void)
 
bool anonymous_namespace{utc-Dali-Stage.cpp}::DummyTouchCallback (Actor actor, const TouchEvent &touch)
 
int UtcDaliStageDefaultConstructorP (void)
 
int UtcDaliStageDestructorP (void)
 
int UtcDaliStageGetCurrentP (void)
 
int UtcDaliStageGetCurrentN (void)
 
int UtcDaliStageIsInstalledP (void)
 
int UtcDaliStageIsInstalledN (void)
 
int UtcDaliStageCopyConstructorP (void)
 
int UtcDaliStageAssignmentOperatorP (void)
 
int UtcDaliStageAddP (void)
 
int UtcDaliStageAddN (void)
 
int UtcDaliStageRemoveP (void)
 
int UtcDaliStageRemoveN1 (void)
 
int UtcDaliStageRemoveN2 (void)
 
int UtcDaliStageRemoveN3 (void)
 
int UtcDaliStageGetSizeP (void)
 
int UtcDaliStageGetSizeN (void)
 
int UtcDaliStageGetDpiP1 (void)
 
int UtcDaliStageGetDpiP2 (void)
 
int UtcDaliStageGetDpiP3 (void)
 
int UtcDaliStageGetDpiN (void)
 
int UtcDaliStageGetLayerCountP (void)
 
int UtcDaliStageGetLayerCountN (void)
 
int UtcDaliStageGetLayerP (void)
 
int UtcDaliStageGetLayerN (void)
 
int UtcDaliStageGetRootLayerP (void)
 
int UtcDaliStageGetRootLayerN (void)
 
int UtcDaliStageSetBackgroundColorP (void)
 
int UtcDaliStageGetBackgroundColorP (void)
 
int UtcDaliStageKeepRenderingP (void)
 
int UtcDaliStageKeepRenderingN (void)
 
int UtcDaliStageEventProcessingFinishedP (void)
 
int UtcDaliStageEventProcessingFinishedN (void)
 
int UtcDaliStageSignalKeyEventP (void)
 
int UtcDaliStageSignalKeyEventN (void)
 
int UtcDaliStageTouchedSignalP (void)
 
int UtcDaliStageTouchedSignalN (void)
 
int UtcDaliStageSignalWheelEventP (void)
 
int UtcDaliStageContextLostSignalP (void)
 
int UtcDaliStageContextLostSignalN (void)
 
int UtcDaliStageContextRegainedSignalP (void)
 
int UtcDaliStageContextRegainedSignalN (void)
 
int UtcDaliStageSceneCreatedSignalP (void)
 
int UtcDaliStageSceneCreatedSignalN (void)
 
int UtcDaliStageGetRenderTaskListP (void)
 
int UtcDaliStageGetRenderTaskListN (void)
 
int UtcDaliStageGetObjectRegistryP (void)
 
int UtcDaliStageGetObjectRegistryN (void)
 

Function Documentation

void stage_test_cleanup ( void  )

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

References test_return_value, and TET_PASS.

void stage_test_startup ( void  )

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

References test_return_value, and TET_UNDEF.

int UtcDaliStageAddN ( void  )

Definition at line 342 of file utc-Dali-Stage.cpp.

References Dali::Stage::Add(), DALI_TEST_ASSERT(), DALI_TEST_CHECK, DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::Stage::GetCurrent(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliStageAddP ( void  )

Definition at line 328 of file utc-Dali-Stage.cpp.

References Dali::Stage::Add(), DALI_TEST_CHECK, END_TEST, Dali::Stage::GetCurrent(), Dali::Actor::New(), and Dali::Actor::OnStage().

Here is the call graph for this function:

int UtcDaliStageAssignmentOperatorP ( void  )

Definition at line 313 of file utc-Dali-Stage.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::Stage::GetCurrent(), and Dali::Stage::GetRootLayer().

Here is the call graph for this function:

int UtcDaliStageContextLostSignalN ( void  )
int UtcDaliStageContextLostSignalP ( void  )
int UtcDaliStageContextRegainedSignalN ( void  )
int UtcDaliStageContextRegainedSignalP ( void  )
int UtcDaliStageCopyConstructorP ( void  )

Definition at line 298 of file utc-Dali-Stage.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::Stage::GetCurrent(), and Dali::Stage::GetRootLayer().

Here is the call graph for this function:

int UtcDaliStageDefaultConstructorP ( void  )

Definition at line 230 of file utc-Dali-Stage.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliStageDestructorP ( void  )

Definition at line 241 of file utc-Dali-Stage.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliStageEventProcessingFinishedN ( void  )
int UtcDaliStageEventProcessingFinishedP ( void  )
int UtcDaliStageGetBackgroundColorP ( void  )
int UtcDaliStageGetCurrentN ( void  )

Definition at line 263 of file utc-Dali-Stage.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_CHECK, DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::Stage::GetCurrent(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliStageGetCurrentP ( void  )

Definition at line 254 of file utc-Dali-Stage.cpp.

References DALI_TEST_CHECK, END_TEST, and Dali::Stage::GetCurrent().

Here is the call graph for this function:

int UtcDaliStageGetDpiN ( void  )

Definition at line 539 of file utc-Dali-Stage.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Stage::GetCurrent(), Dali::Stage::GetDpi(), TEST_LOCATION, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

int UtcDaliStageGetDpiP1 ( void  )
int UtcDaliStageGetDpiP2 ( void  )
int UtcDaliStageGetDpiP3 ( void  )

Definition at line 522 of file utc-Dali-Stage.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Stage::GetCurrent(), Dali::Stage::GetDpi(), TEST_LOCATION, Dali::Vector2::x, and Dali::Vector2::y.

Here is the call graph for this function:

int UtcDaliStageGetLayerCountN ( void  )

Definition at line 570 of file utc-Dali-Stage.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Stage::GetCurrent(), Dali::Stage::GetLayerCount(), Dali::Layer::New(), Dali::Stage::Remove(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliStageGetLayerCountP ( void  )

Definition at line 551 of file utc-Dali-Stage.cpp.

References Dali::Stage::Add(), DALI_TEST_EQUALS(), END_TEST, Dali::Stage::GetCurrent(), Dali::Stage::GetLayerCount(), Dali::Layer::New(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliStageGetLayerN ( void  )

Definition at line 604 of file utc-Dali-Stage.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_CHECK, DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::Stage::GetCurrent(), Dali::Stage::GetLayer(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliStageGetLayerP ( void  )

Definition at line 587 of file utc-Dali-Stage.cpp.

References Dali::Stage::Add(), DALI_TEST_CHECK, END_TEST, Dali::Stage::GetCurrent(), Dali::Stage::GetLayer(), and Dali::Layer::New().

Here is the call graph for this function:

int UtcDaliStageGetObjectRegistryN ( void  )

Definition at line 1303 of file utc-Dali-Stage.cpp.

References DALI_TEST_CHECK, DALI_TEST_PRINT_ASSERT(), END_TEST, and Dali::Stage::GetObjectRegistry().

Here is the call graph for this function:

int UtcDaliStageGetObjectRegistryP ( void  )
int UtcDaliStageGetRenderTaskListN ( void  )

Definition at line 1262 of file utc-Dali-Stage.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_CHECK, DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::Stage::GetRenderTaskList(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliStageGetRenderTaskListP ( void  )
int UtcDaliStageGetRootLayerN ( void  )
int UtcDaliStageGetRootLayerP ( void  )

Definition at line 627 of file utc-Dali-Stage.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::Stage::GetCurrent(), Dali::Stage::GetLayer(), and Dali::Stage::GetRootLayer().

Here is the call graph for this function:

int UtcDaliStageGetSizeN ( void  )

Definition at line 472 of file utc-Dali-Stage.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_CHECK, DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::Stage::GetSize(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliStageGetSizeP ( void  )
int UtcDaliStageIsInstalledN ( void  )

Definition at line 291 of file utc-Dali-Stage.cpp.

References DALI_TEST_CHECK, END_TEST, and Dali::Stage::IsInstalled().

Here is the call graph for this function:

int UtcDaliStageIsInstalledP ( void  )

Definition at line 281 of file utc-Dali-Stage.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::Stage::GetCurrent(), and Dali::Stage::IsInstalled().

Here is the call graph for this function:

int UtcDaliStageKeepRenderingN ( void  )
int UtcDaliStageKeepRenderingP ( void  )
int UtcDaliStageRemoveN1 ( void  )

Definition at line 383 of file utc-Dali-Stage.cpp.

References DALI_TEST_ASSERT(), DALI_TEST_CHECK, DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::Stage::GetCurrent(), Dali::Stage::Remove(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliStageRemoveN2 ( void  )
int UtcDaliStageRemoveN3 ( void  )
int UtcDaliStageRemoveP ( void  )

Definition at line 366 of file utc-Dali-Stage.cpp.

References Dali::Stage::Add(), DALI_TEST_CHECK, END_TEST, Dali::Stage::GetCurrent(), Dali::Actor::New(), Dali::Actor::OnStage(), and Dali::Stage::Remove().

Here is the call graph for this function:

int UtcDaliStageSceneCreatedSignalN ( void  )
int UtcDaliStageSceneCreatedSignalP ( void  )
int UtcDaliStageSetBackgroundColorP ( void  )
int UtcDaliStageSignalKeyEventN ( void  )

Definition at line 845 of file utc-Dali-Stage.cpp.

References DALI_TEST_EQUALS(), END_TEST, Dali::Stage::GetCurrent(), Dali::Stage::KeyEventSignal(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliStageSignalKeyEventP ( void  )
int UtcDaliStageSignalWheelEventP ( void  )
int UtcDaliStageTouchedSignalN ( void  )
int UtcDaliStageTouchedSignalP ( void  )
Dali Docs Home
Read more about Dali