Dali 3D User Interface Engine
Classes | Functions | Variables
utc-Dali-SignalDelegate.cpp File Reference
#include <iostream>
#include <stdlib.h>
#include <dali/public-api/dali-core.h>
#include <dali/devel-api/signals/signal-delegate.h>
#include <dali-test-suite-utils.h>
Include dependency graph for utc-Dali-SignalDelegate.cpp:

Go to the source code of this file.

Classes

class  SignalDelegateTestClass
 This object allows us to test member function connection. More...
 
class  TestConnectionTrackerObject
 A connection tracker is required when connecting a signal delegate to a functor. More...
 
struct  SignalDelegateTestFunctor
 This functor is used to test the signal delegate's connect ( to functor ) method. More...
 

Functions

void utc_dali_signal_delegate_startup (void)
 
void utc_dali_signal_delegate_cleanup (void)
 
int UtcDaliSignalDelegateIsConnectedP (void)
 
int UtcDaliSignalDelegateIsConnectedN (void)
 
int UtcDaliSignalDelegateConnectToMemberP (void)
 
int UtcDaliSignalDelegateConnectToMemberN (void)
 
int UtcDaliSignalDelegateConnectToFunctorP (void)
 
int UtcDaliSignalDelegateConnectToFunctorN (void)
 

Variables

static bool gSignalReceived = false
 

Function Documentation

void utc_dali_signal_delegate_cleanup ( void  )

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

References test_return_value, and TET_PASS.

void utc_dali_signal_delegate_startup ( void  )

Definition at line 30 of file utc-Dali-SignalDelegate.cpp.

References test_return_value, and TET_UNDEF.

int UtcDaliSignalDelegateConnectToFunctorN ( void  )
int UtcDaliSignalDelegateConnectToFunctorP ( void  )
int UtcDaliSignalDelegateConnectToMemberN ( void  )

Definition at line 169 of file utc-Dali-SignalDelegate.cpp.

References SignalDelegateTestClass::ConnectToInternalMember(), DALI_TEST_CHECK, END_TEST, gSignalReceived, Dali::Actor::New(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliSignalDelegateConnectToMemberP ( void  )
int UtcDaliSignalDelegateIsConnectedN ( void  )

Definition at line 123 of file utc-Dali-SignalDelegate.cpp.

References DALI_TEST_CHECK, END_TEST, SignalDelegateTestClass::IsConnected(), Dali::Actor::New(), and tet_infoline().

Here is the call graph for this function:

int UtcDaliSignalDelegateIsConnectedP ( void  )

Variable Documentation

bool gSignalReceived = false
static
Dali Docs Home
Read more about Dali