summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/ttest01/test-fixture.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/ttest01/test-fixture.c')
-rw-r--r--testsuites/libtests/ttest01/test-fixture.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuites/libtests/ttest01/test-fixture.c b/testsuites/libtests/ttest01/test-fixture.c
index b5b8d4493a..6c3c7ba168 100644
--- a/testsuites/libtests/ttest01/test-fixture.c
+++ b/testsuites/libtests/ttest01/test-fixture.c
@@ -57,6 +57,26 @@ T_TEST_CASE_FIXTURE(fixture, &fixture)
T_log(T_QUIET, "not reached");
}
+#include "t-self-test.h"
+
+T_TEST_OUTPUT(fixture,
+"B:fixture\n"
+"L:setup begin\n"
+"P:0:0:UI1:test-fixture.c:13\n"
+"P:1:0:UI1:test-fixture.c:14\n"
+"P:2:0:UI1:test-fixture.c:18\n"
+"L:setup end\n"
+"P:3:0:UI1:test-fixture.c:55\n"
+"F:4:0:UI1:test-fixture.c:56:test fails and we stop the test case\n"
+"L:stop begin\n"
+"P:5:0:UI1:test-fixture.c:28\n"
+"L:stop end\n"
+"L:teardown begin\n"
+"P:6:0:UI1:test-fixture.c:40\n"
+"P:7:0:UI1:test-fixture.c:42\n"
+"L:teardown end\n"
+"E:fixture:N:8:F:1:D:0.001000\n");
+
/*
* The license is at the end of the file to be able to use the test code and
* output in examples in the documentation. This is also the reason for the