projects
/
framework
/
location
/
libslp-location.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tizen beta release
[framework/location/libslp-location.git]
/
TC
/
unit
/
stc_gps_satellite.c
diff --git
a/TC/unit/stc_gps_satellite.c
b/TC/unit/stc_gps_satellite.c
index
86c6240
..
780d5b3
100644
(file)
--- a/
TC/unit/stc_gps_satellite.c
+++ b/
TC/unit/stc_gps_satellite.c
@@
-123,8
+123,10
@@
_get_satellite (GObject *self,
gpointer userdata)
{
LocationSatellite *sat = NULL;
gpointer userdata)
{
LocationSatellite *sat = NULL;
- g_object_get (loc, "satellite", &sat, NULL);
- if (sat) {
+ int ret = 0;
+
+ ret = location_get_satellite (loc, &sat);
+ if (ret == LOCATION_ERROR_NONE) {
tet_result(TET_PASS);
location_satellite_free (sat);
} else tet_result(TET_FAIL);
tet_result(TET_PASS);
location_satellite_free (sat);
} else tet_result(TET_FAIL);