[PATCH 09/19] android/tester-socket: Add initial test case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is patch with initial test case testing setup for socket hal test
cases.
---
 android/tester-socket.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/android/tester-socket.c b/android/tester-socket.c
index 4b06b15..8e8b6d2 100644
--- a/android/tester-socket.c
+++ b/android/tester-socket.c
@@ -19,10 +19,24 @@
 
 static struct queue *list; /* List of socket test cases */
 
+static struct step dummy_steps[] = {
+	{
+		.action = dummy_action,
+	},
+};
+static struct test_case socket_init = {
+	.step = dummy_steps,
+	.title = "Socket Init",
+	.step_num = get_test_case_step_num(dummy_steps),
+};
+
 struct queue *get_socket_tests(void)
 {
 	list = queue_new();
 
+	if (!queue_push_tail(list, &socket_init))
+		return NULL;
+
 	return list;
 }
 
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux