summaryrefslogtreecommitdiff
path: root/android/tester-socket.c
diff options
context:
space:
mode:
authorGrzegorz Kolodziejczyk <grzegorz.kolodziejczyk@tieto.com>2014-07-03 18:00:11 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-07-14 16:58:38 +0200
commitaa9cbddcd08b29708b6e2edfed3d697b9ed2ddc1 (patch)
treea57148e76d0c39f4ccdaabc9c02ddf5cce6f8fee /android/tester-socket.c
parentc727e4dc5f3202bf978038054e82c105527ea978 (diff)
downloadbluez-aa9cbddcd08b29708b6e2edfed3d697b9ed2ddc1.tar.gz
android/tester-socket: Initial socket tester
This is initial patch for android socket HAL tester. It'll contain test cases for socket hal.
Diffstat (limited to 'android/tester-socket.c')
-rw-r--r--android/tester-socket.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/android/tester-socket.c b/android/tester-socket.c
new file mode 100644
index 000000000..4b06b1508
--- /dev/null
+++ b/android/tester-socket.c
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2014 Intel Corporation
+ *
+ * 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 "tester-main.h"
+
+static struct queue *list; /* List of socket test cases */
+
+struct queue *get_socket_tests(void)
+{
+ list = queue_new();
+
+ return list;
+}
+
+void remove_socket_tests(void)
+{
+ queue_destroy(list, NULL);
+}