aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDidier Roche <didier.roche@canonical.com>2012-09-20 11:04:39 +0200
committerDidier Roche <didier.roche@canonical.com>2012-09-20 11:04:39 +0200
commit002ce2099a561f1800db82db39633e018228995b (patch)
tree875a383f8dbed47ebf9f1c0bb23c0cd8be4312ca /tests
parentd90c644ebb0bccdc2ce7ea89aa3f8dd01fee575e (diff)
parenta94288f2040965815eb2345b940a736632a06aaa (diff)
downloadayatana-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.cc9
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,