Searched refs:TestAssertion (Results 1 – 2 of 2) sorted by relevance
| /tonic/interop/src/ |
| H A D | lib.rs | 53 pub enum TestAssertion { enum 64 impl TestAssertion { impl 66 matches!(self, TestAssertion::Failed { .. }) in is_failed() 70 impl fmt::Display for TestAssertion { implementation 74 TestAssertion::Passed { ref description } => write!( in fmt() 80 TestAssertion::Failed { in fmt() 92 TestAssertion::Failed { in fmt() 111 $crate::TestAssertion::Passed { 115 TestAssertion::Failed { 124 $crate::TestAssertion::Passed { [all …]
|
| H A D | client.rs | 3 TestAssertion, 21 pub async fn empty_unary(client: &mut TestClient, assertions: &mut Vec<TestAssertion>) { in empty_unary() argument 40 pub async fn large_unary(client: &mut TestClient, assertions: &mut Vec<TestAssertion>) { in large_unary() argument 84 pub async fn client_streaming(client: &mut TestClient, assertions: &mut Vec<TestAssertion>) { in client_streaming() argument 111 pub async fn server_streaming(client: &mut TestClient, assertions: &mut Vec<TestAssertion>) { in server_streaming() argument 153 pub async fn ping_pong(client: &mut TestClient, assertions: &mut Vec<TestAssertion>) { in ping_pong() argument 184 assertions.push(TestAssertion::Failed { in ping_pong() 209 pub async fn empty_stream(client: &mut TestClient, assertions: &mut Vec<TestAssertion>) { in empty_stream() argument 231 fn validate_response<T>(result: Result<T, Status>, assertions: &mut Vec<TestAssertion>) in status_code_and_message() 330 assertions: &mut Vec<TestAssertion>, in unimplemented_service() argument [all …]
|