Mark D. Roth
0944410d6c
[reorg] move test/core/util -> test/core/test_util ( #36446 )
...
Closes #36446
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36446 from markdroth:reorg_test 5dcc85e006
PiperOrigin-RevId: 629229220
2024-04-29 17:06:40 -07:00
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2022-12-22 23:01:53 -08:00
Cheng-Yu Chung
5498481265
Remove `include/grpcpp/impl/codegen/proto_utils.h` ( #31532 )
2022-11-29 21:33:55 +08:00
Esun Kim
530b702259
Update Clang 15 ( #31518 )
...
* clang-15
* iwyu
* run clang_format_code
* Clang-Tidy config
* Fix misc-unused-using-decls
* Fixed performance-inefficient-vector-operation
* Sanity
2022-11-04 09:08:03 -07:00
Craig Tiller
9c98d67d7a
[c++14] absl::make_unique --> std::make_unique ( #31159 )
...
* [c++14] absl::make_unique --> std::make_unique
* fix
* fix
2022-09-29 06:45:17 -07:00
AJ Heller
18a8f6aad9
Refactor end2end tests to exercise each EventEngine ( #29202 )
...
* Refactor end2end tests to exercise each EventEngine
* fix incorrect bazel_only exclusions
* Automated change: Fix sanity tests
* microbenchmark fix
* sanitize, fix iOS flub
* Automated change: Fix sanity tests
* iOS fix
* reviewer feedback
* first pass at excluding EventEngine test expansion
Also caught a few cases where we should not test pollers, but should
test all engines. And two cases where we likely shouldn't be testing
either product.
* end2end fuzzers to be fuzzed differently via EventEngine.
* sanitize
* reviewer feedback
* remove misleading comment
* reviewer feedback: comments
* EE test_init needs to play with our build system
* fix golden file test runner
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2022-03-30 15:43:05 -07:00
AJ Heller
85189b24bb
Reintroduce: Avoid fully qualifying namespaces (and add check) ( #28917 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
2022-02-18 16:18:54 -08:00
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701 .
2022-02-17 17:56:19 -08:00
AJ Heller
fc7314c701
Avoid fully qualifying namespaces (and add check) ( #28901 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
2022-02-17 16:23:25 -08:00
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
Esun Kim
2ff84ed8c2
C++ cast for void*
2020-11-30 17:29:15 -08:00
Mark D. Roth
27e1c1c56d
clang-tidy: enable google-readability-braces-around-statements
2020-11-06 13:41:44 -08:00
Esun Kim
aae4f4cf18
Fix by misc-unused-using-decls
2020-10-19 18:12:11 -07:00
Esun Kim
bba8facb4a
Merge pull request #24456 from veblush/tidy-readability-redundant-smartptr-get
...
[Clang-Tidy] readability-redundant-smartptr-get
2020-10-19 09:54:15 -07:00
Esun Kim
3fef4e7435
Fix by readability-redundant-smartptr-get
2020-10-16 14:16:42 -07:00
Esun Kim
6ae8463500
Fix by modernize-make-unique
2020-10-16 13:30:56 -07:00
Yash Tibrewal
e310d4366c
Receive SETTINGS frame on clients before declaring subchannel READY
2020-07-31 02:01:40 -07:00
Esun Kim
165ee5007a
Replaced grpc::string with std::string
2020-06-29 17:56:36 -07:00
Vijay Pai
c22afac623
Merge pull request #16733 from vjpai/generic_lifetime
...
Confirm that generic API method name is not needed after call creation
2019-08-27 14:40:52 -07:00
Moiz Haidry
da85cec0f2
Add condition to avoid duplicate shutdown
2019-07-19 14:19:23 -07:00
Moiz Haidry
f4b1182a10
Addressed review comments
2019-07-19 13:48:35 -07:00
Moiz Haidry
6d984166bd
Porting Aaron Jacob's unit test that detecting the race
2019-07-19 11:45:33 -07:00
Karthik Ravi Shankar
60bdeef9f4
Move Channel also to impl for now
2019-04-23 14:03:06 -07:00
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
2019-04-23 13:54:26 -07:00
Vijay Pai
b20f158922
Deflake a shared CQ usage
2019-01-29 13:02:48 -08:00
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
2018-11-30 08:57:38 -08:00
Vijay Pai
b4109be584
Confirm that generic API method name is not needed after call creation
2018-09-28 09:04:35 -07:00
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
2018-03-08 22:04:59 -08:00
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
2018-02-19 22:39:58 -08:00
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
2018-02-12 11:44:52 -08:00
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
2018-02-09 09:16:55 -08:00
Muxi Yan
6f0b195d20
Replace GRPC_COMPRESS_MESSAGE_* with GRPC_COMPRESS_*
2018-02-06 18:17:42 -08:00
Vijay Pai
dcd5ef3ad8
Deprecate GenericStub()::Call for multi-threaded use
2018-02-05 13:08:44 -08:00
Muxi Yan
fc38142db6
Merge commit 'b0bad8f^' into fix-stream-compression-config-interface
2017-12-06 22:02:08 -08:00
Muxi Yan
38fcd0c6c3
clang-format
2017-12-06 18:55:05 -08:00
yang-g
0b9b7d2610
Use same cq for client and server
2017-11-07 11:27:02 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Muxi Yan
03fc857a6f
Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface
2017-10-06 18:47:09 -07:00
Craig Tiller
1e868f0f95
Merge github.com:grpc/grpc into flowctl+millis
2017-09-29 11:18:26 -07:00
Muxi Yan
8fa4d15513
Fix C++ builds
2017-09-26 09:53:55 -07:00
Vijay Pai
2046d0b3c5
Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip
2017-09-21 22:23:44 -07:00
Craig Tiller
ff58b27696
Make generic_test tolerant of encoding
2017-09-21 10:40:42 -07:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble
232e9b458b
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-05-12 20:15:06 +02:00
yang-g
a044f6d3f5
Propagate deadline to GenericServerContext
2017-05-11 15:37:51 -07:00
Nicolas "Pixel" Noble
3726e3d37b
Moving gtest include down.
...
In some cases, depending on the direction of the wind, and the phase of the moon, gtest can interfere with protobuf badly with macros cross-pollution between the two projects. Moving the gtest inclusion at the end makes the problem go away.
2017-05-10 18:33:12 +02:00
Vijay Pai
c0b2acb1a0
Use C++11 final and override
2016-11-01 16:31:56 -07:00
yang-g
17487f9a22
Make grpc++ independent of protobuf
2016-06-03 15:21:15 -07:00
Craig Tiller
6169d5f7b0
Update copyrights
2016-03-31 07:46:18 -07:00
yang-g
f64befd27f
Make a copy of ByteBuffer when writing
2016-03-21 14:04:10 -07:00