aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/gmock_in_unittest/example_ut/example_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/testing/gmock_in_unittest/example_ut/example_ut.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/testing/gmock_in_unittest/example_ut/example_ut.cpp')
-rw-r--r--library/cpp/testing/gmock_in_unittest/example_ut/example_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/testing/gmock_in_unittest/example_ut/example_ut.cpp b/library/cpp/testing/gmock_in_unittest/example_ut/example_ut.cpp
index 9d0a72fb47..97f19050e4 100644
--- a/library/cpp/testing/gmock_in_unittest/example_ut/example_ut.cpp
+++ b/library/cpp/testing/gmock_in_unittest/example_ut/example_ut.cpp
@@ -27,8 +27,8 @@ public:
using namespace testing;
-Y_UNIT_TEST_SUITE(TExampleGMockTest) {
- Y_UNIT_TEST(TSimpleTest) {
+Y_UNIT_TEST_SUITE(TExampleGMockTest) {
+ Y_UNIT_TEST(TSimpleTest) {
TTestMock mock;
EXPECT_CALL(mock, Func1())
.Times(AtLeast(1));
@@ -38,7 +38,7 @@ Y_UNIT_TEST_SUITE(TExampleGMockTest) {
}
}
- Y_UNIT_TEST(TNonExpectedCallTest) {
+ Y_UNIT_TEST(TNonExpectedCallTest) {
TTestMock mock;
EXPECT_CALL(mock, Func1())
.Times(AtMost(1));
@@ -48,7 +48,7 @@ Y_UNIT_TEST_SUITE(TExampleGMockTest) {
}
}
- Y_UNIT_TEST(TReturnValuesTest) {
+ Y_UNIT_TEST(TReturnValuesTest) {
TTestMock mock;
EXPECT_CALL(mock, Func2(TString("1")))
.WillOnce(Return(1))
@@ -70,7 +70,7 @@ Y_UNIT_TEST_SUITE(TExampleGMockTest) {
}
}
- Y_UNIT_TEST(TStrictCallSequenceTest) {
+ Y_UNIT_TEST(TStrictCallSequenceTest) {
TTestMock mock;
{
InSequence seq;
@@ -93,7 +93,7 @@ Y_UNIT_TEST_SUITE(TExampleGMockTest) {
}
}
- Y_UNIT_TEST(TUninterestingMethodIsFailureTest) {
+ Y_UNIT_TEST(TUninterestingMethodIsFailureTest) {
StrictMock<TTestMock> mock;
EXPECT_CALL(mock, Func1())
.Times(1);