~ubuntu-branches/ubuntu/trusty/geis/trusty

« back to all changes in this revision

Viewing changes to testsuite/geis2/check_general_types.c

  • Committer: Package Import Robot
  • Author(s): Chase Douglas
  • Date: 2012-07-30 08:51:42 UTC
  • Revision ID: package-import@ubuntu.com-20120730085142-jrc33ygjvt0ob1wl
Tags: upstream-2.2.11
ImportĀ upstreamĀ versionĀ 2.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * unit tests for the geis_instance_table module
 
3
 */
 
4
#include <check.h>
 
5
 
 
6
#include <geis/geis.h>
 
7
 
 
8
/* compile-time test to ensure required types are defined */
 
9
START_TEST(general_types)
 
10
{
 
11
  GeisBoolean  geis_boolean CK_ATTRIBUTE_UNUSED;
 
12
  GeisInteger  geis_integer CK_ATTRIBUTE_UNUSED;
 
13
  GeisFloat    geis_float CK_ATTRIBUTE_UNUSED;
 
14
  GeisPointer  geis_pointer CK_ATTRIBUTE_UNUSED;
 
15
  GeisSize     geis_size CK_ATTRIBUTE_UNUSED;
 
16
  GeisString   geis_string CK_ATTRIBUTE_UNUSED;
 
17
}
 
18
END_TEST
 
19
 
 
20
 
 
21
/* boilerplate */
 
22
Suite *
 
23
geis2_general_types_suite_new()
 
24
{
 
25
  Suite *s = suite_create("geis2_general_types");
 
26
  TCase *create;
 
27
 
 
28
  create = tcase_create("general_types");
 
29
  tcase_add_test(create, general_types);
 
30
  suite_add_tcase(s, create);
 
31
 
 
32
  return s;
 
33
}
 
34