Dali 3D User Interface Engine
Classes | Functions | Variables
utc-Dali-Key.cpp File Reference
#include <map>
#include <string.h>
#include <iostream>
#include <stdlib.h>
#include <dali.h>
#include <dali-test-suite-utils.h>
Include dependency graph for utc-Dali-Key.cpp:

Go to the source code of this file.

Classes

struct  KeyLookup
 

Functions

void utc_dali_adaptor_key_startup (void)
 
void utc_dali_adaptor_key_cleanup (void)
 
Dali::KeyEvent GenerateKeyPress (const std::string &keyName)
 
int UtcDaliKeyIsKey (void)
 
int UtcDaliKeyIsKeyNegative (void)
 

Variables

KeyLookup KeyLookupTable []
 
const std::size_t KEY_LOOKUP_COUNT = (sizeof( KeyLookupTable))/ (sizeof(KeyLookup))
 

Function Documentation

Dali::KeyEvent GenerateKeyPress ( const std::string &  keyName)

Definition at line 95 of file utc-Dali-Key.cpp.

References Dali::KeyEvent::keyPressedName.

Referenced by UtcDaliKeyIsKey(), and UtcDaliKeyIsKeyNegative().

Here is the caller graph for this function:

void utc_dali_adaptor_key_cleanup ( void  )

Definition at line 36 of file utc-Dali-Key.cpp.

References test_return_value, and TET_PASS.

void utc_dali_adaptor_key_startup ( void  )

Definition at line 31 of file utc-Dali-Key.cpp.

References test_return_value, and TET_UNDEF.

int UtcDaliKeyIsKey ( void  )

Definition at line 102 of file utc-Dali-Key.cpp.

References DALI_TEST_CHECK, END_TEST, GenerateKeyPress(), Dali::IsKey(), Dali::Internal::Adaptor::KeyLookup::KEY_LOOKUP_COUNT, KeyLookupTable, and tet_printf().

Here is the call graph for this function:

int UtcDaliKeyIsKeyNegative ( void  )

Variable Documentation

const std::size_t KEY_LOOKUP_COUNT = (sizeof( KeyLookupTable))/ (sizeof(KeyLookup))

Definition at line 91 of file utc-Dali-Key.cpp.

KeyLookup KeyLookupTable[]
Dali Docs Home
Read more about Dali