tree: 16e8b0d0e7194eb4201ccb9d0118ee1240791df5 [path history] [tgz]
  1. golden-output/
  2. tiny-framework/
  3. tiny-test/
  4. Android.bp
  5. AndroidTest-host.xml
  6. annotation-allowed-classes-tiny-framework.txt
  7. diff-and-update-golden.sh
  8. policy-override-tiny-framework.txt
  9. README.md
  10. run-test-manually.sh
  11. tiny-framework-dump-test.py
tools/hoststubgen/hoststubgen/test-tiny-framework/README.md

HostStubGen: tiny-framework test

This directory contains a small classes that "simulates" framework.jar, and tests against it.

This test is agnostic to Android, and it doesn't use any android framework code or knowledge.

How to run

  • With atest. This is the proper way to run it, but atest has known problems that may affect the result. If you see weird problems, try the next run-ravenwood-test command.
$ atest hoststubgen-test-tiny-test
  • run-test-manually.sh also run the test, but it builds the stub/impl jars and the test without using the build system. This is useful for debugging the tool.
$ ./run-test-manually.sh