Home
last modified time | relevance | path

Searched hist:a5003ceb4425ebd4b2f71d3478027e8fa75d4860 (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-time-manager/test/
H A Dmocked_property_change_listener.hppa5003ceb4425ebd4b2f71d3478027e8fa75d4860 Fri Feb 24 01:35:25 CST 2017 Lei YU <mine260309@gmail.com> Use gmock on property_change_listener

1. Mock property_change_listener;
2. Make unit test link against gmock
3. Update TestManager to use mocked property change listener.
4. Fix an issue found by the updated test case, that when the properties
are changed during host is on, and changed back to the same as before,
when host becomes off, the properties shall remain the same and listeners
shall not be notified.

Change-Id: I815b59cb23edfcac910c2a8c26ea5a71e872d92f
Signed-off-by: Lei YU <mine260309@gmail.com>
H A DTestManager.cppdiff a5003ceb4425ebd4b2f71d3478027e8fa75d4860 Fri Feb 24 01:35:25 CST 2017 Lei YU <mine260309@gmail.com> Use gmock on property_change_listener

1. Mock property_change_listener;
2. Make unit test link against gmock
3. Update TestManager to use mocked property change listener.
4. Fix an issue found by the updated test case, that when the properties
are changed during host is on, and changed back to the same as before,
when host becomes off, the properties shall remain the same and listeners
shall not be notified.

Change-Id: I815b59cb23edfcac910c2a8c26ea5a71e872d92f
Signed-off-by: Lei YU <mine260309@gmail.com>
/openbmc/phosphor-time-manager/
H A Dmanager.hppdiff a5003ceb4425ebd4b2f71d3478027e8fa75d4860 Fri Feb 24 01:35:25 CST 2017 Lei YU <mine260309@gmail.com> Use gmock on property_change_listener

1. Mock property_change_listener;
2. Make unit test link against gmock
3. Update TestManager to use mocked property change listener.
4. Fix an issue found by the updated test case, that when the properties
are changed during host is on, and changed back to the same as before,
when host becomes off, the properties shall remain the same and listeners
shall not be notified.

Change-Id: I815b59cb23edfcac910c2a8c26ea5a71e872d92f
Signed-off-by: Lei YU <mine260309@gmail.com>
H A Dmanager.cppdiff a5003ceb4425ebd4b2f71d3478027e8fa75d4860 Fri Feb 24 01:35:25 CST 2017 Lei YU <mine260309@gmail.com> Use gmock on property_change_listener

1. Mock property_change_listener;
2. Make unit test link against gmock
3. Update TestManager to use mocked property change listener.
4. Fix an issue found by the updated test case, that when the properties
are changed during host is on, and changed back to the same as before,
when host becomes off, the properties shall remain the same and listeners
shall not be notified.

Change-Id: I815b59cb23edfcac910c2a8c26ea5a71e872d92f
Signed-off-by: Lei YU <mine260309@gmail.com>