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

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{utc-Dali-SignalTemplates.cpp}
 

Functions

void utc_dali_signal_templates_startup (void)
 
void utc_dali_signal_templates_cleanup (void)
 
void anonymous_namespace{utc-Dali-SignalTemplates.cpp}::StaticVoidCallbackVoid ()
 
void anonymous_namespace{utc-Dali-SignalTemplates.cpp}::AlternativeVoidCallbackVoid ()
 
float anonymous_namespace{utc-Dali-SignalTemplates.cpp}::StaticFloatCallbackVoid ()
 
void anonymous_namespace{utc-Dali-SignalTemplates.cpp}::StaticVoidCallbackIntValue (int value)
 
float anonymous_namespace{utc-Dali-SignalTemplates.cpp}::StaticFloatCallbackFloatValueFloatValue (float value1, float value2)
 
int UtcDaliSignalEmptyP (void)
 
int UtcDaliSignalEmptyN (void)
 
int UtcDaliSignalGetConnectionCountP (void)
 
int UtcDaliSignalGetConnectionCountN (void)
 
int UtcDaliSignalConnectP01 (void)
 there are 5 different connection functions we go through them here in order of definition in dali-signal.h More...
 
int UtcDaliSignalConnectN01 (void)
 
int UtcDaliSignalConnectP02 (void)
 
int UtcDaliSignalConnectN02 (void)
 
int UtcDaliSignalConnectP03 (void)
 
int UtcDaliSignalConnectN03 (void)
 
int UtcDaliSignalConnectP04 (void)
 
int UtcDaliSignalConnectN04 (void)
 
int UtcDaliSignalConnectP05 (void)
 
int UtcDaliSignalConnectN05 (void)
 
int UtcDaliSignalDisconnectP01 (void)
 there 3 different disconnect functions we go through them here in order of definition in dali-signal.h More...
 
int UtcDaliSignalDisconnectN01 (void)
 
int UtcDaliSignalDisconnectP02 (void)
 
int UtcDaliSignalDisconnectN02 (void)
 
int UtcDaliSignalDisconnectP03 (void)
 
int UtcDaliSignalDisconnectN03 (void)
 
int UtcDaliSignalEmptyCheckSlotDestruction (void)
 
int UtcDaliSignalConnectAndEmit01P (void)
 
int UtcDaliSignalConnectAndEmit02P (void)
 
int UtcDaliSignalDisconnect (void)
 
int UtcDaliSignalDisconnect2 (void)
 
int UtcDaliSignalDisconnect3 (void)
 
int UtcDaliSignalCustomConnectionTracker (void)
 
int UtcDaliSignalMultipleConnections (void)
 
int UtcDaliSignalMultipleConnections2 (void)
 
int UtcDaliSignalMultipleConnections3 (void)
 
int UtcDaliSignalDisconnectStatic (void)
 
int UtcDaliSignalDisconnectDuringCallback (void)
 
int UtcDaliSignalDisconnectDuringCallback2 (void)
 
int UtcDaliSignalEmitDuringCallback (void)
 
int UtcDaliSignalDeleteDuringEmit (void)
 
int UtcDaliSignalTestApp01 (void)
 
int UtcDaliSignalTestApp02 (void)
 
int UtcDaliSignalTestApp03 (void)
 
int UtcDaliSignalTestApp04 (void)
 
int UtcDaliSignalTestApp05 (void)
 
int UtcDaliSignalTestApp06 (void)
 
int UtcDaliSlotDelegateConnection (void)
 
int UtcDaliSignalSlotDelegateDestruction (void)
 
int UtcDaliSlotHandlerDisconnect (void)
 
int UtcDaliCallbackBase (void)
 

Variables

bool anonymous_namespace{utc-Dali-SignalTemplates.cpp}::wasStaticVoidCallbackVoidCalled = false
 
bool anonymous_namespace{utc-Dali-SignalTemplates.cpp}::wasStaticFloatCallbackVoidCalled = false
 
bool anonymous_namespace{utc-Dali-SignalTemplates.cpp}::wasStaticVoidCallbackIntValueCalled = false
 
int anonymous_namespace{utc-Dali-SignalTemplates.cpp}::staticIntValue = 0
 
bool anonymous_namespace{utc-Dali-SignalTemplates.cpp}::wasStaticFloatCallbackFloatValueFloatValueCalled = false
 
float anonymous_namespace{utc-Dali-SignalTemplates.cpp}::staticFloatValue1 = 0.0f
 
float anonymous_namespace{utc-Dali-SignalTemplates.cpp}::staticFloatValue2 = 0.0f
 

Function Documentation

void utc_dali_signal_templates_cleanup ( void  )

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

References test_return_value, and TET_PASS.

void utc_dali_signal_templates_startup ( void  )

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

References test_return_value, and TET_UNDEF.

int UtcDaliCallbackBase ( void  )

Definition at line 2222 of file utc-Dali-SignalTemplates.cpp.

References END_TEST, TET_PASS, and tet_result().

Here is the call graph for this function:

int UtcDaliSignalConnectAndEmit01P ( void  )

Definition at line 598 of file utc-Dali-SignalTemplates.cpp.

References TestSlotHandler::BoolSlotFloatValue(), TestSlotHandler::BoolSlotFloatValueIntValue(), TestSignals::CheckNoConnections(), DALI_TEST_EQUALS(), TestSignals::EmitBoolSignalFloatValue(), TestSignals::EmitBoolSignalFloatValueIntValue(), TestSignals::EmitFloat0Signal(), TestSignals::EmitFloat2VSignal(), TestSignals::EmitFloat3VSignal(), TestSignals::EmitIntSignalFloatValueIntValue(), TestSignals::EmitVoidSignal1IntValue(), TestSignals::EmitVoidSignal2IntValue(), TestSignals::EmitVoidSignalFloatValue3(), TestSignals::EmitVoidSignalIntRef(), TestSignals::EmitVoidSignalVoid(), END_TEST, TestSlotHandler::FloatSlotFloatValue3(), TestSlotHandler::FloatSlotFloatValueFloatValue(), TestSlotHandler::FloatSlotVoid(), TestSlotHandler::IntSlotFloatValueIntValue(), TestSlotHandler::mBoolReturn, TestSlotHandler::mFloatParam1, TestSlotHandler::mFloatParam2, TestSlotHandler::mFloatParam3, TestSlotHandler::mFloatReturn, TestSlotHandler::mHandled, TestSlotHandler::mIntParam1, TestSlotHandler::mIntParam2, TestSlotHandler::mIntReturn, TestSignals::SignalBool1Value(), TestSignals::SignalBool2Value(), TestSignals::SignalFloat0(), TestSignals::SignalFloat2Value(), TestSignals::SignalFloat3Value(), TestSignals::SignalInt2Value(), TestSignals::SignalVoid1Ref(), TestSignals::SignalVoid1Value(), TestSignals::SignalVoid2Value(), TestSignals::SignalVoidNone(), TEST_LOCATION, TestSignals::VoidSignalFloatValue3(), TestSlotHandler::VoidSlotFloatValue3(), TestSlotHandler::VoidSlotIntRef(), TestSlotHandler::VoidSlotIntValue(), TestSlotHandler::VoidSlotIntValueIntValue(), and TestSlotHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSignalConnectAndEmit02P ( void  )
int UtcDaliSignalConnectN01 ( void  )

Definition at line 170 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_PRINT_ASSERT(), END_TEST, TET_PASS, and tet_result().

Here is the call graph for this function:

int UtcDaliSignalConnectN02 ( void  )

Definition at line 207 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_PRINT_ASSERT(), END_TEST, TET_PASS, tet_result(), and TestSlotHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSignalConnectN03 ( void  )

Definition at line 242 of file utc-Dali-SignalTemplates.cpp.

References END_TEST, TET_PASS, and tet_result().

Here is the call graph for this function:

int UtcDaliSignalConnectN04 ( void  )

Definition at line 267 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_PRINT_ASSERT(), END_TEST, TET_PASS, tet_result(), and TestSlotHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSignalConnectN05 ( void  )

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

References DALI_TEST_PRINT_ASSERT(), END_TEST, Dali::FunctorDelegate::New(), TET_PASS, and tet_result().

Here is the call graph for this function:

int UtcDaliSignalConnectP01 ( void  )

there are 5 different connection functions we go through them here in order of definition in dali-signal.h

Definition at line 157 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, END_TEST, and anonymous_namespace{utc-Dali-SignalTemplates.cpp}::StaticVoidCallbackVoid().

Here is the call graph for this function:

int UtcDaliSignalConnectP02 ( void  )

Definition at line 193 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, END_TEST, TestSlotHandler::mHandled, and TestSlotHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSignalConnectP03 ( void  )
int UtcDaliSignalConnectP04 ( void  )

Definition at line 250 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliSignalConnectP05 ( void  )

Definition at line 287 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, END_TEST, and Dali::FunctorDelegate::New().

Here is the call graph for this function:

int UtcDaliSignalCustomConnectionTracker ( void  )
int UtcDaliSignalDeleteDuringEmit ( void  )

Definition at line 1639 of file utc-Dali-SignalTemplates.cpp.

References TestEmitDuringCallback::DeleteDuringEmitConnect(), END_TEST, TET_PASS, and tet_result().

Here is the call graph for this function:

int UtcDaliSignalDisconnect ( void  )
int UtcDaliSignalDisconnect2 ( void  )
int UtcDaliSignalDisconnect3 ( void  )
int UtcDaliSignalDisconnectDuringCallback ( void  )
int UtcDaliSignalDisconnectDuringCallback2 ( void  )

Definition at line 1536 of file utc-Dali-SignalTemplates.cpp.

References TestSlotMultiDisconnector::ConnectAll(), DALI_TEST_CHECK, DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliSignalDisconnectN01 ( void  )
int UtcDaliSignalDisconnectN02 ( void  )

Definition at line 385 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, DALI_TEST_PRINT_ASSERT(), END_TEST, and TestSlotHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSignalDisconnectN03 ( void  )
int UtcDaliSignalDisconnectP01 ( void  )

there 3 different disconnect functions we go through them here in order of definition in dali-signal.h

Definition at line 339 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, END_TEST, and anonymous_namespace{utc-Dali-SignalTemplates.cpp}::StaticVoidCallbackVoid().

Here is the call graph for this function:

int UtcDaliSignalDisconnectP02 ( void  )

Definition at line 370 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, END_TEST, and TestSlotHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSignalDisconnectP03 ( void  )

Definition at line 410 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, END_TEST, TestSlotDelegateHandler::mSlotDelegate, and TestSlotDelegateHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSignalDisconnectStatic ( void  )
int UtcDaliSignalEmitDuringCallback ( void  )
int UtcDaliSignalEmptyCheckSlotDestruction ( void  )
int UtcDaliSignalEmptyN ( void  )

Definition at line 116 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, END_TEST, and TestSlotHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSignalEmptyP ( void  )

Definition at line 93 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, END_TEST, and TestSlotHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSignalGetConnectionCountN ( void  )

Definition at line 145 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, and END_TEST.

int UtcDaliSignalGetConnectionCountP ( void  )

Definition at line 129 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_CHECK, END_TEST, and TestSlotHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSignalMultipleConnections ( void  )
int UtcDaliSignalMultipleConnections2 ( void  )
int UtcDaliSignalMultipleConnections3 ( void  )
int UtcDaliSignalSlotDelegateDestruction ( void  )
int UtcDaliSignalTestApp01 ( void  )

Definition at line 1659 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_EQUALS(), TestButton::DownSignal(), END_TEST, TestApp::OnButtonPress(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliSignalTestApp02 ( void  )

Definition at line 1680 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_EQUALS(), TestButton::DownSignal(), END_TEST, TestApp::OnButtonPress(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliSignalTestApp03 ( void  )

Definition at line 1700 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_EQUALS(), TestButton::DownSignal(), END_TEST, TestApp::OnButtonPress(), TestButton::Press(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliSignalTestApp04 ( void  )

Definition at line 1732 of file utc-Dali-SignalTemplates.cpp.

References DALI_TEST_EQUALS(), TestButton::DownSignal(), END_TEST, TestApp::OnButtonPress(), and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliSignalTestApp05 ( void  )
int UtcDaliSignalTestApp06 ( void  )

Definition at line 1797 of file utc-Dali-SignalTemplates.cpp.

References TestApp::BoolReturnTestFalse(), TestApp::BoolReturnTestTrue(), DALI_TEST_EQUALS(), END_TEST, and TEST_LOCATION.

Here is the call graph for this function:

int UtcDaliSlotDelegateConnection ( void  )

Definition at line 1816 of file utc-Dali-SignalTemplates.cpp.

References TestSlotDelegateHandler::BoolSlotFloatValue(), TestSlotDelegateHandler::BoolSlotFloatValueIntValue(), TestSignals::CheckNoConnections(), DALI_TEST_EQUALS(), TestSignals::EmitBoolSignalFloatValue(), TestSignals::EmitBoolSignalFloatValueIntValue(), TestSignals::EmitFloat0Signal(), TestSignals::EmitFloat2VSignal(), TestSignals::EmitFloat3VSignal(), TestSignals::EmitIntSignalFloatValueIntValue(), TestSignals::EmitVoidSignal1IntValue(), TestSignals::EmitVoidSignal2IntValue(), TestSignals::EmitVoidSignalFloatValue3(), TestSignals::EmitVoidSignalIntRef(), TestSignals::EmitVoidSignalVoid(), END_TEST, TestSlotDelegateHandler::FloatSlotFloatValue3(), TestSlotDelegateHandler::FloatSlotFloatValueFloatValue(), TestSlotDelegateHandler::FloatSlotVoid(), TestSlotDelegateHandler::IntSlotFloatValueIntValue(), TestSlotDelegateHandler::mBoolReturn, TestSlotDelegateHandler::mFloatParam1, TestSlotDelegateHandler::mFloatParam2, TestSlotDelegateHandler::mFloatParam3, TestSlotDelegateHandler::mFloatReturn, TestSlotDelegateHandler::mHandled, TestSlotDelegateHandler::mIntParam1, TestSlotDelegateHandler::mIntParam2, TestSlotDelegateHandler::mIntReturn, TestSlotDelegateHandler::mSlotDelegate, TestSignals::SignalBool1Value(), TestSignals::SignalBool2Value(), TestSignals::SignalFloat0(), TestSignals::SignalFloat2Value(), TestSignals::SignalFloat3Value(), TestSignals::SignalInt2Value(), TestSignals::SignalVoid1Ref(), TestSignals::SignalVoid1Value(), TestSignals::SignalVoid2Value(), TestSignals::SignalVoidNone(), TEST_LOCATION, TestSignals::VoidSignalFloatValue3(), TestSlotDelegateHandler::VoidSlotFloatValue3(), TestSlotDelegateHandler::VoidSlotIntRef(), TestSlotDelegateHandler::VoidSlotIntValue(), TestSlotDelegateHandler::VoidSlotIntValueIntValue(), and TestSlotDelegateHandler::VoidSlotVoid().

Here is the call graph for this function:

int UtcDaliSlotHandlerDisconnect ( void  )

Definition at line 2111 of file utc-Dali-SignalTemplates.cpp.

References TestSlotDelegateHandler::BoolSlotFloatValue(), TestSlotDelegateHandler::BoolSlotFloatValueIntValue(), DALI_TEST_EQUALS(), TestSignals::EmitBoolSignalFloatValue(), TestSignals::EmitBoolSignalFloatValueIntValue(), TestSignals::EmitFloat0Signal(), TestSignals::EmitFloat2VSignal(), TestSignals::EmitIntSignalFloatValueIntValue(), TestSignals::EmitVoidSignal1IntValue(), TestSignals::EmitVoidSignal2IntValue(), TestSignals::EmitVoidSignalIntRef(), TestSignals::EmitVoidSignalVoid(), END_TEST, TestSlotDelegateHandler::FloatSlotFloatValueFloatValue(), TestSlotDelegateHandler::FloatSlotVoid(), TestSlotDelegateHandler::IntSlotFloatValueIntValue(), TestSlotDelegateHandler::mBoolReturn, TestSlotDelegateHandler::mFloatParam1, TestSlotDelegateHandler::mFloatParam2, TestSlotDelegateHandler::mFloatReturn, TestSlotDelegateHandler::mHandled, TestSlotDelegateHandler::mIntParam1, TestSlotDelegateHandler::mIntParam2, TestSlotDelegateHandler::mIntReturn, TestSlotDelegateHandler::mSlotDelegate, r, TestSignals::SignalBool1Value(), TestSignals::SignalBool2Value(), TestSignals::SignalFloat0(), TestSignals::SignalFloat2Value(), TestSignals::SignalInt2Value(), TestSignals::SignalVoid1Ref(), TestSignals::SignalVoid1Value(), TestSignals::SignalVoid2Value(), TestSignals::SignalVoidNone(), TEST_LOCATION, TestSlotDelegateHandler::VoidSlotIntRef(), TestSlotDelegateHandler::VoidSlotIntValue(), TestSlotDelegateHandler::VoidSlotIntValueIntValue(), and TestSlotDelegateHandler::VoidSlotVoid().

Here is the call graph for this function:

Dali Docs Home
Read more about Dali