summaryrefslogtreecommitdiffstats
path: root/bus/test.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-03-13 06:18:06 +0000
committerHavoc Pennington <hp@redhat.com>2003-03-13 06:18:06 +0000
commitd65b73884cb876276b6bd73f4b1dfcd920984a8a (patch)
tree70563d497c223c65e2d015936284c023148b5bfc /bus/test.h
parent6ecc14ffabcffb69aa938a67940db48272e05046 (diff)
2003-03-13 Havoc Pennington <hp@pobox.com>
* bus/test.c, bus/test.h, bus/Makefile.am, bus/test-main.c: set up a test framework as for the library
Diffstat (limited to 'bus/test.h')
-rw-r--r--bus/test.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/bus/test.h b/bus/test.h
new file mode 100644
index 00000000..2d39ac9f
--- /dev/null
+++ b/bus/test.h
@@ -0,0 +1,38 @@
+/* -*- mode: C; c-file-style: "gnu" -*- */
+/* test.h unit test routines
+ *
+ * Copyright (C) 2003 Red Hat, Inc.
+ *
+ * Licensed under the Academic Free License version 1.2
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ */
+
+#ifndef BUS_TEST_H
+#define BUS_TEST_H
+
+#include <config.h>
+
+#ifdef DBUS_BUILD_TESTS
+
+#include <dbus/dbus.h>
+#include <dbus/dbus-string.h>
+
+dbus_bool_t bus_test_foo (const DBusString *test_data_dir);
+
+#endif
+
+#endif /* BUS_TEST_H */