profiles/internal: Refactor IPC tests.
There are three types of tests in package ipc.
(1) Unit tests in "package ipc".
(2) Tests in "package ipc_test" that rely on conditionally compiled
code in "package ipc".
(3) Tests in "package ipc_test" that do no rely on the above.
This change does the following:
(a) Move (3) to a subpackage in ipc, "package test" instead.
(b) Introduce fake runtime injection to support tests for (2). Currently only
resolve test.
This fake runtime injection allows us to use different runtimes for tests
in the same package. (i.e. we now have a easier way to mock out all the ipc
tests, stay tuned...)
Change-Id: I2d7fa36df3d3b3fc3d2221343e9ba0749195bdaa
12 files changed