I am new to AOSP.
We are developing an AOSP C++ middleware module. Currently we have the LOCAL_MODULE setup as the name Foo, with some LOCAL_SHARED_LIBRARIES like Audio, SqliteDatabase, Curl, http client, etc...
I would like to see if it is possible to use googletest to run some unit tests against my code.
I am having issues setup and running the tests. Could anyone give me some guidelines or some examples? (Even a fooDummyTest assert(true) is fine).
- How do I structure my code?
- What do I do to run the tests? (make Foo vs make FooTest?)
Any resources or links are welcome, thanks in advance!!!