aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing/unittest/ut
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/unittest/ut
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/testing/unittest/ut')
-rw-r--r--library/cpp/testing/unittest/ut/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/testing/unittest/ut/main.cpp b/library/cpp/testing/unittest/ut/main.cpp
index 13c7642dd9..e303e21e30 100644
--- a/library/cpp/testing/unittest/ut/main.cpp
+++ b/library/cpp/testing/unittest/ut/main.cpp
@@ -61,25 +61,25 @@ TEST(ETest, Test1) {
UNIT_CHECK_GENERATED_NO_EXCEPTION(true, yexception);
}
-Y_UNIT_TEST_SUITE(TestSingleTestFixture)
+Y_UNIT_TEST_SUITE(TestSingleTestFixture)
{
- Y_UNIT_TEST_F(Test3, TSimpleFixture) {
+ Y_UNIT_TEST_F(Test3, TSimpleFixture) {
UNIT_ASSERT_EQUAL(Value, 24);
}
}
-Y_UNIT_TEST_SUITE_F(TestSuiteFixture, TSimpleFixture)
+Y_UNIT_TEST_SUITE_F(TestSuiteFixture, TSimpleFixture)
{
- Y_UNIT_TEST(Test1) {
+ Y_UNIT_TEST(Test1) {
UNIT_ASSERT(Value == 24);
Value = 25;
}
- Y_UNIT_TEST(Test2) {
+ Y_UNIT_TEST(Test2) {
UNIT_ASSERT_EQUAL(Value, 24);
}
- Y_UNIT_TEST_F(Test3, TOtherFixture) {
+ Y_UNIT_TEST_F(Test3, TOtherFixture) {
UNIT_ASSERT_EQUAL(TheAnswer, 42);
}
}