The server test suite is a framework to test the implementation of servers in FIDL bindings, such as how they respond to incorrect ordinals, an unexpected channel closure, and other protocol level semantic aspects.
Each test involves:
This test suite uses three main FIDL protocols:
These protocol definitions can be found in the FIDL server suite.
The various test cases which leverage the framework are in harness/tests.cc.
To run the server test suite
fx set core.x64 --with //bundles/fidl:tests
Then
fx test fidl-server-suite-rust-test (e.g. for rust)
To run all bindings use
fx test //src/tests/fidl/server_suite