tree: 690372174638f14b242e5c8b015c8aa3dac8d5b5 [path history] [tgz]
  1. golden-output/
  2. golden-output.RELEASE_TARGET_JAVA_21/
  3. tiny-framework/
  4. tiny-test/
  5. Android.bp
  6. AndroidTest-host.xml
  7. annotation-allowed-classes-tiny-framework.txt
  8. diff-and-update-golden.sh
  9. policy-override-tiny-framework.txt
  10. README.md
  11. run-test-manually.sh
  12. tiny-framework-dump-test.py
ravenwood/tools/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