diff options
| author | imeln <[email protected]> | 2022-02-10 16:50:05 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:05 +0300 |
| commit | 694fb2daa19ebb6642b93a8e94bd548b621b76df (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/testing/unittest/utmain.cpp | |
| parent | a8edace702b9ef73e7589895cd0637c7431d6158 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 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 f965788a09d..305bc6b40fc 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) { |
