Merge lp://qastaging/~3v1n0/unity/indicators-tests into lp://qastaging/unity
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Approved by: | Marco Trevisan (Treviño) |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2134 |
Proposed branch: | lp://qastaging/~3v1n0/unity/indicators-tests |
Merge into: | lp://qastaging/unity |
Prerequisite: | lp://qastaging/~3v1n0/unity/dbus-indicators-proxy |
Diff against target: |
724 lines (+605/-31) 3 files modified
UnityCore/Indicators.cpp (+18/-14) tests/CMakeLists.txt (+1/-17) tests/test_indicators.cpp (+586/-0) |
To merge this branch: | bzr merge lp://qastaging/~3v1n0/unity/indicators-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Review via email:
|
Commit message
tests: added gtests for the unity::
Description of the change
tests: added a gtests for the unity::
This was one of the main indicator classes in unitycore because, even if it's abstract (and the only that implements it is DBusIndicators), it has the role to redirect the events from the indicators entries to the panel-service and back.
So, here we're testing the logic of this class, while tests on the real implementation should be added.
To post a comment you must log in.
Line 160 is pointless. You are asserting that something is empty after you just assigned it to "".
Do we have any AP tests for the indicators? I'm not sure we do.