diff options
author | galaxycrab <UgnineSirdis@ydb.tech> | 2023-03-20 21:40:37 +0300 |
---|---|---|
committer | galaxycrab <UgnineSirdis@ydb.tech> | 2023-03-20 21:40:37 +0300 |
commit | de1da5bba65d071a1fa8a3dde559560c1c4ba8a2 (patch) | |
tree | 055beacf08a82444b3bced0ee9fa7b367f691bdc /library/cpp/testing/unittest/registar.cpp | |
parent | e39b77e20d0ff8cd09554e97153f2c0a1770ee3d (diff) | |
download | ydb-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.cpp | 9 |
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() { |