diff options
author | somov <somov@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:49 +0300 |
commit | 7489e4682331202b9c7d863c0898eb83d7b12c2b (patch) | |
tree | 9142afc54d335ea52910662635b898e79e192e49 /contrib/libs/libunwind/ut | |
parent | a5950576e397b1909261050b8c7da16db58f10b1 (diff) | |
download | ydb-7489e4682331202b9c7d863c0898eb83d7b12c2b.tar.gz |
Restoring authorship annotation for <somov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/libunwind/ut')
-rw-r--r-- | contrib/libs/libunwind/ut/libunwind_ut.cpp | 52 | ||||
-rw-r--r-- | contrib/libs/libunwind/ut/ya.make | 16 |
2 files changed, 34 insertions, 34 deletions
diff --git a/contrib/libs/libunwind/ut/libunwind_ut.cpp b/contrib/libs/libunwind/ut/libunwind_ut.cpp index 711e0f115a..93767c50c8 100644 --- a/contrib/libs/libunwind/ut/libunwind_ut.cpp +++ b/contrib/libs/libunwind/ut/libunwind_ut.cpp @@ -1,29 +1,29 @@ #include <library/cpp/testing/unittest/registar.h> - -#include <util/system/compiler.h> - -#include <exception> -#include <vector> - -Y_NO_INLINE void Except(int arg, ...) { - (void)arg; - throw std::exception(); -} - + +#include <util/system/compiler.h> + +#include <exception> +#include <vector> + +Y_NO_INLINE void Except(int arg, ...) { + (void)arg; + throw std::exception(); +} + Y_UNIT_TEST_SUITE(LibunwindSuite) { - static void Y_NO_INLINE DoTestVarargs() { - std::vector<int> v; - v.push_back(0); - Except(0x11, 0x22, 0x33, 0x44, 0xAA, 0xBB, 0xCC, 0xDD); - } - + static void Y_NO_INLINE DoTestVarargs() { + std::vector<int> v; + v.push_back(0); + Except(0x11, 0x22, 0x33, 0x44, 0xAA, 0xBB, 0xCC, 0xDD); + } + Y_UNIT_TEST(TestVarargs) { - try { - DoTestVarargs(); - } catch (const std::exception& e) { - return; - } - - UNIT_FAIL("Should not be here"); - } -} + try { + DoTestVarargs(); + } catch (const std::exception& e) { + return; + } + + UNIT_FAIL("Should not be here"); + } +} diff --git a/contrib/libs/libunwind/ut/ya.make b/contrib/libs/libunwind/ut/ya.make index f0026a0c42..a608aee8a4 100644 --- a/contrib/libs/libunwind/ut/ya.make +++ b/contrib/libs/libunwind/ut/ya.make @@ -1,11 +1,11 @@ -UNITTEST() - +UNITTEST() + WITHOUT_LICENSE_TEXTS() - + OWNER(somov) -SRCS( - libunwind_ut.cpp -) - -END() +SRCS( + libunwind_ut.cpp +) + +END() |