diff options
author | imeln <imeln@yandex-team.ru> | 2022-02-10 16:50:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:05 +0300 |
commit | a8edace702b9ef73e7589895cd0637c7431d6158 (patch) | |
tree | 589fcae936ce8873c99b07f10d54dd928ce75d53 /library/cpp/testing/unittest/utmain.cpp | |
parent | 3fe61ec91d7f3e5cd747dc156b811a1bac4d5356 (diff) | |
download | ydb-a8edace702b9ef73e7589895cd0637c7431d6158.tar.gz |
Restoring authorship annotation for <imeln@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing/unittest/utmain.cpp')
-rw-r--r-- | library/cpp/testing/unittest/utmain.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/testing/unittest/utmain.cpp b/library/cpp/testing/unittest/utmain.cpp index 305bc6b40f..f965788a09 100644 --- a/library/cpp/testing/unittest/utmain.cpp +++ b/library/cpp/testing/unittest/utmain.cpp @@ -245,10 +245,10 @@ public: ShowFails = show; } - void SetContinueOnFail(bool val) { - NUnitTest::ContinueOnFail = val; - } - + void SetContinueOnFail(bool val) { + NUnitTest::ContinueOnFail = val; + } + inline void BeQuiet() { SetPrintTimes(false); SetPrintBeforeSuite(false); @@ -617,7 +617,7 @@ static int DoUsage(const char* progname) { << " --print-before-suite print each test suite name before running it\n" << " --show-fails print a list of all failed tests at the end\n" << " --dont-show-fails do not print a list of all failed tests at the end\n" - << " --continue-on-fail print a message and continue running test suite instead of break\n" + << " --continue-on-fail print a message and continue running test suite instead of break\n" << " --print-times print wall clock duration of each test\n" << " --fork-tests run each test in a separate process\n" << " --trace-path path to the trace file to be generated\n" @@ -697,8 +697,8 @@ int NUnitTest::RunMain(int argc, char** argv) { processor.SetShowFails(true); } else if (strcmp(name, "--dont-show-fails") == 0) { processor.SetShowFails(false); - } else if (strcmp(name, "--continue-on-fail") == 0) { - processor.SetContinueOnFail(true); + } else if (strcmp(name, "--continue-on-fail") == 0) { + processor.SetContinueOnFail(true); } else if (strcmp(name, "--print-times") == 0) { processor.SetPrintTimes(true); } else if (strcmp(name, "--from") == 0) { |