Linux bluetooth development
 help / color / mirror / Atom feed
From: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
To: linux-bluetooth@vger.kernel.org
Cc: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Subject: [PATCH 9/9] android/tester: Remove old test cases
Date: Thu, 17 Jul 2014 10:29:56 +0200	[thread overview]
Message-ID: <1405585796-12301-9-git-send-email-jakub.tyszkowski@tieto.com> (raw)
In-Reply-To: <1405585796-12301-1-git-send-email-jakub.tyszkowski@tieto.com>

This removes old device discovery test cases that were porrted to newer
testing framework.
---
 android/android-tester.c | 74 ------------------------------------------------
 1 file changed, 74 deletions(-)

diff --git a/android/android-tester.c b/android/android-tester.c
index ff14fc8..e17f3ea 100644
--- a/android/android-tester.c
+++ b/android/android-tester.c
@@ -2163,55 +2163,6 @@ static void test_dummy(const void *test_data)
 	tester_test_passed();
 }
 
-static void test_discovery_start_success(const void *test_data)
-{
-	struct test_data *data = tester_get_data();
-	bt_status_t status;
-
-	init_test_conditions(data);
-
-	status = data->if_bluetooth->start_discovery();
-	check_expected_status(status);
-}
-
-static void test_discovery_stop_done(const void *test_data)
-{
-	struct test_data *data = tester_get_data();
-	bt_status_t status;
-
-	init_test_conditions(data);
-
-	status = data->if_bluetooth->cancel_discovery();
-	check_expected_status(status);
-}
-
-static void test_discovery_stop_success(const void *test_data)
-{
-	struct test_data *data = tester_get_data();
-
-	init_test_conditions(data);
-
-	data->if_bluetooth->start_discovery();
-}
-
-static void test_discovery_start_done(const void *test_data)
-{
-	struct test_data *data = tester_get_data();
-
-	init_test_conditions(data);
-
-	data->if_bluetooth->start_discovery();
-}
-
-static void test_discovery_device_found(const void *test_data)
-{
-	struct test_data *data = tester_get_data();
-
-	init_test_conditions(data);
-
-	data->if_bluetooth->start_discovery();
-}
-
 static void test_dev_getprops_success(const void *test_data)
 {
 	struct test_data *data = tester_get_data();
@@ -3659,31 +3610,6 @@ int main(int argc, char *argv[])
 
 	tester_init(&argc, &argv);
 
-	test_bredrle("Bluetooth BR/EDR Discovery Start - Success",
-				&bluetooth_discovery_start_success_test,
-				setup_enabled_adapter,
-				test_discovery_start_success, teardown);
-
-	test_bredrle("Bluetooth BR/EDR Discovery Start - Success 2",
-				&bluetooth_discovery_start_success2_test,
-				setup_enabled_adapter,
-				test_discovery_start_done, teardown);
-
-	test_bredrle("Bluetooth BR/EDR Discovery Stop - Success",
-				&bluetooth_discovery_stop_success_test,
-				setup_enabled_adapter,
-				test_discovery_stop_success, teardown);
-
-	test_bredrle("Bluetooth BR/EDR Discovery Stop - Success 2",
-				&bluetooth_discovery_stop_success2_test,
-				setup_enabled_adapter,
-				test_discovery_stop_done, teardown);
-
-	test_bredr("Bluetooth BR/EDR Discovery Device Found",
-				&bluetooth_discovery_device_found_test,
-				setup_enabled_adapter,
-				test_discovery_device_found, teardown);
-
 	test_bredr("Bluetooth Device Get Props - Success",
 					&bt_dev_getprops_success_test,
 					setup_enabled_adapter,
-- 
1.9.1


  parent reply	other threads:[~2014-07-17  8:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-17  8:29 [PATCH 1/9] android/tester-ng: Use action and callback defining macros Jakub Tyszkowski
2014-07-17  8:29 ` [PATCH 2/9] android/tester-ng: Add test declaration helper macro Jakub Tyszkowski
2014-07-17  8:29 ` [PATCH 3/9] android/tester-ng: Use array of statics instead of case pointers Jakub Tyszkowski
2014-07-17  8:29 ` [PATCH 4/9] android/tester-ng: Use test case independent naming for props Jakub Tyszkowski
2014-07-17  8:29 ` [PATCH 5/9] android/tester-ng: Add start discovery success cases Jakub Tyszkowski
2014-07-17  8:29 ` [PATCH 6/9] android/tester-ng: Add cancel discovery cases Jakub Tyszkowski
2014-07-17  8:29 ` [PATCH 7/9] emulator: Extend le advertising function with discoverable flag Jakub Tyszkowski
2014-07-18  8:05   ` Szymon Janc
2014-07-18  8:18     ` Johan Hedberg
2014-07-17  8:29 ` [PATCH 8/9] android/tester-ng: Add remote device found case Jakub Tyszkowski
2014-07-17  8:29 ` Jakub Tyszkowski [this message]
2014-07-18  7:54 ` [PATCH 1/9] android/tester-ng: Use action and callback defining macros Szymon Janc
  -- strict thread matches above, loose matches on Subject: below --
2014-07-18  9:50 [PATCH 1/9] emulator: Add flags param to advertise enabling function Jakub Tyszkowski
2014-07-18  9:50 ` [PATCH 9/9] android/tester: Remove old test cases Jakub Tyszkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1405585796-12301-9-git-send-email-jakub.tyszkowski@tieto.com \
    --to=jakub.tyszkowski@tieto.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox