X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=automated-tests%2Fsrc%2Fdali-toolkit%2Futc-Dali-ImageView.cpp;h=1a9a7049994c473b011f7c784a87084c786c749d;hb=aa8f697fd4af7baa9d2c8ff41a11583ec6eb0c6c;hp=709282a88628cb60dafcd72eaf7e898d7385b773;hpb=9fff4fa5534b563329dc8cd6c0598888f667ee39;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp b/automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp index 709282a..1a9a704 100644 --- a/automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp +++ b/automated-tests/src/dali-toolkit/utc-Dali-ImageView.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 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. @@ -23,7 +23,7 @@ #include #include -#include +#include #include #include @@ -445,7 +445,7 @@ int UtcDaliImageViewSyncLoading(void) ImageView imageView = ImageView::New(); // Sync loading is used - syncLoadingMap[ "url" ] = gImage_600_RGB; + syncLoadingMap[ ImageVisual::Property::URL ] = gImage_600_RGB; imageView.SetProperty( ImageView::Property::IMAGE, syncLoadingMap ); // BitmapLoader is used, and the loading is started immediately even the actor is not on stage. @@ -462,9 +462,9 @@ int UtcDaliImageViewSyncLoading(void) ImageView imageView = ImageView::New( ); // Sync loading is used - syncLoadingMap[ "url" ] = gImage_34_RGBA; - syncLoadingMap[ "desiredHeight" ] = 34; - syncLoadingMap[ "desiredWidth" ] = 34; + syncLoadingMap[ ImageVisual::Property::URL ] = gImage_34_RGBA; + syncLoadingMap[ ImageVisual::Property::DESIRED_HEIGHT ] = 34; + syncLoadingMap[ ImageVisual::Property::DESIRED_WIDTH ] = 34; imageView.SetProperty( ImageView::Property::IMAGE, syncLoadingMap ); // loading is started even if the actor is offStage