summaryrefslogtreecommitdiff
path: root/test-suite/tests/c-api/testlib.h
diff options
context:
space:
mode:
authorcvs2svn <admin@example.com>1999-09-01 02:52:28 +0000
committercvs2svn <admin@example.com>1999-09-01 02:52:28 +0000
commitbc3038d6c85aeb23ca35e5758234573c86aed80d (patch)
tree9537cf49965939b1203e075f8c64aa953d10c486 /test-suite/tests/c-api/testlib.h
parentbe881b4688376f98b5eaa5c0bfb2cded1cde06b6 (diff)
downloadguile-jimb_mb_branchpoint_1.tar.gz
This commit was manufactured by cvs2svn to create tagjimb_mb_branchpoint_1
'jimb_mb_branchpoint_1'.
Diffstat (limited to 'test-suite/tests/c-api/testlib.h')
-rw-r--r--test-suite/tests/c-api/testlib.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/test-suite/tests/c-api/testlib.h b/test-suite/tests/c-api/testlib.h
deleted file mode 100644
index 3adaf7fc2..000000000
--- a/test-suite/tests/c-api/testlib.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* testlib.h --- reporting test results
- Jim Blandy <jimb@red-bean.com> --- August 1999 */
-
-#ifndef TESTLIB_H
-#define TESTLIB_H
-
-extern void test_pass (char *name);
-extern void test_fail (char *name);
-extern void test_pass_if (char *name, int condition);
-
-/* We need a way to keep track of what groups of tests we're currently
- within. A call to test_enter_context assures that future tests
- will be reported with a name prefixed by NAME, until we call
- test_restore_context with the value it returned.
-
- Calls to test_enter_context and test_restore_context should be
- properly nested; passing the context around allows them to detect
- mismatches.
-
- It is the caller's responsibility to free NAME after exiting the
- context. (This is trivial if you're passing string literals to
- test_enter_context.) */
-
-typedef int test_context_t;
-extern test_context_t test_enter_context (char *name);
-extern void test_restore_context (test_context_t context);
-
-#endif /* TESTLIB_H */