ec533e0f59b7e88bac734d538f596ab095bc74ca |
|
01-Oct-2016 |
mukesh agrawal <quiche@google.com> |
add OS abstraction Add the Os class, which abstracts the clock_gettime() call. (Additionally methods will be added over time.) Additionally: - Add the MockOs class, so that other classes can be tested in isolation from the underlying system. - Add the RawOs class, to test the logic within the Os class itself. - Add unit tests for the Os class. Bug: 31862754 Test: ./runtests.sh (on bullhead) Change-Id: Ic40e09439966d74b1e470bcfd66d8c8e74157137
/system/connectivity/wifilogd/tests/mock_os.cpp
|