Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 38) sorted by relevance

12

/tonic/
H A DCargo.toml12 "tests/disable_comments",
13 "tests/included_service",
14 "tests/same_name",
16 "tests/wellknown",
22 "tests/stream_conflict",
23 "tests/root-crate-path",
24 "tests/compression",
25 "tests/web",
27 "tests/use_arc_self",
28 "tests/default_stubs",
[all …]
H A DCONTRIBUTING.md129 include one or more tests to ensure that the crate does not regress in the future.
130 There are two ways to write tests: integration tests and documentation tests
131 (Tokio avoids unit tests as much as possible).
133 #### Integration tests
135 Integration tests go in the same crate as the code they are testing. Each sub
137 `tonic` utilities available to use in tests, no matter the crate being
141 integration tests in the crate and follow the style.
143 #### Documentation tests
146 use the API. Documentation tests are run with `cargo test --doc`. This ensures
149 The trick to documentation tests is striking a balance between being succinct
[all …]
/tonic/tonic-types/src/
H A Dlib.rs159 mod tests { module
/tonic/tonic-reflection/src/
H A Dlib.rs31 mod tests { module
/tonic/tests/integration_tests/
H A DCargo.toml5 name = "integration-tests"
/tonic/tonic-health/src/
H A Dlib.rs29 mod tests { module
/tonic/tonic/src/transport/channel/service/
H A Duser_agent.rs50 mod tests { module
/tonic/tonic/src/service/
H A Dlayered.rs65 mod tests { module
/tonic/tonic-types/src/richer_error/std_messages/
H A Drequest_info.rs89 mod tests { module
H A Dloc_message.rs90 mod tests { module
H A Ddebug_info.rs86 mod tests { module
H A Dresource_info.rs106 mod tests { module
H A Derror_info.rs104 mod tests { module
H A Dretry_info.rs119 mod tests { module
H A Dhelp.rs142 mod tests { module
H A Dbad_request.rs146 mod tests { module
H A Dquota_failure.rs143 mod tests { module
H A Dprec_failure.rs166 mod tests { module
/tonic/interop/proto/grpc/testing/
H A Dmessages.proto73 // implement the full compression tests by introspecting the call to verify
102 // implement the full compression tests by introspecting the call to verify
126 // implement the full compression tests by introspecting the call to verify
/tonic/tonic/src/
H A Dresponse.rs137 mod tests { module
/tonic/tonic/src/transport/server/
H A Dincoming.rs120 mod tests { module
/tonic/tonic/benches-disabled/
H A DREADME.md13 3) As we are not testing tonic-build compile time, the tests reference pre-compiled .rs files in 'b…
/tonic/tonic/src/codec/
H A Dbuffer.rs109 mod tests { module
/tonic/.github/workflows/
H A DCI.yml147 - name: Run interop tests
150 - name: Run interop tests with Rustls
/tonic/tonic/src/metadata/
H A Dkey.rs281 mod tests { module

12