History log of /system/libvintf/test/utils-fake.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8640cd1323b88e987aa4603e4c8209a46b082d23 17-May-2017 Yifan Hong <elsk@google.com> Add more vintf_object_test

* Fix duplicated Compat2 test in libvintf_test
The test is duplicated in libvintf_test and vintf_object_test;
it also fails because details::CheckCompatibility doesn't take
GetXCompatibilityMatrix functions.

* Add PartitionMounter that allows mocking on mount
procedures

* Fix duplicated mount and unmount in checkCompatibility

Test: libvintf_test
Test: vintf_object_test

Change-Id: I07be537696efe64f084fdbed77a781b26e971784
/system/libvintf/test/utils-fake.h
97dc0f94e3747da528bc2531a67c9c1ec193520c 08-May-2017 Michael Schwartz <schwartzmi@google.com> VintfObject::verify() will fetch data from device

- If no info is provided then all data is fetched from device.
- Add hook to mock retrieving files from device.
- Add test.
- Print more detailed messages on AVB failures.

Test: Ran vintf_object_test and libvintf_test
Bug: 37863689
Bug: 36814984
Change-Id: Ia33f4e2e73c863bc0f8f68f5ed61c30df8eff53d
Merged-In: Ia33f4e2e73c863bc0f8f68f5ed61c30df8eff53d
/system/libvintf/test/utils-fake.h