/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
}
// Positive test case for a method
-int UtcDaliEffectsViewAddRemove(void)
+int UtcDaliEffectsViewAddRemoveDropShadow(void)
{
ToolkitTestApplication application;
- tet_infoline("UtcDaliGaussianBlurViewAddRemove");
+ tet_infoline("UtcDaliEffectsViewAddRemoveDropShadow");
EffectsView view = EffectsView::New( EffectsView::DROP_SHADOW );
DALI_TEST_CHECK( view );
END_TEST;
}
+
int UtcDaliEffectsViewGetTypeP(void)
{
ToolkitTestApplication application;
application.SendNotification();
application.Render(static_cast<unsigned int>(durationSeconds*1000.0f) + 1u/*just beyond the animation duration*/);
- value = view.GetProperty( EffectsView::Property::EFFECT_OFFSET );
+ value = view.GetCurrentProperty( EffectsView::Property::EFFECT_OFFSET );
value.Get(offsetValue);
DALI_TEST_EQUALS( offsetValue, offsetAnimate, TEST_LOCATION );
application.SendNotification();
application.Render(static_cast<unsigned int>(durationSeconds*1000.0f) + 1u/*just beyond the animation duration*/);
- value = view.GetProperty( EffectsView::Property::EFFECT_COLOR );
+ value = view.GetCurrentProperty( EffectsView::Property::EFFECT_COLOR );
value.Get(colorValue);
DALI_TEST_EQUALS( colorValue, colorAnimate, TEST_LOCATION );