diff options
author | divankov <divankov@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
commit | 5b8d95df2f0cfca4d3f5499a4259aa2050ef1571 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/testing/unittest/utmain.cpp | |
parent | cd88d7933255d8690da34c7b1f7427cf2bb3ae23 (diff) | |
download | ydb-5b8d95df2f0cfca4d3f5499a4259aa2050ef1571.tar.gz |
Restoring authorship annotation for <divankov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/testing/unittest/utmain.cpp')
-rw-r--r-- | library/cpp/testing/unittest/utmain.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/testing/unittest/utmain.cpp b/library/cpp/testing/unittest/utmain.cpp index 7b79bbe102..305bc6b40f 100644 --- a/library/cpp/testing/unittest/utmain.cpp +++ b/library/cpp/testing/unittest/utmain.cpp @@ -244,7 +244,7 @@ public: inline void SetShowFails(bool show) { ShowFails = show; } - + void SetContinueOnFail(bool val) { NUnitTest::ContinueOnFail = val; } @@ -421,7 +421,7 @@ private: if (ShowFails) { for (size_t i = 0; i < Fails.size(); ++i) { printf("%s", Fails[i].data()); - } + } } } @@ -693,8 +693,8 @@ int NUnitTest::RunMain(int argc, char** argv) { processor.SetPrintBeforeSuite(true); } else if (strcmp(name, "--print-before-test") == 0) { processor.SetPrintBeforeTest(true); - } else if (strcmp(name, "--show-fails") == 0) { - processor.SetShowFails(true); + } else if (strcmp(name, "--show-fails") == 0) { + processor.SetShowFails(true); } else if (strcmp(name, "--dont-show-fails") == 0) { processor.SetShowFails(false); } else if (strcmp(name, "--continue-on-fail") == 0) { |