
Your opinion will help to improve our service
Leave a feedback >Versions of gtest macros that run tests in a coroutine environment.
Definition in file utest.hpp.
Go to the source code of this file.
#include <chrono>#include <gtest/gtest.h>#include <userver/engine/run_in_coro.hpp>#include <userver/utest/assert_macros.hpp>#include <userver/utest/test_case_macros.hpp>
This graph shows which files directly or indirectly include this file:Namespaces | |
| namespace | utest |
| Mocks and test helpers. | |
Macros | |
| #define | DISABLED_IN_DEBUG_TEST_NAME(name) |
| #define | DISABLED_IN_MAC_OS_TEST_NAME(name) |
| #define | DISABLED_IN_LIBCPP_TEST_NAME(name) |
| #define | UTEST(test_suite_name, test_name) |
| An equivalent of the gtest macro TEST that starts the test body as a coroutine task. | |
| #define | UTEST_DEATH(test_suite_name, test_name) |
| An equivalent of the gtest macro TEST for death tests that starts the test body as a coroutine task. | |
| #define | UTEST_MT(test_suite_name, test_name, thread_count) |
| An equivalent of the gtest macro TEST that starts the test body as a coroutine task. | |
| #define | UTEST_F(test_suite_name, test_name) |
| An equivalent of the gtest macro TEST_F that starts the test body as a coroutine task. | |
| #define | UTEST_F_DEATH(test_suite_name, test_name) |
| An equivalent of the gtest macro TEST_F for death tests that starts the test body as a coroutine task. | |
| #define | UTEST_F_MT(test_suite_name, test_name, thread_count) |
| An equivalent of the gtest macro TEST_F that starts the test body as a coroutine task. | |
| #define | UTEST_P(test_suite_name, test_name) |
| An equivalent of the gtest macro TEST_P that starts the test body as a coroutine task. | |
| #define | UTEST_P_DEATH(test_suite_name, test_name) |
| An equivalent of the gtest macro TEST_P for death tests that starts the test body as a coroutine task. | |
| #define | UTEST_P_MT(test_suite_name, test_name, thread_count) |
| An equivalent of the gtest macro TEST_P that starts the test body as a coroutine task. | |
| #define | TYPED_UTEST(test_suite_name, test_name) |
| An equivalent of the gtest macro TYPED_TEST that starts the test body as a coroutine task. | |
| #define | TYPED_UTEST_MT(test_suite_name, test_name, thread_count) |
| An equivalent of the gtest macro TYPED_TEST that starts the test body as a coroutine task. | |
| #define | TYPED_UTEST_P(test_suite_name, test_name) |
| An equivalent of the gtest macro TYPED_TEST_P that starts the test body as a coroutine task. | |
| #define | TYPED_UTEST_P_MT(test_suite_name, test_name, thread_count) |
| An equivalent of the gtest macro TYPED_TEST_P that starts the test body as a coroutine task. | |
| #define | TYPED_UTEST_SUITE(test_suite_name, types) |
| An equivalent of the gtest macro TYPED_TEST_SUITE that starts the test body as a coroutine task. | |
| #define | INSTANTIATE_UTEST_SUITE_P(prefix, test_suite_name, ...) |
| An equivalent of the gtest macro INSTANTIATE_TEST_SUITE_P that starts the test body as a coroutine task. | |
| #define | REGISTER_TYPED_UTEST_SUITE_P(test_suite_name, ...) |
| An equivalent of the gtest macro REGISTER_TYPED_TEST_SUITE_P that starts the test body as a coroutine task. | |
| #define | INSTANTIATE_TYPED_UTEST_SUITE_P(prefix, test_suite_name, types) |
| An equivalent of the gtest macro INSTANTIATE_TYPED_TEST_SUITE_P that starts the test body as a coroutine task. | |
| #define | TYPED_UTEST_SUITE_P(test_suite_name) |
| An equivalent of the gtest macro TYPED_TEST_SUITE_P that starts the test body as a coroutine task. | |
Functions | |
| void | testing::PrintTo (std::chrono::seconds s, std::ostream *os) |
| void | testing::PrintTo (std::chrono::milliseconds ms, std::ostream *os) |
| void | testing::PrintTo (std::chrono::microseconds us, std::ostream *os) |
| void | testing::PrintTo (std::chrono::nanoseconds ns, std::ostream *os) |
| constexpr std::chrono::seconds | utest::kMaxTestWaitTime (20) |
| #define DISABLED_IN_DEBUG_TEST_NAME | ( | name | ) |