git subrepo clone git@github.com:rconybea/xo-testutil.git xo-testutil
subrepo: subdir: "xo-testutil" merged: "281418da" upstream: origin: "git@github.com:rconybea/xo-testutil.git" branch: "main" commit: "281418da" git-subrepo: version: "0.4.9" origin: "???" commit: "???"
This commit is contained in:
parent
e0acb52c38
commit
5a06bced3b
13 changed files with 360 additions and 0 deletions
18
xo-testutil/src/testutil/Utest.cpp
Normal file
18
xo-testutil/src/testutil/Utest.cpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/** @file Utest.cpp
|
||||
*
|
||||
* @author Roland Conybeare, May 2026
|
||||
**/
|
||||
|
||||
#include "Utest.hpp"
|
||||
#include "UtestConfig.hpp"
|
||||
#include <catch2/catch.hpp>
|
||||
|
||||
namespace xo {
|
||||
scope
|
||||
Utest::ut_scope() {
|
||||
return scope(XO_DEBUG(UtestConfig::instance()->debug_flag()),
|
||||
xtag("name", Catch::getResultCapture().getCurrentTestName()));
|
||||
}
|
||||
}
|
||||
|
||||
/* end Utest.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue