[UTC][application][Non-ACR][change return value to fix TC]
authorSukHyung, Kang <shine.kang@samsung.com>
Wed, 31 Aug 2016 05:10:52 +0000 (14:10 +0900)
committerSukHyung, Kang <shine.kang@samsung.com>
Thu, 1 Sep 2016 01:33:33 +0000 (10:33 +0900)
Change-Id: Iaf25c13e7092a75ce65677435144085f572ebbe3
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
packaging/utc/core-application-tests.xml
src/utc/application/utc_app.c

index bfa61f5..4d94b71 100755 (executable)
@@ -13,5 +13,6 @@
                <privilege>http://tizen.org/privilege/message.read</privilege>
                <privilege>http://tizen.org/privilege/display</privilege>
                <privilege>http://tizen.org/privilege/network.get</privilege>
+               <privilege>http://tizen.org/privilege/appdir.shareddata</privilege>
        </privileges>
 </manifest>
index b7b3cca..acca5b4 100755 (executable)
@@ -285,7 +285,6 @@ int utc_application_app_get_external_shared_data_path_p(void)
 }
 
 /**
- * @deprecated          Deprecated since 3.0.
  * @testcase           utc_application_app_get_shared_data_path_p
  * @since_tizen                2.3
  * @type               Positive
@@ -296,8 +295,8 @@ int utc_application_app_get_external_shared_data_path_p(void)
 int utc_application_app_get_shared_data_path_p(void)
 {
        char *path = app_get_shared_data_path();
-       assert_with_exit(path == NULL);
-       assert_with_exit(get_last_result() == APP_ERROR_NOT_SUPPORTED);
+       assert_with_exit(path != NULL);
+       assert_with_exit(get_last_result() == APP_ERROR_NONE);
        free(path);
        normal_exit(0);