Changed 'virtual' function override declarations to 'override' in automated-tests. 27/243327/1
authorGyörgy Straub <g.straub@partner.samsung.com>
Fri, 4 Sep 2020 15:47:20 +0000 (16:47 +0100)
committerGyörgy Straub <g.straub@partner.samsung.com>
Fri, 4 Sep 2020 15:47:20 +0000 (16:47 +0100)
Change-Id: I36e68de23820a1d796a07c084643514b1439fc9c
Signed-off-by: György Straub <g.straub@partner.samsung.com>
automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-context-helper-abstraction.h
automated-tests/src/dali-adaptor/dali-test-suite-utils/test-gl-sync-abstraction.h
automated-tests/src/dali-adaptor/dali-test-suite-utils/test-platform-abstraction.h
automated-tests/src/dali-adaptor/dali-test-suite-utils/test-render-controller.h

index ce150d1..4c29757 100644 (file)
@@ -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
index 775d209..1990b9c 100644 (file)
@@ -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
index 7c1b010..bb62c26 100644 (file)
@@ -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
 
index d44e7b6..74f0f5e 100644 (file)
@@ -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
   {