X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test%2Flocation_test.c;h=25dcc3b5978e6b6eff27cd01fee5ab194bb91ada;hb=b0c7210aab7d8758a301a7e05765d4cb2010e14b;hp=78b9e9de3bb66e6335612361e3afdd5ff4f20681;hpb=7af69a7fb7a1cd781056631ad7b0fbae2a3dfa5e;p=platform%2Fcore%2Fapi%2Flocation-manager.git diff --git a/test/location_test.c b/test/location_test.c index 78b9e9d..25dcc3b 100755 --- a/test/location_test.c +++ b/test/location_test.c @@ -566,7 +566,7 @@ static int location_test() location_coord_list[2].latitude = 30; location_coord_list[2].longitude = 10; - //Checking coordinates in location boundary + /* Checking coordinates in location boundary */ location_coords_s testLocationCoordinates; testLocationCoordinates.latitude = 20; testLocationCoordinates.longitude = 12; @@ -574,7 +574,7 @@ static int location_test() fprintf(stderr, "location_bounds_create_polygon: %d\n", nRet); - bIsContained = location_bounds_contains_coordinates(hPolyLocationBound, testLocationCoordinates);// Target API + bIsContained = location_bounds_contains_coordinates(hPolyLocationBound, testLocationCoordinates); fprintf(stderr, "bIsContained: %d\n", bIsContained); location_bounds_destroy(hPolyLocationBound); @@ -603,8 +603,7 @@ static int location_test() ret = location_manager_set_position_updated_cb(manager, _position_updated_cb, interval, (void *)manager); fprintf(stderr, "set_position_updated_cb: %d\n", ret); } - } - else { + } else { test_timer = g_timeout_add_seconds(1, wait_test, NULL); }