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

Go to the source code of this file.

Classes

struct  anonymous_namespace{utc-Dali-Constraint.cpp}::BasicCalledFunctor< T >
 A functor which sets a given boolean when the functor is called. More...
 
struct  anonymous_namespace{utc-Dali-Constraint.cpp}::CalledCountFunctor< T >
 A functor which increments a given integer when the functor is called. More...
 
struct  anonymous_namespace{utc-Dali-Constraint.cpp}::SetValueFunctor< T >
 A functor which sets the given value as the value required when the functor is called. More...
 
struct  UtcDaliConstraintNewFunctorMember::Functor
 

Namespaces

namespace  anonymous_namespace{utc-Dali-Constraint.cpp}
 
namespace  UtcDaliConstraintNewFunction
 
namespace  UtcDaliConstraintNewFunctorMember
 
namespace  UtcDaliConstraintClone
 
namespace  UtcDaliConstraintAddSource
 
namespace  TestChaining
 
namespace  TestPropertyTypes
 

Functions

void utc_dali_constraint_startup (void)
 
void utc_dali_constraint_cleanup (void)
 
template<typename T >
void anonymous_namespace{utc-Dali-Constraint.cpp}::BasicFunction (T &, const PropertyInputContainer &)
 A function to use for a constraint, no data collected. More...
 
void UtcDaliConstraintNewFunction::ConstraintFunction (Vector3 &, const PropertyInputContainer &)
 
int UtcDaliConstraintNewFunctionP (void)
 
int UtcDaliConstraintNewFunctionN (void)
 
int UtcDaliConstraintNewFunctorP (void)
 
int UtcDaliConstraintNewFunctorN (void)
 
int UtcDaliConstraintNewFunctorMemberP (void)
 
int UtcDaliConstraintNewFunctorMemberN (void)
 
int UtcDaliConstraintCloneP (void)
 
int UtcDaliConstraintCloneN (void)
 
void UtcDaliConstraintClone::Function (Vector3 &, const PropertyInputContainer &inputs)
 
int UtcDaliConstraintCloneCheckSourcesAndSetters (void)
 
int UtcDaliConstraintCopyAndAssignment (void)
 
int UtcDaliConstraintDownCast (void)
 
int UtcDaliConstraintGetTargetObjectP (void)
 
int UtcDaliConstraintGetTargetObjectN (void)
 
int UtcDaliConstraintGetTargetPropertyP (void)
 
int UtcDaliConstraintGetTargetPropertyN (void)
 
int UtcDaliConstraintTagP (void)
 
int UtcDaliConstraintSetTagN (void)
 
int UtcDaliConstraintGetTagN (void)
 
int UtcDaliConstraintRemoveActionP (void)
 
int UtcDaliConstraintSetRemoveActionN (void)
 
int UtcDaliConstraintGetRemoveActionN (void)
 
int UtcDaliConstraintBakeRemoveAction (void)
 
int UtcDaliConstraintDiscardRemoveAction (void)
 
int UtcDaliConstraintApplyRemove (void)
 
int UtcDaliConstraintApplyBeforeAddedToStage (void)
 
int UtcDaliConstraintApplyAndRemoveBeforeAddedToStage (void)
 
int UtcDaliConstraintApplyActorStagedUnstaged (void)
 
int UtcDaliConstraintApplySeveralTimes (void)
 
void UtcDaliConstraintAddSource::Function (Vector3 &, const PropertyInputContainer &inputs)
 
int UtcDaliConstraintAddSourceP (void)
 
int UtcDaliConstraintAddSourceN (void)
 
void TestChaining::Function1 (Vector3 &current, const PropertyInputContainer &)
 
void TestChaining::Function2 (Vector3 &current, const PropertyInputContainer &)
 
void TestChaining::Function3 (Vector3 &current, const PropertyInputContainer &)
 
void TestChaining::Function4 (Vector3 &current, const PropertyInputContainer &)
 
void TestChaining::Function5 (Vector3 &current, const PropertyInputContainer &)
 
int UtcDaliConstraintChaining (void)
 
template<typename T >
void TestPropertyTypes::Execute (T value)
 
int UtcDaliConstraintTestPropertyTypesP (void)
 

Variables

bool UtcDaliConstraintNewFunction::gConstraintFunctionCalled = false
 
const Vector3 TestChaining::gFunction1Output (Vector3::ONE)
 
const Vector3 TestChaining::gFunction2Output (10.0f, 20.0f, 30.0f)
 
const Vector3 TestChaining::gFunction3Output (10.0f, 20.0f, 30.0f)
 
const Vector3 TestChaining::gFunction4Output (10.0f, 20.0f, 30.0f)
 

Function Documentation

void utc_dali_constraint_cleanup ( void  )

Definition at line 32 of file utc-Dali-Constraint.cpp.

References test_return_value, and TET_PASS.

void utc_dali_constraint_startup ( void  )

Definition at line 27 of file utc-Dali-Constraint.cpp.

References test_return_value, and TET_UNDEF.

int UtcDaliConstraintAddSourceN ( void  )

Definition at line 1057 of file utc-Dali-Constraint.cpp.

References Dali::Constraint::AddSource(), DALI_TEST_CHECK, END_TEST, and Dali::Actor::Property::POSITION.

Here is the call graph for this function:

int UtcDaliConstraintAddSourceP ( void  )
int UtcDaliConstraintApplyActorStagedUnstaged ( void  )
int UtcDaliConstraintApplyAndRemoveBeforeAddedToStage ( void  )
int UtcDaliConstraintApplyBeforeAddedToStage ( void  )
int UtcDaliConstraintApplyRemove ( void  )
int UtcDaliConstraintApplySeveralTimes ( void  )
int UtcDaliConstraintBakeRemoveAction ( void  )
int UtcDaliConstraintChaining ( void  )
int UtcDaliConstraintCloneCheckSourcesAndSetters ( void  )
int UtcDaliConstraintCloneN ( void  )

Definition at line 398 of file utc-Dali-Constraint.cpp.

References Dali::Constraint::Clone(), DALI_TEST_CHECK, END_TEST, and Dali::Actor::New().

Here is the call graph for this function:

int UtcDaliConstraintCloneP ( void  )
int UtcDaliConstraintCopyAndAssignment ( void  )

Definition at line 474 of file utc-Dali-Constraint.cpp.

References Dali::Stage::Add(), DALI_TEST_CHECK, END_TEST, Dali::Stage::GetCurrent(), Dali::Actor::New(), and Dali::Actor::Property::POSITION.

Here is the call graph for this function:

int UtcDaliConstraintDiscardRemoveAction ( void  )
int UtcDaliConstraintDownCast ( void  )

Definition at line 499 of file utc-Dali-Constraint.cpp.

References DALI_TEST_CHECK, Dali::Constraint::DownCast(), END_TEST, Dali::Actor::New(), and Dali::Actor::Property::POSITION.

Here is the call graph for this function:

int UtcDaliConstraintGetRemoveActionN ( void  )

Definition at line 701 of file utc-Dali-Constraint.cpp.

References DALI_TEST_CHECK, END_TEST, and Dali::Constraint::GetRemoveAction().

Here is the call graph for this function:

int UtcDaliConstraintGetTagN ( void  )

Definition at line 637 of file utc-Dali-Constraint.cpp.

References DALI_TEST_CHECK, END_TEST, and Dali::Constraint::GetTag().

Here is the call graph for this function:

int UtcDaliConstraintGetTargetObjectN ( void  )

Definition at line 541 of file utc-Dali-Constraint.cpp.

References DALI_TEST_CHECK, END_TEST, and Dali::Constraint::GetTargetObject().

Here is the call graph for this function:

int UtcDaliConstraintGetTargetObjectP ( void  )

Definition at line 527 of file utc-Dali-Constraint.cpp.

References DALI_TEST_CHECK, END_TEST, Dali::Constraint::GetTargetObject(), Dali::Actor::New(), and Dali::Actor::Property::POSITION.

Here is the call graph for this function:

int UtcDaliConstraintGetTargetPropertyN ( void  )

Definition at line 576 of file utc-Dali-Constraint.cpp.

References DALI_TEST_CHECK, END_TEST, and Dali::Constraint::GetTargetProperty().

Here is the call graph for this function:

int UtcDaliConstraintGetTargetPropertyP ( void  )
int UtcDaliConstraintNewFunctionN ( void  )

Definition at line 144 of file utc-Dali-Constraint.cpp.

References UtcDaliConstraintNewFunction::ConstraintFunction(), DALI_TEST_CHECK, END_TEST, and Dali::Actor::Property::POSITION.

Here is the call graph for this function:

int UtcDaliConstraintNewFunctionP ( void  )
int UtcDaliConstraintNewFunctorMemberN ( void  )

Definition at line 303 of file utc-Dali-Constraint.cpp.

References DALI_TEST_CHECK, END_TEST, UtcDaliConstraintNewFunctorMember::Functor::Position(), and Dali::Actor::Property::POSITION.

Here is the call graph for this function:

int UtcDaliConstraintNewFunctorMemberP ( void  )
int UtcDaliConstraintNewFunctorN ( void  )
int UtcDaliConstraintNewFunctorP ( void  )
int UtcDaliConstraintRemoveActionP ( void  )
int UtcDaliConstraintSetRemoveActionN ( void  )

Definition at line 681 of file utc-Dali-Constraint.cpp.

References DALI_TEST_CHECK, Dali::Constraint::Discard, END_TEST, and Dali::Constraint::SetRemoveAction().

Here is the call graph for this function:

int UtcDaliConstraintSetTagN ( void  )

Definition at line 617 of file utc-Dali-Constraint.cpp.

References DALI_TEST_CHECK, END_TEST, and Dali::Constraint::SetTag().

Here is the call graph for this function:

int UtcDaliConstraintTagP ( void  )
int UtcDaliConstraintTestPropertyTypesP ( void  )
Dali Docs Home
Read more about Dali