Remove unused code about test application 68/140168/4 accepted/tizen/4.0/unified/20170816.011903 accepted/tizen/4.0/unified/20170816.015004 accepted/tizen/unified/20170726.135910 submit/tizen/20170726.061953 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
authorkj7.sung <kj7.sung@samsung.com>
Mon, 24 Jul 2017 05:22:36 +0000 (14:22 +0900)
committerkj7.sung <kj7.sung@samsung.com>
Tue, 25 Jul 2017 05:03:42 +0000 (14:03 +0900)
Change-Id: Ia2d7b08b6f60d281d6bdd032847d6aed3890a2ba
Signed-off-by: kj7.sung <kj7.sung@samsung.com>
AUTHORS
packaging/capi-location-manager.spec
test/CMakeLists.txt
test/capi-location-manager-test.manifest [deleted file]
test/capi-location-manager-test.xml [deleted file]
test/location_test.c

diff --git a/AUTHORS b/AUTHORS
index a6dec35..ec65c62 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,3 +1,2 @@
 Kyoungjun Sung <kj7.sung@samsung.com>
 Seechan Kim <cbible.kim@samsung.com>
-Kangho Hur <kanho.hur@samsung.com>
index a027471..834bf7e 100644 (file)
@@ -1,6 +1,6 @@
 Name: capi-location-manager
 Summary: A Location Manager library in Tizen Native API
-Version: 0.7.9
+Version: 0.7.10
 Release: 1
 Group: Location/API
 License: Apache-2.0
@@ -35,10 +35,6 @@ cp %{SOURCE1001} .
 
 %build
 
-export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
-export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
-export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
-
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \
 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} -DTZ_SYS_BIN=%{TZ_SYS_BIN} \
@@ -63,19 +59,3 @@ rm -rf %{buildroot}
 %{_includedir}/location/*.h
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/libcapi-location-manager.so
-
-
-%if 0
-%package test
-Summary:    Test application of Location Manager
-Group:      Location/Testing
-Requires: %{name} = %{version}-%{release}
-
-%description test
-Test application of Location Manager
-
-%files test
-%manifest test/capi-location-manager-test.manifest
-#%{TZ_SYS_RO_PACKAGES}/capi-location-manager-test.xml
-%{_bindir}/location_test
-%endif
index e872c6e..08261d0 100644 (file)
@@ -17,6 +17,4 @@ FOREACH(src ${sources})
        TARGET_LINK_LIBRARIES(${src_name} ${fw_name} ${${fw_test}_LDFLAGS})
 ENDFOREACH()
 
-#INSTALL(TARGETS ${src_name} DESTINATION ${TZ_SYS_SHARE}/location/)
 INSTALL(TARGETS ${src_name} DESTINATION ${TZ_SYS_BIN})
-#INSTALL(FILES ${fw_test}.xml DESTINATION ${TZ_SYS_RO_PACKAGES}/)
diff --git a/test/capi-location-manager-test.manifest b/test/capi-location-manager-test.manifest
deleted file mode 100755 (executable)
index 97e8c31..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<manifest>
-       <request>
-               <domain name="_"/>
-       </request>
-</manifest>
diff --git a/test/capi-location-manager-test.xml b/test/capi-location-manager-test.xml
deleted file mode 100644 (file)
index 8013225..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" package="capi-location-manager-test" version="1.0.0" install-location="internal-only">
-       <label>Location</label>
-       <author email="kj7.sung@samsung.com" href="www.samsung.com">Kyoungjun Sung</author>
-       <author email="cbible.kim@samsung.com" href="www.samsung.com">Seechan Kim</author>
-       <author email="youngae.kang@samsung.com" href="www.samsung.com">Youngae kang</author>
-       <description>Location Manager Test</description>
-       <privileges>
-               <privilege>http://tizen.org/privilege/location</privilege>
-               <privilege>http://tizen.org/privilege/location.enable</privilege>
-       </privileges>
-       <ui-application appid="capi-location-manager-test" exec=${TZ_SYS_SHARE}"/location/location-test" nodisplay="true" multiple="false" type="capp" taskmanage="false" launch_mode="single">
-               <label>Location Manager Test</label>
-       </ui-application>
-</manifest>
index 1d884e5..04d8210 100755 (executable)
@@ -369,10 +369,10 @@ static void _setting_cb(location_method_e method, bool enable, void *user_data)
 void _satellite_updated_cb(int num_of_active, int num_of_inview, time_t timestamp, void *user_data)
 {
 /*     fprintf(stderr, "-------------------------- satellite updated --------------------------\n"); */
-       fprintf(stderr, "--- num_of_active[%d] num_of_inview[%d] timestamp[%ld]\n", num_of_active, num_of_inview, timestamp);
+       fprintf(stderr, "--- active[%d] inview[%d] timestamp[%ld]\n", num_of_active, num_of_inview, timestamp);
 
        repeat_count++;
-       if (repeat_count > 60)
+       if (repeat_count > 120)
                test_timer = g_timeout_add_seconds(1, wait_test, NULL);
 }