diff options
author | Ted Gould <ted@gould.cx> | 2015-02-17 10:54:53 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2015-02-17 10:54:53 -0600 |
commit | 1f90c34cc74b9122eb90c53093df8ddc15aa2b07 (patch) | |
tree | 7ccef9f50570e80d559b31a88be8d6f7c6934d7d /tests/volume-control-mock.vala | |
parent | 936dadd09c91ec85cc2571eca66296192b03fe6e (diff) | |
download | ayatana-indicator-sound-1f90c34cc74b9122eb90c53093df8ddc15aa2b07.tar.gz ayatana-indicator-sound-1f90c34cc74b9122eb90c53093df8ddc15aa2b07.tar.bz2 ayatana-indicator-sound-1f90c34cc74b9122eb90c53093df8ddc15aa2b07.zip |
Migrate tests to new interface
Diffstat (limited to 'tests/volume-control-mock.vala')
-rw-r--r-- | tests/volume-control-mock.vala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/volume-control-mock.vala b/tests/volume-control-mock.vala index 4b846bf..4c96518 100644 --- a/tests/volume-control-mock.vala +++ b/tests/volume-control-mock.vala @@ -30,7 +30,8 @@ public class VolumeControlMock : VolumeControl public override bool mute { get { return mock_mute; } } public bool mock_is_playing { get; set; } public override bool is_playing { get { return mock_is_playing; } } - public override double volume { get; set; } + private VolumeControl.Volume _vol = new VolumeControl.Volume(); + public override VolumeControl.Volume volume { get { return _vol; } set { _vol = value; }} public override double mic_volume { get; set; } public override void set_mute (bool mute) { |