| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
Adds a mock sensor for use in future tests, as well as
adds a unit-test to sensor_manager_unittest to check that the
type of a sensor added is not validated against anything.
Change-Id: I684ec71c02f427cfa7a414a6a4162beaba2269da
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
| |
Tests for pluggable sensors. Pluggable sensors themselves do nothing
but hold min/max values, and call into Read and Write interfaces.
Change-Id: I8991d22d77172fb9b2f897c02603e5ab5747ac12
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enabled unit-tests in general for the project, and more
specifically started with a benign construction test for
the SensorManager object.
Tested: Verified continues to build and link, and unit-test
passes.
Tested: Ran on quanta-q71l board and it behaved as expected.
Change-Id: I4ad9a0c57efd0b9ccc37d26faa0cc1b82026b8d7
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
| |
Add controller mock.
Change-Id: I7341b26281571c91039f05e049cf54c50f9fccdb
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
|
| |
The pluggable sensor object receives a reader and writer
interface. These are now mocked to enable some testing that
involves Pluggable Sensors.
Change-Id: If2d121ab47a2c044b0f3fd3465bfe45cf26c4f98
Signed-off-by: Patrick Venture <venture@google.com>
|
|
This CL simply enables unit-tests.
Change-Id: I4ea62005566e2aa42fc29258559654fe2745f726
Signed-off-by: Patrick Venture <venture@google.com>
|