From: Kangho Hur Date: Wed, 22 Aug 2012 02:54:49 +0000 (+0900) Subject: Remove unnecessary files X-Git-Tag: 2.0_alpha^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=platform%2Fcore%2Fapi%2Fradio.git Remove unnecessary files --- diff --git a/TC/_export_env.sh b/TC/_export_env.sh deleted file mode 100755 index 72a11ec..0000000 --- a/TC/_export_env.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -. ./config -export TET_INSTALL_PATH=$TET_INSTALL_HOST_PATH # tetware root path -export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target # tetware target path -export PATH=$TET_TARGET_PATH/bin:$PATH -export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH -export TET_ROOT=$TET_TARGET_PATH diff --git a/TC/_export_target_env.sh b/TC/_export_target_env.sh deleted file mode 100755 index 5ddaa53..0000000 --- a/TC/_export_target_env.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -. ./config -export TET_INSTALL_PATH=$TET_INSTALL_TARGET_PATH # path to path -export TET_TARGET_PATH=$TET_INSTALL_PATH/tetware-target -export PATH=$TET_TARGET_PATH/bin:$PATH -export LD_LIBRARY_PATH=$TET_TARGET_PATH/lib/tet3:$LD_LIBRARY_PATH -export TET_ROOT=$TET_TARGET_PATH diff --git a/TC/build.sh b/TC/build.sh deleted file mode 100755 index 72aad6c..0000000 --- a/TC/build.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -. ./_export_env.sh # setting environment variables - -export TET_SUITE_ROOT=`pwd` -FILE_NAME_EXTENSION=`date +%s` - -RESULT_DIR=results -HTML_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.html -JOURNAL_RESULT=$RESULT_DIR/build-tar-result-$FILE_NAME_EXTENSION.journal - -mkdir -p $RESULT_DIR - -tcc -c -p ./ -tcc -b -j $JOURNAL_RESULT -p ./ -grw -c 7 -f chtml -o $HTML_RESULT $JOURNAL_RESULT diff --git a/TC/clean.sh b/TC/clean.sh deleted file mode 100755 index 29743e0..0000000 --- a/TC/clean.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -. ./_export_env.sh # setting environment variables - -export TET_SUITE_ROOT=`pwd` -RESULT_DIR=results - -tcc -c -p ./ # executing tcc, with clean option (-c) -rm -r $RESULT_DIR -rm -r tet_tmp_dir -rm testcase/tet_captured diff --git a/TC/config b/TC/config deleted file mode 100644 index 04684f0..0000000 --- a/TC/config +++ /dev/null @@ -1,2 +0,0 @@ -TET_INSTALL_HOST_PATH=/home/rookiejava/dts_tool/TETware -TET_INSTALL_TARGET_PATH=/mnt/nfs/dts_tool/TETware diff --git a/TC/execute.sh b/TC/execute.sh deleted file mode 100755 index a4f6095..0000000 --- a/TC/execute.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -. ./_export_target_env.sh # setting environment variables - -export TET_SUITE_ROOT=`pwd` -FILE_NAME_EXTENSION=`date +%s` - -RESULT_DIR=results -HTML_RESULT=$RESULT_DIR/exec-tar-result-$FILE_NAME_EXTENSION.html -JOURNAL_RESULT=$RESULT_DIR/exec-tar-result-$FILE_NAME_EXTENSION.journal - -mkdir -p $RESULT_DIR - -tcc -e -j $JOURNAL_RESULT -p ./ -grw -c 3 -f chtml -o $HTML_RESULT $JOURNAL_RESULT diff --git a/TC/testcase/Makefile b/TC/testcase/Makefile deleted file mode 100755 index eb04088..0000000 --- a/TC/testcase/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -CC ?= gcc - -C_FILES = $(shell ls *.c) - -PKGS = capi-media-radio gthread-2.0 - -LDFLAGS = `pkg-config --libs $(PKGS)` -LDFLAGS += $(TET_ROOT)/lib/tet3/tcm_s.o -LDFLAGS += -L$(TET_ROOT)/lib/tet3 -ltcm_s -LDFLAGS += -L$(TET_ROOT)/lib/tet3 -lapi_s - -CFLAGS = -I. `pkg-config --cflags $(PKGS)` -CFLAGS += -I$(TET_ROOT)/inc/tet3 -CFLAGS += -Wall - -#TARGETS = $(C_FILES:%.c=tc-%) -TCS := $(shell ls -1 *.c | cut -d. -f1) - -all: $(TCS) - -%: %.c - $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) - -clean: - rm -f $(TCS) diff --git a/TC/testcase/tslist b/TC/testcase/tslist deleted file mode 100644 index 34c1a92..0000000 --- a/TC/testcase/tslist +++ /dev/null @@ -1 +0,0 @@ -/testcase/utc_media_radio diff --git a/TC/testcase/utc_media_radio b/TC/testcase/utc_media_radio deleted file mode 100755 index 0c02690..0000000 Binary files a/TC/testcase/utc_media_radio and /dev/null differ diff --git a/TC/testcase/utc_media_radio.c b/TC/testcase/utc_media_radio.c deleted file mode 100644 index 21c40ca..0000000 --- a/TC/testcase/utc_media_radio.c +++ /dev/null @@ -1,704 +0,0 @@ -/* -* Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ - -#include -#include -#include - - -enum { - POSITIVE_TC_IDX = 0x01, - NEGATIVE_TC_IDX, -}; - -//keeping ret and radio global, since using startup function for all -radio_h radio; -int sRet; - -static void startup(void); -static void cleanup(void); - -void (*tet_startup)(void) = startup; -void (*tet_cleanup)(void) = cleanup; - -static void utc_media_radio_create_p(void); -static void utc_media_radio_create_n(void); -static void utc_media_radio_destroy_p(void); -static void utc_media_radio_destroy_n(void); -static void utc_media_radio_get_state_p(void); -static void utc_media_radio_get_state_n(void); -static void utc_media_radio_start_p(void); -static void utc_media_radio_start_n(void); -static void utc_media_radio_stop_p(void); -static void utc_media_radio_stop_n(void); -static void utc_media_radio_seek_up_p(void); -static void utc_media_radio_seek_up_n(void); -static void utc_media_radio_seek_down_p(void); -static void utc_media_radio_seek_down_n(void); -static void utc_media_radio_set_frequency_p(void); -static void utc_media_radio_set_frequency_n(void); -static void utc_media_radio_get_frequency_p(void); -static void utc_media_radio_get_frequency_n(void); -static void utc_media_radio_scan_start_p(void); -static void utc_media_radio_scan_start_n(void); -static void utc_media_radio_scan_stop_p(void); -static void utc_media_radio_scan_stop_n(void); -static void utc_media_radio_set_mute_p(void); -static void utc_media_radio_set_mute_n(void); -static void utc_media_radio_is_muted_p(void); -static void utc_media_radio_is_muted_n(void); -static void utc_media_radio_set_scan_completed_callback_p(void); -static void utc_media_radio_set_scan_completed_callback_n(void); -static void utc_media_radio_unset_scan_completed_callback_p(void); -static void utc_media_radio_unset_scan_completed_callback_n(void); -static void utc_media_radio_set_interrupted_callback_p(void); -static void utc_media_radio_set_interrupted_callback_n(void); -static void utc_media_radio_unset_interrupted_callback_p(void); -static void utc_media_radio_unset_interrupted_callback_n(void); - -struct tet_testlist tet_testlist[] = { - { utc_media_radio_create_p , POSITIVE_TC_IDX }, - { utc_media_radio_create_n , NEGATIVE_TC_IDX }, - { utc_media_radio_destroy_p , POSITIVE_TC_IDX }, - { utc_media_radio_destroy_n , NEGATIVE_TC_IDX }, - { utc_media_radio_get_state_p , POSITIVE_TC_IDX }, - { utc_media_radio_get_state_n , NEGATIVE_TC_IDX }, - { utc_media_radio_start_p , POSITIVE_TC_IDX }, - { utc_media_radio_start_n , NEGATIVE_TC_IDX }, - { utc_media_radio_stop_p , POSITIVE_TC_IDX }, - { utc_media_radio_stop_n , NEGATIVE_TC_IDX }, - { utc_media_radio_seek_up_p , POSITIVE_TC_IDX }, - { utc_media_radio_seek_up_n , NEGATIVE_TC_IDX }, - { utc_media_radio_seek_down_p , POSITIVE_TC_IDX }, - { utc_media_radio_seek_down_n , NEGATIVE_TC_IDX }, - { utc_media_radio_set_frequency_p , POSITIVE_TC_IDX }, - { utc_media_radio_set_frequency_n , NEGATIVE_TC_IDX }, - { utc_media_radio_get_frequency_p , POSITIVE_TC_IDX }, - { utc_media_radio_get_frequency_n , NEGATIVE_TC_IDX }, - { utc_media_radio_scan_start_p , POSITIVE_TC_IDX }, - { utc_media_radio_scan_start_n , NEGATIVE_TC_IDX }, - { utc_media_radio_scan_stop_p , POSITIVE_TC_IDX }, - { utc_media_radio_scan_stop_n , NEGATIVE_TC_IDX }, - { utc_media_radio_set_mute_p , POSITIVE_TC_IDX }, - { utc_media_radio_set_mute_n , NEGATIVE_TC_IDX }, - { utc_media_radio_is_muted_p , POSITIVE_TC_IDX }, - { utc_media_radio_is_muted_n, NEGATIVE_TC_IDX }, - { utc_media_radio_set_scan_completed_callback_p , POSITIVE_TC_IDX }, - { utc_media_radio_set_scan_completed_callback_n , NEGATIVE_TC_IDX }, - { utc_media_radio_unset_scan_completed_callback_p , POSITIVE_TC_IDX }, - { utc_media_radio_unset_scan_completed_callback_n , NEGATIVE_TC_IDX }, - { utc_media_radio_set_interrupted_callback_p , POSITIVE_TC_IDX }, - { utc_media_radio_set_interrupted_callback_n , NEGATIVE_TC_IDX }, - { utc_media_radio_unset_interrupted_callback_p , POSITIVE_TC_IDX }, - { utc_media_radio_unset_interrupted_callback_n , NEGATIVE_TC_IDX }, - { NULL, 0 }, -}; - -static GMainLoop *g_mainloop = NULL; -static GThread *event_thread; - -gpointer GmainThread(gpointer data){ - g_mainloop = g_main_loop_new (NULL, 0); - g_main_loop_run (g_mainloop); - - return NULL; -} - -static void radio_completed_cb(int frequency, void *data) -{ - dts_message("RadiorEvent", "Radio scan info : %d!!!", frequency); -} - -static void radio_interrupt_cb(radio_interrupted_code_e code, void *data) -{ - dts_message("RadiorEvent", "Radio Interrupted!!!"); -} - -static void startup(void) -{ - if( !g_thread_supported() ) - { - g_thread_init(NULL); - } - - GError *gerr = NULL; - event_thread = g_thread_create(GmainThread, NULL, 1, &gerr); - - if ((sRet = radio_create(&radio)) != RADIO_ERROR_NONE) - { - dts_fail("startup failed"); - } -} - -static void cleanup(void) -{ - if ((sRet = radio_destroy(radio)) != RADIO_ERROR_NONE) - { - dts_fail("cleanup failed"); - } - g_main_loop_quit (g_mainloop); - g_thread_join(event_thread); -} - -static void utc_media_radio_create_p(void) -{ - char* api_name = "utc_media_radio_create_p"; - radio_h radio2; - int ret = radio_create(&radio2); - if (ret != RADIO_ERROR_NONE) - { - dts_message(api_name, "Call log: %d", ret); - dts_fail(api_name); - } - else - { - radio_destroy(radio2); - dts_pass(api_name); - } -} - -static void utc_media_radio_create_n(void) -{ - char* api_name = "utc_media_radio_create_n"; - int ret = radio_create(NULL); - if (ret == RADIO_ERROR_NONE) - { - dts_message(api_name, "Call log: %d", ret); - dts_fail(api_name); - } - else - { - dts_pass(api_name); - } -} - -static void utc_media_radio_destroy_p(void) -{ - char* api_name = "utc_media_radio_destroy_p"; - radio_h radio2; - radio_create(&radio2); - int ret; - ret = radio_destroy(radio2); - if (ret != RADIO_ERROR_NONE) - { - dts_message(api_name, "Call log: %d", ret); - dts_fail(api_name); - } - else - { - dts_pass(api_name); - } -} - -static void utc_media_radio_destroy_n(void) -{ - char* api_name = "utc_media_radio_destroy_n"; - int ret = radio_destroy(NULL); - if (ret == RADIO_ERROR_NONE) - { - dts_message(api_name, "Call log: %d", ret); - dts_fail(api_name); - } - else - { - dts_pass(api_name); - } -} - -static void utc_media_radio_get_state_p(void) -{ - char* api_name = "utc_media_radio_get_state_p"; - int ret; - radio_state_e state; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_get_state(radio, &state)) == RADIO_ERROR_NONE) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_get_state_n(void) -{ - char* api_name = "utc_media_radio_get_state_n"; - int ret; - radio_state_e state; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_get_state(NULL, &state)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_start_p(void) -{ - char* api_name = "utc_media_radio_start_p"; - int ret; - - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_start(radio)) == RADIO_ERROR_NONE) - { - radio_stop(radio); - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_start_n(void) -{ - char* api_name = "utc_media_radio_start_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_start(NULL)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_stop_p(void) -{ - char* api_name = "utc_media_radio_stop_p"; - int ret; - - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_start(radio)) == RADIO_ERROR_NONE) - { - if((ret = radio_stop(radio)) == RADIO_ERROR_NONE) - { - dts_pass(api_name); - } - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_stop_n(void) -{ - char* api_name = "utc_media_radio_stop_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_stop(NULL)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_seek_up_p(void) -{ - char* api_name = "utc_media_radio_seek_up_p"; - int ret; - - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_start(radio)) == RADIO_ERROR_NONE) - { - if((ret = radio_seek_up(radio,NULL,NULL)) == RADIO_ERROR_NONE) - { - radio_stop(radio); - dts_pass(api_name); - } - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_seek_up_n(void) -{ - char* api_name = "utc_media_radio_seek_up_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_seek_up(radio,NULL,NULL)) == RADIO_ERROR_INVALID_STATE) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_seek_down_p(void) -{ - char* api_name = "utc_media_radio_seek_down_p"; - int ret; - - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_start(radio)) == RADIO_ERROR_NONE) - { - if((ret = radio_seek_down(radio,NULL,NULL)) == RADIO_ERROR_NONE) - { - radio_stop(radio); - dts_pass(api_name); - } - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_seek_down_n(void) -{ - char* api_name = "utc_media_radio_seek_down_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_seek_down(radio,NULL,NULL)) == RADIO_ERROR_INVALID_STATE) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_set_frequency_p(void) -{ - char* api_name = "utc_media_radio_set_frequency_p"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_start(radio)) == RADIO_ERROR_NONE) - { - if((ret = radio_set_frequency(radio, 91900)) == RADIO_ERROR_NONE) - { - radio_stop(radio); - dts_pass(api_name); - } - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_set_frequency_n(void) -{ - char* api_name = "utc_media_radio_set_frequency_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if((ret = radio_set_frequency(radio, 100)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_get_frequency_p(void) -{ - char* api_name = "utc_media_radio_get_frequency_p"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_start(radio)) == RADIO_ERROR_NONE) - { - int frequency; - if((ret = radio_get_frequency(radio, &frequency)) == RADIO_ERROR_NONE) - { - radio_stop(radio); - dts_pass(api_name); - } - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_get_frequency_n(void) -{ - char* api_name = "utc_media_radio_get_frequency_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if((ret = radio_get_frequency(NULL, NULL)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_scan_start_p(void) -{ - char* api_name = "utc_media_radio_scan_start_p"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_scan_start(radio,NULL,NULL)) == RADIO_ERROR_NONE) - { - radio_scan_stop(radio,NULL,NULL); - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_scan_start_n(void) -{ - char* api_name = "utc_media_radio_scan_start_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_scan_start(NULL,NULL,NULL)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_scan_stop_p(void) -{ - char* api_name = "utc_media_radio_scan_stop_p"; - int ret; - - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_scan_start(radio,NULL,NULL)) == RADIO_ERROR_NONE) - { - if((ret = radio_scan_stop(radio,NULL,NULL)) == RADIO_ERROR_NONE) - { - dts_pass(api_name); - } - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_scan_stop_n(void) -{ - char* api_name = "utc_media_radio_scan_stop_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_scan_stop(NULL,NULL,NULL)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_set_mute_p(void) -{ - char* api_name = "utc_media_radio_set_mute_p"; - int ret; - bool mute = TRUE; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_set_mute(radio, mute)) == RADIO_ERROR_NONE) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_set_mute_n(void) -{ - char* api_name = "utc_media_radio_set_mute_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_set_mute(NULL,TRUE)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_is_muted_p(void) -{ - char* api_name = "utc_media_radio_is_muted_p"; - int ret; - bool mute; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_is_muted(radio,&mute)) == RADIO_ERROR_NONE) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_is_muted_n(void) -{ - char* api_name = "utc_media_radio_is_muted_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_is_muted(NULL,NULL)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_set_scan_completed_callback_p(void) -{ - char* api_name = "utc_media_radio_set_scan_completed_callback_p"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_set_scan_completed_cb(radio, radio_completed_cb, NULL)) == RADIO_ERROR_NONE) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_set_scan_completed_callback_n(void) -{ - char* api_name = "utc_media_radio_set_scan_completed_callback_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_set_scan_completed_cb(radio, NULL, NULL)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_unset_scan_completed_callback_p(void) -{ - char* api_name = "utc_media_radio_unset_scan_completed_callback_p"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_unset_scan_completed_cb(radio)) == RADIO_ERROR_NONE) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_unset_scan_completed_callback_n(void) -{ - char* api_name = "utc_media_radio_unset_scan_completed_callback_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_unset_scan_completed_cb(NULL)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_set_interrupted_callback_p(void) -{ - char* api_name = "utc_media_radio_set_interrupted_callback_p"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_set_interrupted_cb(radio, radio_interrupt_cb, NULL)) == RADIO_ERROR_NONE) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_set_interrupted_callback_n(void) -{ - char* api_name = "utc_media_radio_set_interrupted_callback_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_set_interrupted_cb(radio, NULL, NULL)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_unset_interrupted_callback_p(void) -{ - char* api_name = "utc_media_radio_unset_interrupted_callback_p"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_unset_interrupted_cb(radio)) == RADIO_ERROR_NONE) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - -static void utc_media_radio_unset_interrupted_callback_n(void) -{ - char* api_name = "utc_media_radio_unset_interrupted_callback_n"; - int ret; - if (sRet == RADIO_ERROR_NONE) - { - if ((ret = radio_unset_interrupted_cb(NULL)) == RADIO_ERROR_INVALID_PARAMETER) - { - dts_pass(api_name); - } - } - dts_message(api_name, "Call log: %d %d", sRet, ret); - dts_fail(api_name); -} - diff --git a/TC/tet_scen b/TC/tet_scen deleted file mode 100755 index 03f029a..0000000 --- a/TC/tet_scen +++ /dev/null @@ -1,7 +0,0 @@ -all - ^TEST -##### Scenarios for TEST ##### - -# Test scenario -TEST - :include:/testcase/tslist diff --git a/TC/tetbuild.cfg b/TC/tetbuild.cfg deleted file mode 100644 index f7eda55..0000000 --- a/TC/tetbuild.cfg +++ /dev/null @@ -1,5 +0,0 @@ -TET_OUTPUT_CAPTURE=True # capture option for build operation checking -TET_BUILD_TOOL=make # build with using make command -TET_BUILD_FILE=-f Makefile # execution file (Makefile) for build -TET_API_COMPLIANT=True # use TET API in Test Case ? -TET_PASS_TC_NAME=True # report passed TC name in Journal file? diff --git a/TC/tetclean.cfg b/TC/tetclean.cfg deleted file mode 100644 index 02d7030..0000000 --- a/TC/tetclean.cfg +++ /dev/null @@ -1,5 +0,0 @@ -TET_OUTPUT_CAPTURE=True # capture option -TET_CLEAN_TOOL= make clean # clean tool -TET_CLEAN_FILE= Makefile # file for clean -TET_API_COMPLIANT=True # TET API useage -TET_PASS_TC_NAME=True # showing name , passed TC diff --git a/TC/tetexec.cfg b/TC/tetexec.cfg deleted file mode 100644 index ef3e452..0000000 --- a/TC/tetexec.cfg +++ /dev/null @@ -1,5 +0,0 @@ -TET_OUTPUT_CAPTURE=True # capturing execution or not -TET_EXEC_TOOL= # ex) exec : execution tool set up/ Optional -TET_EXEC_FILE= # ex) exectool : execution file/ Optional -TET_API_COMPLIANT=True # Test case or Tool usesTET API? -TET_PASS_TC_NAME=True # showing Passed TC name ? diff --git a/debian/README b/debian/README deleted file mode 100644 index e69de29..0000000 diff --git a/debian/capi-media-radio-dev.install b/debian/capi-media-radio-dev.install deleted file mode 100644 index 761a28b..0000000 --- a/debian/capi-media-radio-dev.install +++ /dev/null @@ -1,4 +0,0 @@ -/usr/include/* -/usr/include/*/* -/usr/lib/pkgconfig/*.pc - diff --git a/debian/capi-media-radio-dev.postinst b/debian/capi-media-radio-dev.postinst deleted file mode 100644 index 1a24852..0000000 --- a/debian/capi-media-radio-dev.postinst +++ /dev/null @@ -1 +0,0 @@ -#!/bin/sh diff --git a/debian/capi-media-radio.install b/debian/capi-media-radio.install deleted file mode 100644 index 4a755a4..0000000 --- a/debian/capi-media-radio.install +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/lib*.so* diff --git a/debian/capi-media-radio.postinst b/debian/capi-media-radio.postinst deleted file mode 100644 index 1a24852..0000000 --- a/debian/capi-media-radio.postinst +++ /dev/null @@ -1 +0,0 @@ -#!/bin/sh diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index d7b112c..0000000 --- a/debian/changelog +++ /dev/null @@ -1,71 +0,0 @@ -capi-media-radio (0.1.0-9) unstable; urgency=low - - * fix build dependancy - * Git: slp-source.sec.samsung.net:slp/api/radio - * Tag: capi-media-radio_0.1.0-9 - - -- Kangho Hur Mon, 30 Jul 2012 15:52:08 +0900 - -capi-media-radio (0.1.0-8) unstable; urgency=low - - * Support to get signal strength - * Git: slp-source.sec.samsung.net:slp/api/radio - * Tag: capi-media-radio_0.1.0-8 - - -- Kangho Hur Thu, 08 Mar 2012 15:49:04 +0900 - -capi-media-radio (0.1.0-7) unstable; urgency=low - - * Use 'static' to local function which is limited to the current source file. - * Git: slp-source.sec.samsung.net:slp/api/radio - * Tag: capi-media-radio_0.1.0-7 - - -- Kangho Hur Tue, 21 Feb 2012 10:09:32 +0900 - -capi-media-radio (0.1.0-6) unstable; urgency=low - - * Apply the SOVERSION - * Git: slp-source.sec.samsung.net:slp/api/radio - * Tag: capi-media-radio_0.1.0-6 - - -- Kangho Hur Tue, 14 Feb 2012 17:14:04 +0900 - -capi-media-radio (0.1.0-5) unstable; urgency=low - - * Apply the change of frequency unit - * Git: slp-source.sec.samsung.net:slp/api/radio - * Tag: capi-media-radio_0.1.0-5 - - -- Kangho Hur Mon, 16 Jan 2012 20:24:09 +0900 - -capi-media-radio (0.1.0-4) unstable; urgency=low - - * Changes the value of ERROR_NONE - * Git: slp-source.sec.samsung.net:slp/api/radio - * Tag: capi-media-radio_0.1.0-4 - - -- Kangho Hur Mon, 05 Dec 2011 11:27:59 +0900 - -capi-media-radio (0.1.0-3) unstable; urgency=low - - * Remove the unneccesary error code - * Git: slp-source.sec.samsung.net:slp/api/radio - * Tag: capi-media-radio_0.1.0-3 - - -- Kangho Hur Wed, 30 Nov 2011 15:38:16 +0900 - -capi-media-radio (0.1.0-2) unstable; urgency=low - - * Apply the Tizen - * Git: slp-source.sec.samsung.net:slp/api/radio - * Tag: capi-media-radio_0.1.0-2 - - -- Kangho Hur Wed, 23 Nov 2011 15:46:33 +0900 - -capi-media-radio (0.1.0-1) unstable; urgency=low - - * Initial Release - * Git: slp-source.sec.samsung.net:slp/api/radio - * Tag: capi-media-radio_0.1.0-1 - - -- Kangho Hur Wed, 09 Nov 2011 13:50:55 +0900 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7ed6ff8..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control b/debian/control deleted file mode 100644 index e5523d9..0000000 --- a/debian/control +++ /dev/null @@ -1,22 +0,0 @@ - -Source: capi-media-radio -Section: libs -Priority: extra -Maintainer: Kangho Hur , Seungkeun Lee -Build-Depends: debhelper (>= 5), dlog-dev, libmm-radio-dev, capi-base-common-dev - -Package: capi-media-radio -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: A Radio library in Tizen Native API - -Package: capi-media-radio-dev -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, capi-media-radio (= ${Source-Version}), capi-base-common-dev -Description: A Radio library in Tizen Native API (DEV) - -Package: capi-media-radio-dbg -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, capi-media-radio (= ${Source-Version}) -Description: A Radio library in Tizen Native API (DBG) - diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 82269eb..0000000 --- a/debian/rules +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/make -f - -CFLAGS = -Wall -g - -FULLVER ?= $(shell dpkg-parsechangelog | grep Version: | cut -d ' ' -f 2 | cut -d '-' -f 1) -MAJORVER ?= $(shell echo $(FULLVER) | cut -d '.' -f 1) - -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif -CMAKE_ROOT_DIR ?= $(CURDIR) -CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp - -configure: configure-stamp -configure-stamp: - dh_testdir - mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake .. -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER} - touch configure-stamp - - -build: build-stamp -build-stamp: configure-stamp - dh_testdir - cd $(CMAKE_BUILD_DIR) && $(MAKE) - touch $@ - -clean: - cd $(CMAKE_ROOT_DIR) - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - rm -f `find . -name *.pc` - rm -rf $(CMAKE_BUILD_DIR) - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - cd $(CMAKE_BUILD_DIR) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install - -binary-indep: build install - -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_install --sourcedir=debian/tmp - dh_installman - dh_link - dh_strip --dbg-package=capi-media-radio-dbg - dh_fixperms - dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure -