The following directory hosts examples resolving components from Subpackages (RFC-0154). Subpackages are explained in the developer guide.
The tests are meant to demonstrate compilable code. This means that it will always contain the latest API surface of each of the client libraries.
If these components are not present in your build, they can be added by appending --with //examples:tests
to your fx set
command. For example:
$ fx set core.x64 --with //examples --with //examples:tests $ fx build
Run the tests for all languages using the subpackage-examples
package.
$ fx test subpackage-examples
When successfully executed, the test output should include something similar to the following:
[00028.249197][echo_client] INFO: Server response: Hello Fuchsia! [00028.249630][echo_client] INFO: Server response: Hello subpackaged server!