#if !defined(WEBRTC_CHROMIUM_BUILD) && defined(__cpp_impl_coroutine) && \
(__cpp_impl_coroutine >= 201902L) && defined(__cpp_lib_coroutine) && \
(__cpp_lib_coroutine >= 201902L) // Warning that this is still experimental code and that enabling // `BUILD_EXPERIMENTAL_TASK_QUEUE_COROUTINE_TESTS` for chromium builds caused // the link time of `components_unittests` in chromium to grow from ~12 min to // ~30 min! It likely also caused OOM on some machines during the build process. #define BUILD_EXPERIMENTAL_TASK_QUEUE_COROUTINE_TESTS 1 #endif// __cpp_impl_coroutine
namespace webrtc {
// Suite of tests to verify TaskQueue implementation with. // Example usage: // // namespace { // // using ::testing::Values; // using ::webrtc::TaskQueueTest; // // std::unique_ptr<TaskQueueFactory> CreateMyFactory(); // // INSTANTIATE_TEST_SUITE_P(My, TaskQueueTest, Values(CreateMyFactory)); // // } // namespace class TaskQueueTest
: public ::testing::TestWithParam<std::function<
std::unique_ptr<TaskQueueFactory>(const FieldTrialsView*)>> {};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.