summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2006-11-29 13:14:47 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2006-11-29 13:14:47 +0000
commit43ae220aea704cbeadb7851794a248226a6e33d9 (patch)
treefc3315b9fbd83eb32fe55286f81c897eb10495e5 /test
parent6aec02afb3d038759ea009007c5c2b19e5644ccd (diff)
Include C-code generation in "make check"
Diffstat (limited to 'test')
-rw-r--r--test/expected/errors.h41
-rw-r--r--test/expected/interfaces.h19
2 files changed, 60 insertions, 0 deletions
diff --git a/test/expected/errors.h b/test/expected/errors.h
new file mode 100644
index 00000000..4d104a19
--- /dev/null
+++ b/test/expected/errors.h
@@ -0,0 +1,41 @@
+/* Generated from the Telepathy spec
+
+Copyright (C) 2006 Collabora Limited
+
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library 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
+Library General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef enum {
+
+ /* org.freedesktop.Telepathy.SpecAutoGenTest.MiscError
+ Raised whenever appropriate.
+ */
+ MiscError,
+
+ /* org.freedesktop.Telepathy.SpecAutoGenTest.OtherError
+ Raised at all other times.
+ */
+ OtherError,
+} TelepathyErrors;
+
+#ifdef __cplusplus
+}
+#endif
diff --git a/test/expected/interfaces.h b/test/expected/interfaces.h
new file mode 100644
index 00000000..d0a91164
--- /dev/null
+++ b/test/expected/interfaces.h
@@ -0,0 +1,19 @@
+/* Generated from the Telepathy spec
+
+Copyright (C) 2006 Collabora Limited
+
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library 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
+Library General Public License for more details.
+
+*/
+
+#define TP_IFACE_TEST_INTERFACE \
+ "org.freedesktop.Telepathy.SpecAutoGenTest";