[ITC][location-manager][ACR-668][Removed testcase for deprecated API]
authorShilpa Jindal <shilpa.j@samsung.com>
Fri, 17 Jun 2016 04:37:39 +0000 (10:07 +0530)
committerAmritanshu Pandia <a.pandia1@samsung.com>
Mon, 20 Jun 2016 12:45:14 +0000 (05:45 -0700)
Change-Id: Id6f8ac0a8f3ec4bcb28e3addae5c50d6d9b7ab32
Signed-off-by: Shilpa Jindal <shilpa.j@samsung.com>
src/itc/location-manager/ITs-location-manager.c
src/itc/location-manager/tct-location-manager-native_mobile.h
src/itc/location-manager/tct-location-manager-native_wearable.h

index 88be1c3..d135e07 100755 (executable)
@@ -564,42 +564,6 @@ int ITc_location_manager_set_unset_service_state_changed_cb_p(void)
        return 0;
 }
 
-//& purpose: Gets the current application's location accessibility status.
-//& type: auto
-
-/**
-* @testcase                    ITc_location_manager_get_accessibility_state_p
-* @since_tizen                 2.3
-* @author              SRID(sameer.g1)
-* @reviewer            SRID(gupta.sanjay)
-* @type                                auto 
-* @description                 Gets the current application's location accessibility status.
-* @scenario                            Create manager\n
-*                                              Get the current application's location accessibility status\n
-*                                              Destroy manager
-* @apicovered                  location_manager_get_accessibility_state
-* @passcase                            When location_manager_get_accessibility_state is successful
-* @failcase                            If target API fails or any precondition API fails
-* @precondition                        None
-* @postcondition               None
-*/
-int ITc_location_manager_get_accessibility_state_p(void)
-{
-       START_TEST_MANAGER;
-
-       location_accessibility_state_e  eState;
-
-       // Target API
-       location_error_e nRet = location_manager_get_accessibility_state(&eState);
-       PRINT_RESULT(LOCATIONS_ERROR_NONE, nRet, "location_manager_get_accessibility_state", LocationManagerGetError(nRet));
-       if(strcmp(LocationManagerGetAccessiblilityState(eState),"Unknown") == 0)
-       {
-               FPRINTF("[Line : %d][%s] location_manager_get_accessibility_state failed, error = state returned is Unknown\\n", __LINE__, API_NAMESPACE);
-               return 1;
-       }
-       return 0;
-}
-
 //& purpose: Gets the current accuracy information
 //& type: auto
 
index ad1e0d1..3a9ed3b 100755 (executable)
@@ -44,7 +44,7 @@ extern int ITc_gps_status_set_unset_satellite_updated_cb_p(void);
 extern int ITc_location_manager_start_stop_p(void);
 extern int ITc_location_manager_create_destroy_p(void);
 extern int ITc_location_manager_set_unset_service_state_changed_cb_p(void);
-extern int ITc_location_manager_get_accessibility_state_p(void);
+
 extern int ITc_location_manager_get_accuracy_p(void);
 extern int ITc_location_manager_get_distance_p(void);
 extern int ITc_location_manager_get_last_accuracy_p(void);
@@ -88,8 +88,7 @@ testcase tc_array[] = {
     {"ITc_gps_status_set_unset_satellite_updated_cb_p", ITc_gps_status_set_unset_satellite_updated_cb_p, ITs_location_gps_status_startup, ITs_location_gps_status_cleanup},
     {"ITc_location_manager_start_stop_p", ITc_location_manager_start_stop_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
     {"ITc_location_manager_create_destroy_p", ITc_location_manager_create_destroy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
-    {"ITc_location_manager_set_unset_service_state_changed_cb_p", ITc_location_manager_set_unset_service_state_changed_cb_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
-    {"ITc_location_manager_get_accessibility_state_p", ITc_location_manager_get_accessibility_state_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
+    {"ITc_location_manager_set_unset_service_state_changed_cb_p", ITc_location_manager_set_unset_service_state_changed_cb_p, ITs_location_manager_startup, ITs_location_manager_cleanup},   
     {"ITc_location_manager_get_accuracy_p", ITc_location_manager_get_accuracy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
     {"ITc_location_manager_get_distance_p", ITc_location_manager_get_distance_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
     {"ITc_location_manager_get_last_accuracy_p", ITc_location_manager_get_last_accuracy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
index ad1e0d1..1358228 100755 (executable)
@@ -44,7 +44,6 @@ extern int ITc_gps_status_set_unset_satellite_updated_cb_p(void);
 extern int ITc_location_manager_start_stop_p(void);
 extern int ITc_location_manager_create_destroy_p(void);
 extern int ITc_location_manager_set_unset_service_state_changed_cb_p(void);
-extern int ITc_location_manager_get_accessibility_state_p(void);
 extern int ITc_location_manager_get_accuracy_p(void);
 extern int ITc_location_manager_get_distance_p(void);
 extern int ITc_location_manager_get_last_accuracy_p(void);
@@ -89,7 +88,6 @@ testcase tc_array[] = {
     {"ITc_location_manager_start_stop_p", ITc_location_manager_start_stop_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
     {"ITc_location_manager_create_destroy_p", ITc_location_manager_create_destroy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
     {"ITc_location_manager_set_unset_service_state_changed_cb_p", ITc_location_manager_set_unset_service_state_changed_cb_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
-    {"ITc_location_manager_get_accessibility_state_p", ITc_location_manager_get_accessibility_state_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
     {"ITc_location_manager_get_accuracy_p", ITc_location_manager_get_accuracy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
     {"ITc_location_manager_get_distance_p", ITc_location_manager_get_distance_p, ITs_location_manager_startup, ITs_location_manager_cleanup},
     {"ITc_location_manager_get_last_accuracy_p", ITc_location_manager_get_last_accuracy_p, ITs_location_manager_startup, ITs_location_manager_cleanup},