~xnox/ubuntu/raring/libnih/fix-xfs

« back to all changes in this revision

Viewing changes to nih-dbus-tool/tests/com.netsplit.Nih.Test_impl.h

  • Committer: Scott James Remnant
  • Date: 2010-12-23 22:08:49 UTC
  • mfrom: (0.1.4 upstream)
  • Revision ID: scott@netsplit.com-20101223220849-jf1o5p8bg51p28g9
* NEWS: Release 1.0.3
* nih-dbus-tool/type.c (type_const, type_of): Add support for the
DBUS_TYPE_UNIX_FD type, with a C type of "int".
* nih-dbus-tool/tests/test_type.c (test_const, test_of): Check the types
are correct.
* nih-dbus-tool/tests/marshal_factory.c: Generate function for
unix_fd testing
* nih-dbus-tool/tests/marshal_code.h: Add header for generated function
* nih-dbus-tool/tests/test_marshal.c (test_marshal): Test the generator
and the generated function
* nih-dbus-tool/tests/demarshal_factory.c: Generate function for
unix_fd testing
* nih-dbus-tool/tests/demarshal_code.h: Add header for generated function
* nih-dbus-tool/tests/test_demarshal.c (test_demarshal): Test the
generator and the generated code
* nih-dbus-tool/tests/com.netsplit.Nih.Test.xml: Add methods, signal and
properties for testing.
* nih-dbus-tool/tests/com.netsplit.Nih.Test_impl.h: Add property
definition
* nih-dbus-tool/tests/com.netsplit.Nih.Test_impl.c (my_test_unix_fd_to_str)
(my_test_str_to_unix_fd, my_test_get_unix_fd)
(my_test_set_unix_fd): Test implementation.
* nih-dbus-tool/tests/test_com.netsplit.Nih.Test_object.c (test_unix_fd_to_str)
(test_str_to_unix_fd, test_new_unix_fd, test_get_unix_fd)
(test_set_unix_fd): Add methods to test the object implementation.
* nih-dbus-tool/tests/test_com.netsplit.Nih.Test_proxy.c (test_unix_fd_to_str)
(test_unix_fd_to_str_sync, test_str_to_unix_fd)
(test_str_to_unix_fd_sync, test_new_unix_fd, test_get_unix_fd)
(test_get_unix_fd_sync, test_set_unix_fd, test_set_unix_fd_sync): Add tests
for unix fds.
(test_get_all, test_get_all_sync): Add unix fd to tests.
* NEWS: Update
* configure.ac: Bump version to 1.0.3
* NEWS: Begin new release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* libnih
2
2
 *
3
 
 * Copyright © 2009 Scott James Remnant <scott@netsplit.com>.
4
 
 * Copyright © 2009 Canonical Ltd.
 
3
 * Copyright © 2010 Scott James Remnant <scott@netsplit.com>.
 
4
 * Copyright © 2010 Canonical Ltd.
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or modify
7
7
 * it under the terms of the GNU General Public License version 2, as
59
59
extern size_t *   int32_array_array_property_len;
60
60
extern MyStruct **struct_array_property;
61
61
extern MyStruct **dict_entry_array_property;
 
62
extern int        unix_fd_property;
62
63
 
63
64
NIH_END_EXTERN
64
65