Move assertions in test to use Truth library

Truth library (https://truth.dev/) provides a fluent assertion API that
is easier to read. On top of that it usually provides a more helpful
failure message which helps with debugging failing test cases.

Test: atest --test-mapping packages/modules/Virtualization:avf-presubmit
Change-Id: I5f4670d4af04d56fce9ad476dfb4403b5401f2a9
2 files changed
tree: 9c72a05100bf1d991e7f05dd1437affdc3fdae54
  1. apex/
  2. apkdmverity/
  3. authfs/
  4. avmd/
  5. compos/
  6. demo/
  7. docs/
  8. javalib/
  9. launcher/
  10. libs/
  11. microdroid/
  12. microdroid_manager/
  13. pvmfw/
  14. rialto/
  15. tests/
  16. virtualizationservice/
  17. vm/
  18. vmbase/
  19. vmclient/
  20. zipfuse/
  21. .clang-format
  22. .gitignore
  23. Android.bp
  24. OWNERS
  25. PREUPLOAD.cfg
  26. README.md
  27. TEST_MAPPING
README.md

Virtualization

This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.