Dali 3D User Interface Engine
Classes | Enumerations | Functions | Variables
utc-Dali-KeyGrab.cpp File Reference
#include <map>
#include <string.h>
#include <iostream>
#include <stdlib.h>
#include <dali.h>
#include <dali-test-suite-utils.h>
#include <dali/public-api/adaptor-framework/key-grab.h>
Include dependency graph for utc-Dali-KeyGrab.cpp:

Go to the source code of this file.

Classes

struct  KeyLookup
 
struct  MyTestApp
 

Enumerations

enum  TEST_TYPE { GRAB_KEY_TOPMOST_P, UNGRAB_KEY_TOPMOST_P }
 

Functions

void utc_dali_adaptor_keygrab_startup (void)
 
void utc_dali_adaptor_keygrab_cleanup (void)
 
int UtcDaliKeyGrabGrabKeyTopmostP (void)
 
int UtcDaliKeyGrabUngrabKeyTopmostP (void)
 

Variables

int gArgc
 
char ** gArgv
 
KeyLookup TestKeyLookupTable []
 
const std::size_t KEY_LOOKUP_COUNT = (sizeof( TestKeyLookupTable))/ (sizeof(KeyLookup))
 

Enumeration Type Documentation

enum TEST_TYPE
Enumerator
GRAB_KEY_TOPMOST_P 
UNGRAB_KEY_TOPMOST_P 

Definition at line 99 of file utc-Dali-KeyGrab.cpp.

Function Documentation

void utc_dali_adaptor_keygrab_cleanup ( void  )

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

References test_return_value, and TET_PASS.

void utc_dali_adaptor_keygrab_startup ( void  )

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

References test_return_value, and TET_UNDEF.

int UtcDaliKeyGrabGrabKeyTopmostP ( void  )

Definition at line 166 of file utc-Dali-KeyGrab.cpp.

References END_TEST, gArgc, gArgv, GRAB_KEY_TOPMOST_P, Dali::Application::MainLoop(), and Dali::Application::New().

Here is the call graph for this function:

int UtcDaliKeyGrabUngrabKeyTopmostP ( void  )

Definition at line 174 of file utc-Dali-KeyGrab.cpp.

References END_TEST, gArgc, gArgv, Dali::Application::MainLoop(), Dali::Application::New(), and UNGRAB_KEY_TOPMOST_P.

Here is the call graph for this function:

Variable Documentation

int gArgc
char** gArgv
const std::size_t KEY_LOOKUP_COUNT = (sizeof( TestKeyLookupTable))/ (sizeof(KeyLookup))
KeyLookup TestKeyLookupTable[]
Dali Docs Home
Read more about Dali