(GCC 6.2) Remove unused functions from automated tests 02/111502/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 20 Jan 2017 18:07:44 +0000 (18:07 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 20 Jan 2017 18:07:44 +0000 (18:07 +0000)
Change-Id: I22092d5c6ed2c6536e26f426ae5b04ef152d86e3

automated-tests/src/dali/utc-Dali-ResourceImage.cpp

index ea95e6f..cd9e95e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 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.
@@ -33,25 +33,10 @@ void utc_dali_resource_image_cleanup(void)
   test_return_value = TET_PASS;
 }
 
-static const char* gTestImageFilename = "icon_wrt.png";
-
 namespace
 {
-
-void LoadBitmapResource(TestPlatformAbstraction& platform)
-{
-  Integration::ResourceRequest* request = platform.GetRequest();
-  Integration::Bitmap* bitmap = Integration::Bitmap::New( Integration::Bitmap::BITMAP_2D_PACKED_PIXELS, ResourcePolicy::OWNED_DISCARD );
-  Integration::ResourcePointer resource(bitmap);
-  bitmap->GetPackedPixelsProfile()->ReserveBuffer(Pixel::RGBA8888, 80, 80, 80, 80);
-
-  if(request)
-  {
-    platform.SetResourceLoaded(request->GetId(), request->GetType()->id, resource);
-  }
-}
-
-} // namespace
+const char* gTestImageFilename = "icon_wrt.png";
+} // unnamed namespace
 
 
 // 1.1