aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/unittest
diff options
context:
space:
mode:
authorimeln <imeln@yandex-team.ru>2022-02-10 16:50:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:05 +0300
commit694fb2daa19ebb6642b93a8e94bd548b621b76df (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/testing/unittest
parenta8edace702b9ef73e7589895cd0637c7431d6158 (diff)
downloadydb-694fb2daa19ebb6642b93a8e94bd548b621b76df.tar.gz
Restoring authorship annotation for <imeln@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/testing/unittest')
-rw-r--r--library/cpp/testing/unittest/registar.cpp2
-rw-r--r--library/cpp/testing/unittest/registar.h2
-rw-r--r--library/cpp/testing/unittest/utmain.cpp14
3 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/testing/unittest/registar.cpp b/library/cpp/testing/unittest/registar.cpp
index 8966b60ac7..3679b768ed 100644
--- a/library/cpp/testing/unittest/registar.cpp
+++ b/library/cpp/testing/unittest/registar.cpp
@@ -13,7 +13,7 @@
#include <util/string/cast.h>
bool NUnitTest::ShouldColorizeDiff = true;
-bool NUnitTest::ContinueOnFail = false;
+bool NUnitTest::ContinueOnFail = false;
TString NUnitTest::RandomString(size_t len, ui32 seed) {
TReallyFastRng32 rand(seed);
diff --git a/library/cpp/testing/unittest/registar.h b/library/cpp/testing/unittest/registar.h
index 646744ce2b..44517a0092 100644
--- a/library/cpp/testing/unittest/registar.h
+++ b/library/cpp/testing/unittest/registar.h
@@ -40,7 +40,7 @@ namespace NUnitTest {
}
extern bool ShouldColorizeDiff;
- extern bool ContinueOnFail;
+ extern bool ContinueOnFail;
TString ColoredDiff(TStringBuf s1, TStringBuf s2, const TString& delims = TString(), bool reverse = false);
TString GetFormatTag(const char* name);
TString GetResetTag();
diff --git a/library/cpp/testing/unittest/utmain.cpp b/library/cpp/testing/unittest/utmain.cpp
index f965788a09..305bc6b40f 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) {