Commit Graph

145 Commits

Author SHA1 Message Date
Cheng-Yu Chung cc58369279 Remove include/grpcpp/impl/codegen/completion_queue.h (#31059)
* Remove `include/grpcpp/impl/codegen/completion_queue.h`

* Update

* Update

* Fix build error

* Update
2022-10-10 11:35:09 -04:00
Cheng-Yu Chung d76c6f61f0 Remove include/grpcpp/impl/codegen/method_handler.h (#31249) 2022-10-06 15:50:54 -04:00
Cheng-Yu Chung 488f17eb46 Remove include/grpcpp/impl/codegen/message_allocator.h (#31246) 2022-10-06 13:18:24 -04:00
Cheng-Yu Chung 4ba0f9afb5 Revert "Revert "Remove include/grpcpp/impl/codegen/client_callback.h (#31005)" (#31079)" (#31087)
This reverts commit da08fe1d6f.
2022-10-04 13:59:32 -04:00
Cheng-Yu Chung 0e8a6515df Remove include/grpcpp/impl/codegen/client_context.h (#31006)
* Remove `include/grpcpp/impl/codegen/client_context.h`

* Update

* Update
2022-10-03 18:01:22 -04:00
Craig Tiller da08fe1d6f Revert "Remove include/grpcpp/impl/codegen/client_callback.h (#31005)" (#31079)
This reverts commit 17f515744f.
2022-09-20 18:58:54 -07:00
Cheng-Yu Chung 17f515744f Remove include/grpcpp/impl/codegen/client_callback.h (#31005) 2022-09-20 13:51:55 -04:00
Cheng-Yu Chung b765b06155 Remove include/grpcpp/impl/codegen/async_stream.h (#30941)
* Remove `include/grpcpp/impl/codegen/async_stream.h`

* Fix

* Fix

* Update
2022-09-14 13:40:35 -04:00
Cheng-Yu Chung cb3d7a9e9e Revert "Revert "Remove include/grpcpp/impl/codegen/async_unary_call.h"" (#30955)
* Revert "Revert "Remove `include/grpcpp/impl/codegen/async_unary_call.h` (#30945)" (#30950)"

This reverts commit 0c454fa875.

* Fix
2022-09-13 15:57:15 -04:00
Cheng-Yu Chung 6e57952589 Revert "Revert "Remove include/grpcpp/impl/codegen/async_generic_service.h (#30450)" (#30951)" (#30956)
This reverts commit a81b61113c.
2022-09-13 14:45:38 -04:00
Craig Tiller 0c454fa875 Revert "Remove include/grpcpp/impl/codegen/async_unary_call.h (#30945)" (#30950)
This reverts commit 7dbc73d4f3.
2022-09-12 16:44:07 -07:00
Craig Tiller a81b61113c Revert "Remove include/grpcpp/impl/codegen/async_generic_service.h (#30450)" (#30951)
This reverts commit c6326bbc75.
2022-09-12 16:43:55 -07:00
Cheng-Yu Chung c6326bbc75 Remove include/grpcpp/impl/codegen/async_generic_service.h (#30450)
* Remove `include/grpcpp/impl/codegen/async_generic_service.h`

* Fix test

* Reserve compatibility
2022-09-12 18:19:59 -04:00
Cheng-Yu Chung 7dbc73d4f3 Remove include/grpcpp/impl/codegen/async_unary_call.h (#30945) 2022-09-12 18:05:10 -04: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
Richard Belleville 468768865b Make Buildifier Sanity Test Strict (#27807)
* Fix all lint errors in repo.

* Use strict buildifier by default

* Whoops. That file does not exist

* Attempt fix to buildifier invocation

* Add missing copyright
2021-11-03 14:57:04 -07:00
Craig Tiller d1e01ac139 Add a test for a (now-illegal) build file construct (#27602)
* Add a test for a (now-illegal) build file construct

* add to test suite!

* fix

* fix

* fix syntax
2021-10-06 07:43:59 -07: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
vperus 53701640c6 codegen: Correct indentation (#26702) 2021-07-21 10:52:08 -07:00
Vijay Pai 4aa9591662 Devirtualize experimental_async() as a stub function (#26532) 2021-06-24 16:32:02 -07:00
Vijay Pai cf1ebf7387 Remove experimental tag from uses of the C++ callback API (#26495) 2021-06-20 00:47:07 -07:00
mkruskal-google 2bf75aa68a Add optional suffix to client-side stub objects (#25996)
* Adding suffix for stats handling to gRPC

* Fixing typo

* Fixing codegen, adding tests

* Fixing test failures

* Adding nullptr default in StubOptions

* Updating golden test file

* Replacing std::make_unique with absl::make_unique for pre-C++14 compatibility

* Fixing clang format  errors

* Reuse stub options for generic stubs

* Cleaning up compiler warnings in GenericStub
2021-04-26 17:19:43 -07:00
Vijay Pai 33d7aaffe8 Fix const-ness of callback client read RPC requests (#25763)
* Fix const-ness of callback client read RPC requests

* Fix golden file
2021-03-19 01:12:28 -07:00
Mark D. Roth 27e1c1c56d clang-tidy: enable google-readability-braces-around-statements 2020-11-06 13:41:44 -08:00
capstan 131579d52d Roll forward of commit 7883b51: Use abseil's flags in tests.
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493.

This reverts commit da66b7d14e.

NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440.
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
2020-11-06 16:07:19 +01:00
Nathan Herring da66b7d14e Revert "Abseil Flags" 2020-10-24 15:19:55 -07:00
capstan 7883b5133d Use abseil's flags in tests.
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493.
2020-10-23 19:36:33 +02:00
Vijay Pai 25cbc854d2 Fix compiler_test_golden 2020-10-06 17:48:05 -07:00
Karthik Ravi Shankar 375d92be8d Merge branch 'master' into sync-stream 2020-09-08 15:14:48 -07:00
Karthik Ravi Shankar 67667eb7b6 Revert ... 2020-09-03 08:16:10 -07:00
Karthik Ravi Shankar b657c8d79c Revert "Revert "Move ServerContext from ::grpc_impl to ::grpc"" 2020-09-02 10:17:00 -07:00
Karthik Ravi Shankar f1abdd1725 Revert "Move ServerContext from ::grpc_impl to ::grpc" 2020-09-01 22:54:54 -07:00
Karthik Ravi Shankar 75187ec316 fix golden test file for codegen test 2020-08-20 17:03:40 -07:00
Esun Kim 3e7d5976b5 Add TestEnvironment to tests 2020-07-30 11:06:52 -07:00
Esun Kim f2374fb591 Add TestEnvironment to tests 2020-07-29 19:29:55 -07:00
Vijay Pai c86cfc305c Remove all std::mem_fn and std::bind from service definitions and setup 2020-03-25 16:48:36 -07:00
Vijay Pai 8d9d8326f5 De-experimentalize generated code 2019-12-11 16:21:23 -08:00
Vijay Pai 0ba1a0e464 Remove unused forward declarations produced by C++ code generator 2019-12-03 22:35:39 -08:00
Vijay Pai be6979202b Revamp server-side C++ callback API, message allocator, and mocking 2019-11-20 16:56:18 -08:00
Lidi Zheng c34bef4ca4 Format all Bazel files with buildifier 2019-11-05 14:03:52 -08:00
Jan Tattermusch 6ebc1c616f set uses_polling=False for some bazel tests 2019-09-24 09:50:00 +02:00
Karthik Ravi Shankar a1c0d3442f Merge branch 'master' into move-method-handler 2019-09-03 14:47:45 -07:00
Karthik Ravi Shankar 2b8ad5ee56 Fix golden test compilation 2019-08-21 16:30:51 -07:00
Christian Maurer 33b8b3f998 Removed whitespace before asterisk 2019-08-06 12:48:37 +02:00
Christian Maurer 46dddacdf3 remove all unused-parameter warnings 2019-07-30 13:10:53 +02:00
Moiz Haidry bf994e48d9 Move grpc async, callback and sync implementation to grpc_impl namespace 2019-07-01 14:05:54 -07:00
rmstar ce282e7d7e Merge pull request #19395 from rmstar/c++_on_ios
Fix C++ tests to run on iOS
2019-06-28 11:03:22 -07:00
Moiz Haidry fbd5957ee8 Sanity and build fixes 2019-06-21 12:28:55 -07:00
Prashant Jaikumar fbfb93c88f Fix C++ tests to run on iOS
- Define grpc_iomgr_run_in_background in iomgr_posix_cfstream.cc
- Use *_IF_SUPPORTED() for death tests
- Move global test init, teardown to SetUpTestCase, TearDownTestCase as GTMGoogleTestRun doesn't run main()
2019-06-20 18:16:20 -07:00
Moiz Haidry 226e63dd0c Move server context implementation to grpc_impl namespace and typedef the ref to it 2019-06-05 10:41:30 -07:00