remove unused test codes 86/10886/1 accepted/tizen/20131016.045249 accepted/tizen/20131016.154747 accepted/tizen/20131112.015534 accepted/tizen_ivi_stable/20131116.101707 submit/tizen/20131016.045246 submit/tizen_ivi_stable/20131116.100109
authorYoungjae Shin <yj99.shin@samsung.com>
Tue, 15 Oct 2013 01:55:49 +0000 (10:55 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Tue, 15 Oct 2013 01:55:49 +0000 (10:55 +0900)
Change-Id: I43ff20fd66b3e0b227ff212e1b77f5e8b8e8fdf9

TC/testcase/Makefile
TC/testcase/tslist
TC/testcase/utc_network_nfc_se.c [changed mode: 0755->0644]
TC/testcase/utc_network_nfc_snep.c [changed mode: 0755->0644]
TC/testcase/utc_network_nfc_test.c [deleted file]

index d7683ef..a7c9b44 100644 (file)
@@ -1,7 +1,7 @@
 CC ?= gcc
 
 C_FILES = $(shell ls *.c)
-       
+
 PKGS = glib-2.0 capi-network-nfc
 
 LDFLAGS = `pkg-config --libs $(PKGS)`
index 1caa46b..c32b2cd 100644 (file)
@@ -3,4 +3,3 @@
 /testcase/utc_network_nfc_ndef_message
 /testcase/utc_network_nfc_se
 /testcase/utc_network_nfc_snep
-/testcase/utc_network_nfc_test
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/TC/testcase/utc_network_nfc_test.c b/TC/testcase/utc_network_nfc_test.c
deleted file mode 100755 (executable)
index f12ca34..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-/*
- * Copyright (c) 2012, 2013 Samsung Electronics Co., Ltd.
- *
- * 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 <glib.h>
-#include <tet_api.h>
-#include <nfc.h>
-
-enum
-{
-       POSITIVE_TC_IDX = 0x01,
-       NEGATIVE_TC_IDX,
-};
-
-static void startup(void);
-static void cleanup(void);
-
-void (*tet_startup)(void) = startup;
-void (*tet_cleanup)(void) = cleanup;
-
-static void nfc_test_sim_test_p(void);
-static void nfc_test_sim_test_n(void);
-static void nfc_test_prbs_test_p(void);
-static void nfc_test_prbs_test_n(void);
-static void nfc_test_get_firmware_version_p(void);
-static void nfc_test_get_firmware_version_n(void);
-static void nfc_test_set_nfcc_register_p(void);
-static void nfc_test_set_nfcc_register_n(void);
-
-struct tet_testlist tet_testlist[] =
-{
-       { nfc_test_sim_test_p, POSITIVE_TC_IDX },
-       { nfc_test_sim_test_n, NEGATIVE_TC_IDX },
-       { nfc_test_prbs_test_p, POSITIVE_TC_IDX },
-       { nfc_test_prbs_test_n, NEGATIVE_TC_IDX },
-       { nfc_test_get_firmware_version_p, POSITIVE_TC_IDX },
-       { nfc_test_get_firmware_version_n, NEGATIVE_TC_IDX },
-       { nfc_test_set_nfcc_register_p, POSITIVE_TC_IDX },
-       { nfc_test_set_nfcc_register_n, NEGATIVE_TC_IDX },
-
-       { NULL, 0 },
-};
-
-static void _activation_completed_cb(nfc_error_e error, void *user_data)
-{
-       g_main_loop_quit((GMainLoop *)user_data);
-}
-
-//this method is called only once in start
-static void startup(void)
-{
-       /* start of TC */
-       nfc_manager_initialize(NULL, NULL);
-
-       if (nfc_manager_is_activated() == false) {
-               GMainLoop *loop;
-
-               loop = g_main_loop_new(NULL, false);
-
-               nfc_manager_set_activation(true, _activation_completed_cb, loop);
-
-               g_main_loop_run(loop);
-       }
-}
-
-static void cleanup(void)
-{
-       /* end of TC */
-       nfc_manager_deinitialize();
-}
-
-
-static void nfc_test_sim_test_p(void)
-{
-       int ret;
-
-       ret = nfc_test_sim_test();
-
-       dts_check_eq(__func__, ret, NFC_ERROR_NONE, "PASS");
-}
-
-static void nfc_test_sim_test_n(void)
-{
-       dts_pass(__func__, "PASS");
-}
-
-static void nfc_test_prbs_test_p(void)
-{
-       int ret;
-
-       ret = nfc_test_prbs_test(NFC_PRBS_TECH_A, NFC_PRBS_RATE_106K);
-
-       dts_check_eq(__func__, ret, NFC_ERROR_NONE, "PASS");
-}
-
-static void nfc_test_prbs_test_n(void)
-{
-       int ret;
-
-       ret = nfc_test_prbs_test((nfc_prbs_tech_e)0xff, (nfc_prbs_rate_e)0xff);
-
-       dts_check_ne(__func__, ret, NFC_ERROR_NONE, "PASS");
-}
-
-static void nfc_test_get_firmware_version_p(void)
-{
-       int ret;
-       char *version = NULL;
-
-       ret = nfc_test_get_firmware_version(&version);
-       if (version != NULL) {
-               free(version);
-       }
-
-       dts_check_eq(__func__, ret, NFC_ERROR_NONE, "PASS");
-}
-
-static void nfc_test_get_firmware_version_n(void)
-{
-       int ret;
-
-       ret = nfc_test_get_firmware_version(NULL);
-
-       dts_check_ne(__func__, ret, NFC_ERROR_NONE, "PASS");
-}
-
-static void nfc_test_set_nfcc_register_p(void)
-{
-       dts_pass(__func__, "PASS");
-}
-
-static void nfc_test_set_nfcc_register_n(void)
-{
-       dts_pass(__func__, "PASS");
-}