grpc
test
cpp
codegen
codegen_test_minimal.cc
Go to the documentation of this file.
1
/*
2
*
3
* Copyright 2016 gRPC authors.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*/
18
19
#include <gtest/gtest.h>
20
21
#include "
test/core/util/test_config.h
"
22
23
namespace
grpc
{
24
namespace
{
25
26
class
CodegenTestMinimal :
public
::testing::Test
{};
27
28
TEST_F
(CodegenTestMinimal, Build) {}
29
30
}
// namespace
31
}
// namespace grpc
32
33
int
main
(
int
argc,
char
** argv) {
34
grpc::testing::TestEnvironment
env
(&argc, argv);
35
::testing::InitGoogleTest
(&argc, argv);
36
return
RUN_ALL_TESTS
();
37
}
generate.env
env
Definition:
generate.py:37
grpc
Definition:
grpcpp/alarm.h:33
testing::Test
Definition:
bloaty/third_party/googletest/googletest/include/gtest/gtest.h:402
main
int main(int argc, char **argv)
Definition:
codegen_test_minimal.cc:33
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
TEST_F
#define TEST_F(test_fixture, test_name)
Definition:
bloaty/third_party/googletest/googletest/include/gtest/gtest.h:2367
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:58