aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/unittest/registar.cpp
diff options
context:
space:
mode:
authorgalaxycrab <UgnineSirdis@ydb.tech>2023-03-20 21:40:37 +0300
committergalaxycrab <UgnineSirdis@ydb.tech>2023-03-20 21:40:37 +0300
commitde1da5bba65d071a1fa8a3dde559560c1c4ba8a2 (patch)
tree055beacf08a82444b3bced0ee9fa7b367f691bdc /library/cpp/testing/unittest/registar.cpp
parente39b77e20d0ff8cd09554e97153f2c0a1770ee3d (diff)
downloadydb-de1da5bba65d071a1fa8a3dde559560c1c4ba8a2.tar.gz
Support --fork-tests in JUnitProcessor. Support more than one trace processor. Capture stderr/stdout logs, backtrace and time in JUnitProcesor
Diffstat (limited to 'library/cpp/testing/unittest/registar.cpp')
-rw-r--r--library/cpp/testing/unittest/registar.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/library/cpp/testing/unittest/registar.cpp b/library/cpp/testing/unittest/registar.cpp
index 9377114575..4f032fa00b 100644
--- a/library/cpp/testing/unittest/registar.cpp
+++ b/library/cpp/testing/unittest/registar.cpp
@@ -237,12 +237,17 @@ void NUnitTest::ITestSuiteProcessor::Run(std::function<void()> f, const TString&
f();
}
+void NUnitTest::ITestSuiteProcessor::SetForkTestsParams(bool forkTests, bool isForked) {
+ ForkTests_ = forkTests;
+ IsForked_ = isForked;
+}
+
bool NUnitTest::ITestSuiteProcessor::GetIsForked() const {
- return false;
+ return IsForked_;
}
bool NUnitTest::ITestSuiteProcessor::GetForkTests() const {
- return false;
+ return ForkTests_;
}
void NUnitTest::ITestSuiteProcessor::OnStart() {