summaryrefslogtreecommitdiff
path: root/src/tests/eolian_cxx/eolian_cxx_test_parse.cc
blob: 6618bc95dcd526f73a9a4faacee18161f3be3ef9 (plain) (blame)
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
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

#include <cassert>
#include <tuple>

#include <Eolian_Cxx.hh>

#include "eolian_cxx_suite.h"

START_TEST(eolian_cxx_test_parse_complex_types)
{
   efl::eolian::eolian_init init;
   // fail_if(!::eolian_state_directory_add(PACKAGE_DATA_DIR"/data"));
   // fail_if(!::eolian_state_file_parse(PACKAGE_DATA_DIR"/data/complex_type.eo"));
   // TODO finish
}
END_TEST

START_TEST(eolian_cxx_test_parse_qualifiers)
{
   efl::eolian::eolian_init init;
   // XXX: implement
   //eolian_cxx::type_qualify("");
   //fail_if();
}
END_TEST

void
eolian_cxx_test_parse(TCase* tc)
{
   tcase_add_test(tc, eolian_cxx_test_parse_qualifiers);
   tcase_add_test(tc, eolian_cxx_test_parse_complex_types);
}