grpc
test
core
event_engine
test_suite
iomgr_event_engine_test.cc
Go to the documentation of this file.
1
// Copyright 2022 The gRPC Authors
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
#include <
grpc/grpc.h
>
15
16
#include "
src/core/lib/event_engine/iomgr_engine/iomgr_engine.h
"
17
#include "
test/core/event_engine/test_suite/event_engine_test.h
"
18
#include "
test/core/util/test_config.h
"
19
20
int
main
(
int
argc,
char
** argv) {
21
testing::InitGoogleTest
(&argc, argv);
22
grpc::testing::TestEnvironment
env
(&argc, argv);
23
SetEventEngineFactories
(
24
[]() {
25
return
absl::make_unique
<
26
grpc_event_engine::experimental::IomgrEventEngine
>();
27
},
28
nullptr
);
29
return
RUN_ALL_TESTS
();
30
}
main
int main(int argc, char **argv)
Definition:
iomgr_event_engine_test.cc:20
SetEventEngineFactories
void SetEventEngineFactories(std::function< std::unique_ptr< grpc_event_engine::experimental::EventEngine >()> factory, std::function< std::unique_ptr< grpc_event_engine::experimental::EventEngine >()> oracle_ee_factory)
Definition:
event_engine_test.cc:26
generate.env
env
Definition:
generate.py:37
iomgr_engine.h
absl::make_unique
memory_internal::MakeUniqueResult< T >::scalar make_unique(Args &&... args)
Definition:
third_party/abseil-cpp/absl/memory/memory.h:168
grpc.h
event_engine_test.h
RUN_ALL_TESTS
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
Definition:
bloaty/third_party/googletest/googletest/include/gtest/gtest.h:2471
test_config.h
testing::InitGoogleTest
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
Definition:
bloaty/third_party/googletest/googletest/src/gtest.cc:6106
grpc::testing::TestEnvironment
Definition:
test/core/util/test_config.h:54
grpc_event_engine::experimental::IomgrEventEngine
Definition:
iomgr_engine.h:45
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:08