diff options
author | Didier Roche <didier.roche@canonical.com> | 2012-09-20 11:04:39 +0200 |
---|---|---|
committer | Didier Roche <didier.roche@canonical.com> | 2012-09-20 11:04:39 +0200 |
commit | 002ce2099a561f1800db82db39633e018228995b (patch) | |
tree | 875a383f8dbed47ebf9f1c0bb23c0cd8be4312ca /tests | |
parent | d90c644ebb0bccdc2ce7ea89aa3f8dd01fee575e (diff) | |
parent | a94288f2040965815eb2345b940a736632a06aaa (diff) | |
download | ayatana-indicator-power-002ce2099a561f1800db82db39633e018228995b.tar.gz ayatana-indicator-power-002ce2099a561f1800db82db39633e018228995b.tar.bz2 ayatana-indicator-power-002ce2099a561f1800db82db39633e018228995b.zip |
* Cherry-pick:
- Ensure the power indicator string translations are loaded. Thanks lars
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-device.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/test-device.cc b/tests/test-device.cc index 2c88ea1..728010d 100644 --- a/tests/test-device.cc +++ b/tests/test-device.cc @@ -252,9 +252,12 @@ TEST_F(DeviceTest, IconNames) g_object_set (o, INDICATOR_POWER_DEVICE_KIND, UP_DEVICE_KIND_BATTERY, INDICATOR_POWER_DEVICE_STATE, UP_DEVICE_STATE_FULLY_CHARGED, NULL); - check_icon_names (device, "battery-full-charged-symbolic;battery-full-charging-symbolic;" - "gpm-battery-full;gpm-battery-100;" - "battery-full-charged;battery-full-charging"); + check_icon_names (device, "battery-full-charged-symbolic;" + "battery-full-charging-symbolic;" + "gpm-battery-full;" + "gpm-battery-100;" + "battery-full-charged;" + "battery-full-charging"); // charging battery, 95% g_object_set (o, INDICATOR_POWER_DEVICE_KIND, UP_DEVICE_KIND_BATTERY, |