class UsbCdcTestHelper

Defined at line 42 of file ../../src/connectivity/ethernet/drivers/usb-cdc-function/usb-cdc-function-test.cc

UsbCdcTestHelper exposes hooks to inspect private endpoint state for tests.

Note: In this test-only precursor CL, these methods return stubbed values to allow

compilation against the unmodified driver. A subsequent CL introducing the

dead-endpoint tracking feature will connect these methods to the real driver state.

Public Methods

bool IsIntrEndpointDead (const UsbCdcFunction & )

Defined at line 44 of file ../../src/connectivity/ethernet/drivers/usb-cdc-function/usb-cdc-function-test.cc

bool IsRxEndpointDead (const UsbCdcFunction & )

Defined at line 47 of file ../../src/connectivity/ethernet/drivers/usb-cdc-function/usb-cdc-function-test.cc

bool IsTxEndpointDead (const UsbCdcFunction & )

Defined at line 48 of file ../../src/connectivity/ethernet/drivers/usb-cdc-function/usb-cdc-function-test.cc

size_t ActiveRxVmoIdsSize (const UsbCdcFunction & )

Defined at line 49 of file ../../src/connectivity/ethernet/drivers/usb-cdc-function/usb-cdc-function-test.cc