Commit Graph

26 Commits

Author SHA1 Message Date
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 5dcc85e006581a8fc52a3a914baa5f33e4a21589
PiperOrigin-RevId: 629229220
2024-04-29 17:06:40 -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
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
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
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
yang-g
37783d6329 Stop calling ParseCommandLineFlags directly, use wrapper call instead 2019-04-24 10:09:39 -07:00
yang-g
67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
Alexander Polcyn
f133259617 Fix broken golden file test under bazel 2018-03-09 14:45:43 -08:00
Alexander Polcyn
d3dbc0d07b Mark one test binary as testonly 2017-12-19 16:04:00 -08:00
Alexander Polcyn
2830e3a326 Enable golden file test in bazel 2017-12-11 19:19:27 -08:00
Vijay Pai
5e7ceebf6b Need explicit "protobuf" dependence on proto_utils_test 2017-11-03 22:37:03 +00:00
Nicolas "Pixel" Noble
2bc5e3ac40 Moving visibility and package creation to the build system. 2017-08-30 19:18:37 +02:00
Nicolas "Pixel" Noble
5d80dc4985 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-06-26 22:01:11 +02:00
Jan Tattermusch
4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch
7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Nicolas "Pixel" Noble
af6c83f9e1 Adding dummy layering check option. 2017-05-19 01:53:56 +02:00
Nicolas "Pixel" Noble
eb36b8ac77 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-05-11 23:24:37 +02:00
Mahak Mukhi
443a75dd22 1. Added golden file test.
2. Added support for mock.
3. Sanity fix.
2017-04-14 15:33:55 -07:00
Nicolas "Pixel" Noble
7c26eed838 Buildifier and wrapping test/cpp/* rules with our build system. 2017-04-13 02:03:22 +02:00
David Garcia Quintas
e854357117 Reintroduced golden_file_test 2017-02-21 10:44:02 -08:00
David Garcia Quintas
1f980cf7bb Removed useless cpp/codegen/golden_file_test 2017-02-17 16:43:26 -08:00
David Garcia Quintas
eb4c47e006 test/cpp/codegen 2017-02-17 15:41:20 -08:00