xref: /aosp_15_r20/frameworks/base/ravenwood/tools/hoststubgen/test-tiny-framework/README.md (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1# HostStubGen: tiny-framework test
2
3This directory contains a small classes that "simulates" framework.jar, and tests against it.
4
5This test is agnostic to Android, and it doesn't use any android framework code or knowledge.
6
7## How to run
8
9- With `atest`. This is the proper way to run it, but `atest` has known problems that may
10  affect the result. If you see weird problems, try the next `run-ravenwood-test` command.
11
12```
13$ atest hoststubgen-test-tiny-test
14```
15
16- `run-test-manually.sh` also run the test, but it builds the stub/impl jars and the test without
17  using the build system. This is useful for debugging the tool.
18
19```
20$ ./run-test-manually.sh
21```