aboutsummaryrefslogtreecommitdiff
path: root/tests/volume-control-mock.vala
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-08-10 23:48:37 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-08-10 23:48:37 -0500
commit20f6bd10f17dfeecea93d03873e3b74ecef54782 (patch)
tree04af30fa7f36ea0f2a971ec1c73f1a4a9ec89187 /tests/volume-control-mock.vala
parent4b736bd0c19e85674add330ee6a00ddd6deb512a (diff)
downloadayatana-indicator-sound-20f6bd10f17dfeecea93d03873e3b74ecef54782.tar.gz
ayatana-indicator-sound-20f6bd10f17dfeecea93d03873e3b74ecef54782.tar.bz2
ayatana-indicator-sound-20f6bd10f17dfeecea93d03873e3b74ecef54782.zip
huge pile of diff that consolidates pulse-specific audio work into volume-control-pulse. Work in progress. Promising but currently ugly.
Diffstat (limited to 'tests/volume-control-mock.vala')
-rw-r--r--tests/volume-control-mock.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/volume-control-mock.vala b/tests/volume-control-mock.vala
index 4c96518..5902037 100644
--- a/tests/volume-control-mock.vala
+++ b/tests/volume-control-mock.vala
@@ -24,8 +24,8 @@ public class VolumeControlMock : VolumeControl
public override string stream { get { return mock_stream; } }
public override bool ready { get; set; }
public override bool active_mic { get; set; }
- public bool mock_high_volume { get; set; }
- public override bool high_volume { get { return mock_high_volume; } }
+ public bool mock_high_volume { get { return high_volume; } set { high_volume = value; } }
+ public override bool high_volume { get; private set; }
public bool mock_mute { get; set; }
public override bool mute { get { return mock_mute; } }
public bool mock_is_playing { get; set; }