aboutsummaryrefslogtreecommitdiff
path: root/tests/volume-control-test.cc
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-17 08:48:07 -0600
committerTed Gould <ted@gould.cx>2015-02-17 08:48:07 -0600
commit913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd (patch)
tree4dd4f31154e28f799fed4f7f7da7111915914944 /tests/volume-control-test.cc
parent1b0c78a1bd4237a920a569a64efe6bd006e4a9ca (diff)
parent0b6f800a6e99e6485508aef14f666a7aa51a2f6d (diff)
downloadayatana-indicator-sound-913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd.tar.gz
ayatana-indicator-sound-913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd.tar.bz2
ayatana-indicator-sound-913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd.zip
Grabbing the notification mock
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);
}