Skip to content

Commit b917dba

Browse files
Merge pull request #4774 from c1728p9/runtime_test_specification
Add support for runtime test specification
2 parents 2098af5 + e46bb0e commit b917dba

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

features/frameworks/utest/utest/utest_specification.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,18 @@ namespace v1 {
159159
);
160160
}
161161

162+
Specification(const test_setup_handler_t setup_handler,
163+
const Case *cases,
164+
const size_t length,
165+
const test_teardown_handler_t teardown_handler,
166+
const test_failure_handler_t failure_handler,
167+
const handlers_t defaults = default_handlers) :
168+
setup_handler(setup_handler), teardown_handler(teardown_handler), failure_handler(failure_handler),
169+
cases(cases), length(length),
170+
defaults(defaults)
171+
{
172+
}
173+
162174
private:
163175
const test_setup_handler_t setup_handler;
164176
const test_teardown_handler_t teardown_handler;

0 commit comments

Comments
 (0)