summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-07 15:42:21 +0200
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2011-06-07 15:42:57 +0200
commit79c3c564d2eed702c2b095b12d95946eb2fba8e2 (patch)
tree7fc11b0f73eff32eeda39167c9cf3684f1dc465f /unit
parent3973603a07be70d0a5a0dfda88d71bc9252a9c0a (diff)
downloadconnman-79c3c564d2eed702c2b095b12d95946eb2fba8e2.tar.gz
connman-79c3c564d2eed702c2b095b12d95946eb2fba8e2.tar.bz2
connman-79c3c564d2eed702c2b095b12d95946eb2fba8e2.zip
unit: Add test-session
Diffstat (limited to 'unit')
-rw-r--r--unit/test-session.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/unit/test-session.c b/unit/test-session.c
new file mode 100644
index 00000000..152c80ff
--- /dev/null
+++ b/unit/test-session.c
@@ -0,0 +1,35 @@
+/*
+ *
+ * Connection Manager
+ *
+ * Copyright (C) 2011 BWM CarIT GmbH. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <gdbus.h>
+
+#include "connman.h"
+
+int main(int argc, char *argv[])
+{
+ g_test_init(&argc, &argv, NULL);
+
+ return g_test_run();
+}