Dali 3D User Interface Engine
Classes | Namespaces | Functions | Variables
utc-Dali-Popup.cpp File Reference
#include <stdlib.h>
#include <dali-toolkit-test-suite-utils.h>
#include "dali-toolkit-test-utils/toolkit-timer.h"
#include <dali.h>
#include <dali/integration-api/events/key-event-integ.h>
#include <dali/integration-api/events/touch-event-integ.h>
#include <dali/devel-api/scripting/scripting.h>
#include <dali-toolkit/dali-toolkit.h>
#include <dali-toolkit/devel-api/controls/popup/popup.h>
Include dependency graph for utc-Dali-Popup.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{utc-Dali-Popup.cpp}::TestConnectionTrackerObject
 A connection tracker is required when connecting to a signal with a functor. More...
 
struct  anonymous_namespace{utc-Dali-Popup.cpp}::PopupTestFunctor
 This functor is used to test the popup's signal connection. More...
 

Namespaces

namespace  anonymous_namespace{utc-Dali-Popup.cpp}
 

Functions

void utc_dali_toolkit_popup_startup (void)
 
void utc_dali_toolkit_popup_cleanup (void)
 
static void anonymous_namespace{utc-Dali-Popup.cpp}::TestCallback (BaseHandle handle)
 
int anonymous_namespace{utc-Dali-Popup.cpp}::DescendentCount (const Actor &root)
 Counts how many descendants root Actor has, including itself. More...
 
bool anonymous_namespace{utc-Dali-Popup.cpp}::HasAncestor (Actor child, Actor ancestor)
 
static void anonymous_namespace{utc-Dali-Popup.cpp}::OnPopupTouchedOutside ()
 
static void anonymous_namespace{utc-Dali-Popup.cpp}::OnPopupShowing ()
 
static void anonymous_namespace{utc-Dali-Popup.cpp}::OnPopupShown ()
 
static void anonymous_namespace{utc-Dali-Popup.cpp}::OnPopupHiding ()
 
static void anonymous_namespace{utc-Dali-Popup.cpp}::OnPopupHidden ()
 
void anonymous_namespace{utc-Dali-Popup.cpp}::ConnectStateSignals (Toolkit::Popup popup)
 
void anonymous_namespace{utc-Dali-Popup.cpp}::WaitAnimation (ToolkitTestApplication &application)
 
Integration::KeyEvent anonymous_namespace{utc-Dali-Popup.cpp}::GenerateKey (const std::string &keyName, const std::string &keyString, int keyCode, int keyModifier, unsigned long timeStamp, const Integration::KeyEvent::State &keyState)
 
int UtcDaliPopupNewP (void)
 
int UtcDaliPopupDestructorP (void)
 
int UtcDaliPopupDownCastP (void)
 
int UtcDaliPopupSetPropertyP (void)
 
int UtcDaliPopupSetTitleP (void)
 
int UtcDaliPopupSetTitleN (void)
 
int UtcDaliPopupSetContentP (void)
 
int UtcDaliPopupSetContentN (void)
 
int UtcDaliPopupSetFooterP (void)
 
int UtcDaliPopupSetFooterN (void)
 
int UtcDaliPopupSetControlFooterMultiple (void)
 
int UtcDaliPopupSetStateP (void)
 
int UtcDaliPopupSetStateN (void)
 
int UtcDaliPopupDisplayStateSignal (void)
 
int UtcDaliPopupShowHide (void)
 
int UtcDaliPopupPropertyTailVisibility (void)
 
int UtcDaliPopupOnTouchedOutsideSignal (void)
 
int UtcDaliPopupPropertyAutoHide (void)
 
int UtcDaliPopupPropertyAnimationMode (void)
 
int UtcDaliPopupPropertyTitle (void)
 
int UtcDaliPopupPropertyContent (void)
 
int UtcDaliPopupPropertyFooter (void)
 
int UtcDaliPopupPropertyContextualMode (void)
 
int UtcDaliPopupPropertyBacking (void)
 
int UtcDaliPopupPropertyBackgroundImage (void)
 
int UtcDaliPopupPropertyCustomAnimation (void)
 
static bool PushButtonClicked (Button button)
 
int UtcDaliPopupPropertyTouchTransparent (void)
 
int UtcDaliPopupPropertyTail (void)
 
int UtcDaliPopupTypeToast (void)
 
int UtcDaliPopupTypeRegistryCreation (void)
 
int UtcDaliPopupPropertyTypeRegistryConnectSignal (void)
 
int UtcDaliPopupOnControlChildAdd (void)
 
int UtcDaliPopupOnKeyEvent (void)
 

Variables

static bool anonymous_namespace{utc-Dali-Popup.cpp}::gObjectCreatedCallBackCalled
 
const int anonymous_namespace{utc-Dali-Popup.cpp}::RENDER_FRAME_INTERVAL = 10
 Duration of each frame in ms. More...
 
const int anonymous_namespace{utc-Dali-Popup.cpp}::RENDER_ANIMATION_TEST_DURATION_MS = 2000
 2000ms to test animation. More...
 
const int anonymous_namespace{utc-Dali-Popup.cpp}::RENDER_ANIMATION_TEST_DURATION_FRAMES = RENDER_ANIMATION_TEST_DURATION_MS / RENDER_FRAME_INTERVAL
 equivalent frames. More...
 
const Vector3 anonymous_namespace{utc-Dali-Popup.cpp}::DEFAULT_BUTTON_SIZE (100.0f, 50.0f, 0.0f)
 
const Dali::TouchPoint anonymous_namespace{utc-Dali-Popup.cpp}::pointDownOutside (0, TouchPoint::Down, 10.0f, 10.0f)
 
const Dali::TouchPoint anonymous_namespace{utc-Dali-Popup.cpp}::pointUpOutside (0, TouchPoint::Up, 10.0f, 10.0f)
 
static Toolkit::Popup::DisplayState anonymous_namespace{utc-Dali-Popup.cpp}::gPopupState = Toolkit::Popup::HIDDEN
 
static bool anonymous_namespace{utc-Dali-Popup.cpp}::gTouchedOutside
 
static bool gPushButtonClicked
 

Function Documentation

static bool PushButtonClicked ( Button  button)
static

Definition at line 1090 of file utc-Dali-Popup.cpp.

References gPushButtonClicked.

Referenced by UtcDaliPopupPropertyTouchTransparent().

Here is the caller graph for this function:

void utc_dali_toolkit_popup_cleanup ( void  )

Definition at line 40 of file utc-Dali-Popup.cpp.

References test_return_value, and TET_PASS.

void utc_dali_toolkit_popup_startup ( void  )

Definition at line 35 of file utc-Dali-Popup.cpp.

References test_return_value, and TET_UNDEF.

int UtcDaliPopupDestructorP ( void  )

Definition at line 216 of file utc-Dali-Popup.cpp.

References DALI_TEST_CHECK, END_TEST, and tet_infoline().

Here is the call graph for this function:

int UtcDaliPopupDisplayStateSignal ( void  )
int UtcDaliPopupDownCastP ( void  )

Definition at line 228 of file utc-Dali-Popup.cpp.

References DALI_TEST_CHECK, Dali::Toolkit::Popup::DownCast(), END_TEST, Dali::Toolkit::Popup::New(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliPopupNewP ( void  )
int UtcDaliPopupOnControlChildAdd ( void  )
int UtcDaliPopupOnKeyEvent ( void  )
int UtcDaliPopupOnTouchedOutsideSignal ( void  )
int UtcDaliPopupPropertyAnimationMode ( void  )
int UtcDaliPopupPropertyAutoHide ( void  )
int UtcDaliPopupPropertyBackgroundImage ( void  )
int UtcDaliPopupPropertyBacking ( void  )
int UtcDaliPopupPropertyContent ( void  )
int UtcDaliPopupPropertyContextualMode ( void  )
int UtcDaliPopupPropertyCustomAnimation ( void  )
int UtcDaliPopupPropertyFooter ( void  )
int UtcDaliPopupPropertyTail ( void  )
int UtcDaliPopupPropertyTailVisibility ( void  )
int UtcDaliPopupPropertyTitle ( void  )
int UtcDaliPopupPropertyTouchTransparent ( void  )
int UtcDaliPopupPropertyTypeRegistryConnectSignal ( void  )

Definition at line 1358 of file utc-Dali-Popup.cpp.

References Dali::BaseHandle::ConnectSignal(), DALI_TEST_CHECK, END_TEST, Dali::Toolkit::Popup::New(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliPopupSetContentN ( void  )
int UtcDaliPopupSetContentP ( void  )
int UtcDaliPopupSetControlFooterMultiple ( void  )
int UtcDaliPopupSetFooterN ( void  )
int UtcDaliPopupSetFooterP ( void  )
int UtcDaliPopupSetPropertyP ( void  )
int UtcDaliPopupSetStateN ( void  )
int UtcDaliPopupSetStateP ( void  )
int UtcDaliPopupSetTitleN ( void  )
int UtcDaliPopupSetTitleP ( void  )
int UtcDaliPopupShowHide ( void  )
int UtcDaliPopupTypeRegistryCreation ( void  )
int UtcDaliPopupTypeToast ( void  )

Variable Documentation

bool gPushButtonClicked
static

Definition at line 1089 of file utc-Dali-Popup.cpp.

Referenced by PushButtonClicked(), and UtcDaliPopupPropertyTouchTransparent().

Dali Docs Home
Read more about Dali