2

I'm having some hard time to understand the different Android platform test types and how it maps to the Soong module types

Basically from what I read:

  • Local unit test (which runs on local JVM)
  • Instrumented tests (exercise framework APIs via application framework or invoke Android system services via raw binder/IPC proxies directly)
  • Native tests (interact directly with HALs via low-level APIs or IPC interfaces)

How do the Soong test module tests map to the different types of Android platform tests? E.g.

  • cc_test, java_test, python_test etc. seem to be used in many native test modules?
  • cc_test_host, java_test_host, python_test_host, I assume those are for local unit tests?
  • android_test, android_test_helper_app, etc.
Chen Xie
  • 3,849
  • 8
  • 27
  • 46

0 Answers0