DALI_CHECK_FAIL( getPropertyTypeAnimatable != propertyTypeAnimatable, "Set/ Get property types mismatch for registered animatable property.");
g_typeInfo_pr.GetPropertyIndices( g_indices_pr );
- DALI_CHECK_FAIL( g_indices_pr.Size() != (uPropertyCountAfterReg - uInitialAnimatableProperty), " AnimatablePropertyRegistration is failed." );
-
-
+ DALI_CHECK_FAIL( g_indices_pr.Size() != g_actorCustom_pr.GetPropertyCount(), " AnimatablePropertyRegistration is failed." );
+
+
//Registering animatable property components
AnimatablePropertyComponentRegistration animatablePropertyComponentX( typeRegistration, STR_ANIMATABLE_COMPONENT_X_NAME, nAnimatableComponentIndexX, nAnimatablePropertyIndex, uCompIndX );
AnimatablePropertyComponentRegistration animatablePropertyComponentY( typeRegistration, STR_ANIMATABLE_COMPONENT_Y_NAME, nAnimatableComponentIndexY, nAnimatablePropertyIndex, uCompIndY );
Property::IndexContainer indices;
typeInfo.GetPropertyIndices( indices );
- DALI_CHECK_FAIL(indices.Size() != 1u, "GetPropertyIndices failed to retrive the size .");
+ DALI_CHECK_FAIL(indices.Size() != customActor.GetPropertyCount(), "GetPropertyIndices failed to retrive the size .");
DaliLog::PrintPass();
}
Property::IndexContainer indices;
typeInfo.GetPropertyIndices( indices );
- DALI_CHECK_FAIL(indices.Size() != 1u, "GetPropertyIndices failed to retrive the size .");
+ DALI_CHECK_FAIL(indices.Size() != customActor.GetPropertyCount(), "GetPropertyIndices failed to retrive the size .");
DaliLog::PrintPass();
}
Property::IndexContainer indices;
typeInfo.GetPropertyIndices( indices );
- DALI_CHECK_FAIL(indices.Size() != 1u, "GetPropertyIndices failed to retrive the size .");
+ DALI_CHECK_FAIL(indices.Size() != customActor.GetPropertyCount(), "GetPropertyIndices failed to retrive the size .");
DaliLog::PrintPass();
}
Property::IndexContainer indices;
typeInfo.GetPropertyIndices( indices );
- DALI_CHECK_FAIL(indices.Size() != 1u, "GetPropertyIndices failed to retrive the size .");
+ DALI_CHECK_FAIL(indices.Size() != customActor.GetPropertyCount(), "GetPropertyIndices failed to retrive the size .");
DaliLog::PrintPass();
}
// Check property count of type-info is 1
Property::IndexContainer indices;
typeInfo.GetPropertyIndices( indices );
- DALI_CHECK_FAIL( indices.Size() != 1u, "GetPropertyIndices is failed" );
+ DALI_CHECK_FAIL( indices.Size() != typeInfo.GetPropertyCount(), "GetPropertyIndices is failed" );
// Ensure indices returned from actor and customActor differ by two
Actor actor = Actor::New();