diff options
author | Ted Gould <ted@gould.cx> | 2015-02-19 16:27:24 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2015-02-19 16:27:24 +0000 |
commit | 14be74296b0bd81a797373c4c972916277d0428e (patch) | |
tree | 6833db57605bf225620214218a427fe0f0a4444b /tests/volume-control-test.cc | |
parent | 403caf562ba967342b78d5491229fe40cc908361 (diff) | |
parent | 18891aa50808f29365f763cc503e5dfa2e17ab17 (diff) | |
download | ayatana-indicator-sound-14be74296b0bd81a797373c4c972916277d0428e.tar.gz ayatana-indicator-sound-14be74296b0bd81a797373c4c972916277d0428e.tar.bz2 ayatana-indicator-sound-14be74296b0bd81a797373c4c972916277d0428e.zip |
Add notifications mock and tests
Approved by: Jussi Pakkanen, PS Jenkins bot
Diffstat (limited to 'tests/volume-control-test.cc')
-rw-r--r-- | tests/volume-control-test.cc | 4 |
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); } |