tree: c95eb3bd4596e598cc82e77d40f5277c6344a875 [path history] [tgz]
  1. llcpp/
  2. BUILD.gn
  3. README.md
  4. test.test.fidl
zircon/system/utest/service/README.md

FIDL Service tests

This directory contains unit tests for FIDL Services, specifically the Low Level C++ (LLCPP) client side and server side APIs.

See //zircon/system/ulib/fidl and //zircon/system/ulib/service.

How to build

When making changes to test.fidl, you must run the gen_llcpp.sh script to regenerate the LLCPP bindings. LLCPP bindings are not generated in the Zircon build system.

fx exec zircon/system/utest/service/gen_llcpp.sh

The generated FIDL C++ files are placed into //zircon/system/utest/service/generated/. Check these in to version control.

How to run

fx set ... --with-base //garnet/tests/zircon:zircon_tests`
fx build
fx shell /system/test/sys/service-llcpp-test