summaryrefslogtreecommitdiff
path: root/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc
blob: 7c4be04b6ac8bd72b5f39853067969030a003033 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#include <algorithm>
#include <iostream>

#include <Ecore.hh>
#include <Eldbus.hh>

#include "eldbus_cxx_suite.h"

START_TEST(eldbus_cxx_session_connection)
{
  efl::eldbus::eldbus_init init;

  efl::eldbus::connection c(efl::eldbus::session);
}
END_TEST

START_TEST(eldbus_cxx_system_connection)
{
  efl::eldbus::eldbus_init init;

  efl::eldbus::connection c(efl::eldbus::system);
}
END_TEST

void
eldbus_test_connection(TCase* tc)
{
  tcase_add_test(tc, eldbus_cxx_session_connection);
  tcase_add_test(tc, eldbus_cxx_system_connection);
}