diff options
Diffstat (limited to 'tests/volume-control-mock.vala')
-rw-r--r-- | tests/volume-control-mock.vala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/volume-control-mock.vala b/tests/volume-control-mock.vala index 4c96518..dc11fba 100644 --- a/tests/volume-control-mock.vala +++ b/tests/volume-control-mock.vala @@ -20,12 +20,14 @@ public class VolumeControlMock : VolumeControl { + private bool _high_volume = false; + public override bool high_volume { get { return _high_volume; } protected set { _high_volume = value; } } + public void set_high_volume(bool b) { high_volume = b; } + public string mock_stream { get; set; default = "multimedia"; } 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_mute { get; set; } public override bool mute { get { return mock_mute; } } public bool mock_is_playing { get; set; } |