Function tests for libustcmd and a C tap library
[ust.git] / tests / tap.h
diff --git a/tests/tap.h b/tests/tap.h
new file mode 100644 (file)
index 0000000..7cfed70
--- /dev/null
@@ -0,0 +1,29 @@
+/* Copyright (C) 2010 Nils Carlson
+ *
+ * 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
+ * Lesser 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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+#ifndef __TAP_H
+#define __TAP_H
+
+#include <stdarg.h>
+#include <stdio.h>
+
+void tap_plan(int count);
+
+void tap_ok(int bool, const char *format, ...);
+
+int tap_status(void);
+
+#endif /* __TAP_H */
This page took 0.022442 seconds and 4 git commands to generate.