Public Member Functions | Private Attributes | List of all members
test_ping.TestcasePing Class Reference
Inheritance diagram for test_ping.TestcasePing:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def get_base_server (self)
 
def on_connection_lost (self, reason)
 
def on_data_received (self, event)
 
def on_request_received (self, event)
 

Private Attributes

 _base_server
 

Detailed Description

This test injects PING frames before and after header and data. Keeps count
of outstanding ping response and asserts when the count is non-zero at the
end of the test.

Definition at line 20 of file test_ping.py.

Constructor & Destructor Documentation

◆ __init__()

def test_ping.TestcasePing.__init__ (   self)

Definition at line 27 of file test_ping.py.

Member Function Documentation

◆ get_base_server()

def test_ping.TestcasePing.get_base_server (   self)

Definition at line 34 of file test_ping.py.

◆ on_connection_lost()

def test_ping.TestcasePing.on_connection_lost (   self,
  reason 
)

Definition at line 53 of file test_ping.py.

◆ on_data_received()

def test_ping.TestcasePing.on_data_received (   self,
  event 
)

Definition at line 42 of file test_ping.py.

◆ on_request_received()

def test_ping.TestcasePing.on_request_received (   self,
  event 
)

Definition at line 37 of file test_ping.py.

Member Data Documentation

◆ _base_server

test_ping.TestcasePing._base_server
private

Definition at line 28 of file test_ping.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:44