summaryrefslogtreecommitdiff
path: root/libtest/collection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtest/collection.cc')
-rw-r--r--libtest/collection.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libtest/collection.cc b/libtest/collection.cc
index 86e7f864..2f1cba31 100644
--- a/libtest/collection.cc
+++ b/libtest/collection.cc
@@ -51,6 +51,9 @@ static test_return_t runner_code(libtest::Framework* frame,
try
{
_timer.reset();
+ assert(frame);
+ assert(frame->runner());
+ assert(run->test_fn);
return_code= frame->runner()->main(run->test_fn, frame->creators_ptr());
}
// Special case where check for the testing of the exception