aboutsummaryrefslogtreecommitdiff
path: root/tests/volume-control-test.cc
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-09 14:14:15 -0600
committerTed Gould <ted@gould.cx>2015-02-09 14:14:15 -0600
commitea846294e73c242b6574085533a9899a585eecf9 (patch)
tree899cbc32e9284b99049da7a301fd00fc999dc77d /tests/volume-control-test.cc
parent330b0347282f3e6de77cfe58176ad764495676ec (diff)
downloadayatana-indicator-sound-ea846294e73c242b6574085533a9899a585eecf9.tar.gz
ayatana-indicator-sound-ea846294e73c242b6574085533a9899a585eecf9.tar.bz2
ayatana-indicator-sound-ea846294e73c242b6574085533a9899a585eecf9.zip
Switch to testing the pulse backend
Diffstat (limited to 'tests/volume-control-test.cc')
-rw-r--r--tests/volume-control-test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/volume-control-test.cc b/tests/volume-control-test.cc
index 9970241..41e1886 100644
--- a/tests/volume-control-test.cc
+++ b/tests/volume-control-test.cc
@@ -71,13 +71,13 @@ class VolumeControlTest : public ::testing::Test
};
TEST_F(VolumeControlTest, BasicObject) {
- VolumeControl * control = volume_control_new();
+ VolumeControlPulse * control = volume_control_pulse_new();
/* Setup the PA backend */
loop(100);
/* Ready */
- EXPECT_TRUE(volume_control_get_ready(control));
+ EXPECT_TRUE(volume_control_get_ready(VOLUME_CONTROL(control)));
g_clear_object(&control);
}