summaryrefslogtreecommitdiff
path: root/src/tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc
blob: ffac324b9ae2b3af7a3451c68f8ee9c648138c3f (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
35
36

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#include "Eldbus.hh"
#include "Ecore.hh"

#include <algorithm>

#include <iostream>

#include <check.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);
}