X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Fdali-toolkit-test-utils%2Fdummy-control.h;h=1f32459c559939c831940bfb0d013161f037b4d3;hb=8ae521ab64a3922f3419fbbfb83dde57e6135cf5;hp=d0387d92a2c68e4137f0b1836acc38546b962e01;hpb=386634b00f264e667074fa7d956c81bc72233c62;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h index d0387d9..1f32459 100644 --- a/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h +++ b/automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEST_DUMMY_CONTROL_H__ -#define __DALI_TOOLKIT_TEST_DUMMY_CONTROL_H__ +#ifndef DALI_TOOLKIT_TEST_DUMMY_CONTROL_H +#define DALI_TOOLKIT_TEST_DUMMY_CONTROL_H /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -105,6 +105,7 @@ public: int GetVisualCount(); Toolkit::Visual::Base GetVisual( Property::Index index ); Animation CreateTransition( const Toolkit::TransitionData& transition ); + void DoAction( Dali::Property::Index index, Dali::Property::Index action, const Dali::Property::Value attributes ); static void SetProperty( BaseObject* object, Dali::Property::Index index, const Dali::Property::Value& value ); @@ -161,6 +162,7 @@ private: // From Internal::Control virtual void OnPan(const PanGesture& pan); virtual void OnTap(const TapGesture& tap); virtual void OnLongPress(const LongPressGesture& longPress); + virtual Vector3 GetNaturalSize(); private: // From CustomActorImpl @@ -205,6 +207,8 @@ public: bool keyEventCalled; bool keyInputFocusGained; bool keyInputFocusLost; + static int constructorCount; + static int destructorCount; Property::Map mLayouts; RelayoutCallbackFunc mRelayoutCallback; @@ -217,4 +221,4 @@ public: } // namespace Dali -#endif // __DALI_TOOLKIT_TEST_DUMMY_CONTROL_H__ +#endif // DALI_TOOLKIT_TEST_DUMMY_CONTROL_H