From: György Straub Date: Fri, 4 Sep 2020 15:40:23 +0000 (+0100) Subject: Changed 'virtual' function override declarations to 'override' in automated-tests. X-Git-Tag: dali_1.9.29~7^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=commitdiff_plain;h=e479562cb8e61166c8ac6d6fa338ce9c691225df Changed 'virtual' function override declarations to 'override' in automated-tests. Change-Id: I39b03b7d75ceb50c20ca2b964eb65fa488827040 Signed-off-by: György Straub --- diff --git a/automated-tests/src/dali/dali-test-suite-utils/test-gl-context-helper-abstraction.h b/automated-tests/src/dali/dali-test-suite-utils/test-gl-context-helper-abstraction.h index ce150d1..4c29757 100644 --- a/automated-tests/src/dali/dali-test-suite-utils/test-gl-context-helper-abstraction.h +++ b/automated-tests/src/dali/dali-test-suite-utils/test-gl-context-helper-abstraction.h @@ -43,17 +43,18 @@ public: /** * @brief Switch to the surfaceless GL context */ - virtual void MakeSurfacelessContextCurrent() {}; + void MakeSurfacelessContextCurrent() override {}; /** * @brief Clear the GL context */ - virtual void MakeContextNull() {}; + void MakeContextNull() override {}; /** * @brief Wait until all GL rendering calls for the current GL context are executed */ - virtual void WaitClient() {}; + void WaitClient() override {}; + private: TestGlContextHelperAbstraction( const TestGlContextHelperAbstraction& ); ///< Undefined diff --git a/automated-tests/src/dali/dali-test-suite-utils/test-gl-sync-abstraction.h b/automated-tests/src/dali/dali-test-suite-utils/test-gl-sync-abstraction.h index 775d209..1990b9c 100644 --- a/automated-tests/src/dali/dali-test-suite-utils/test-gl-sync-abstraction.h +++ b/automated-tests/src/dali/dali-test-suite-utils/test-gl-sync-abstraction.h @@ -66,13 +66,13 @@ public: * Create a sync object * @return the sync object */ - virtual Integration::GlSyncAbstraction::SyncObject* CreateSyncObject( ); + Integration::GlSyncAbstraction::SyncObject* CreateSyncObject( ) override; /** * Destroy a sync object * @param[in] syncObject The object to destroy */ - virtual void DestroySyncObject( Integration::GlSyncAbstraction::SyncObject* syncObject ); + void DestroySyncObject( Integration::GlSyncAbstraction::SyncObject* syncObject ) override; public: // TEST FUNCTIONS diff --git a/automated-tests/src/dali/dali-test-suite-utils/test-platform-abstraction.h b/automated-tests/src/dali/dali-test-suite-utils/test-platform-abstraction.h index 7c1b010..bb62c26 100644 --- a/automated-tests/src/dali/dali-test-suite-utils/test-platform-abstraction.h +++ b/automated-tests/src/dali/dali-test-suite-utils/test-platform-abstraction.h @@ -72,17 +72,17 @@ public: /** * @copydoc PlatformAbstraction::LoadResourceSynchronously() */ - virtual Integration::ResourcePointer LoadImageSynchronously( const Integration::BitmapResourceType& resourceType, const std::string& resourcePath ); + Integration::ResourcePointer LoadImageSynchronously( const Integration::BitmapResourceType& resourceType, const std::string& resourcePath ) override; /** * @copydoc PlatformAbstraction::DecodeBuffer() */ - virtual Integration::BitmapPtr DecodeBuffer( const Dali::Integration::BitmapResourceType& resourceType, uint8_t * buffer, size_t size ); + Integration::BitmapPtr DecodeBuffer( const Dali::Integration::BitmapResourceType& resourceType, uint8_t * buffer, size_t size ) override; /** * @copydoc PlatformAbstraction::LoadShaderBinaryFile() */ - virtual bool LoadShaderBinaryFile( const std::string& filename, Dali::Vector< unsigned char >& buffer ) const; + bool LoadShaderBinaryFile( const std::string& filename, Dali::Vector< unsigned char >& buffer ) const override; /** * @copydoc PlatformAbstraction::SaveShaderBinaryFile() @@ -92,12 +92,12 @@ public: /** * @copydoc PlatformAbstraction::StartTimer() */ - virtual uint32_t StartTimer( uint32_t milliseconds, CallbackBase* callback ); + uint32_t StartTimer( uint32_t milliseconds, CallbackBase* callback ) override; /* * @copydoc PlatformAbstraction::CancelTimer() */ - virtual void CancelTimer ( uint32_t timerId ); + void CancelTimer ( uint32_t timerId ) override; public: // TEST FUNCTIONS diff --git a/automated-tests/src/dali/dali-test-suite-utils/test-render-controller.h b/automated-tests/src/dali/dali-test-suite-utils/test-render-controller.h index d44e7b6..74f0f5e 100644 --- a/automated-tests/src/dali/dali-test-suite-utils/test-render-controller.h +++ b/automated-tests/src/dali/dali-test-suite-utils/test-render-controller.h @@ -31,8 +31,8 @@ public: TestRenderController(); ~TestRenderController(); - virtual void RequestUpdate( bool forceUpdate ); - virtual void RequestProcessEventsOnIdle( bool forceProcess ); + void RequestUpdate( bool forceUpdate ) override; + void RequestProcessEventsOnIdle( bool forceProcess ) override; typedef enum {