Merge lp:~xavi-garcia-mena/indicator-sound/re-add-integration-tests into lp:indicator-sound/15.10

Proposed by Xavi Garcia
Status: Superseded
Proposed branch: lp:~xavi-garcia-mena/indicator-sound/re-add-integration-tests
Merge into: lp:indicator-sound/15.10
Diff against target: 318 lines (+142/-31)
7 files modified
debian/changelog (+77/-0)
debian/control (+11/-0)
src/CMakeLists.txt (+1/-2)
src/service.vala (+5/-2)
src/volume-control-pulse.vala (+41/-22)
src/volume-control.vala (+4/-1)
tests/CMakeLists.txt (+3/-4)
To merge this branch: bzr merge lp:~xavi-garcia-mena/indicator-sound/re-add-integration-tests
Reviewer Review Type Date Requested Status
Xavi Garcia Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+277233@code.launchpad.net

This proposal has been superseded by a proposal from 2015-12-23.

Commit message

This branch re-adds the integration tests using gmenuharness.

Description of the change

This branch re-adds the integration tests using gmenuharness.

I'm approving myself as it was already approved previously as branch:
lp:~xavi-garcia-mena/indicator-sound/remove-warning-message-in-volume-notification

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Xavi Garcia (xavi-garcia-mena) :
review: Approve
510. By Xavi Garcia

Very simple change to make upstart try to respawn the process 30 times (instead of 2).
This is a workaround for the case when dbus session is not ready yet at startup.
Approved by: PS Jenkins bot, Charles Kerr

511. By CI Train Bot Account

Releasing 12.10.2+16.04.20151222-0ubuntu1

512. By Xavi Garcia

Reverted to release 507

513. By Timo Jyrinki

Restore changelog entries for CI Train purposes but note that they should be ignored as they were reverted.

514. By Xavi Garcia

restore OSD notifications

515. By Xavi Garcia

Conflicts resolved with restored branch

516. By Xavi Garcia

removed extra line in debian/changelog

517. By Xavi Garcia

sync debian/changelog with pre-requisite branch

518. By Xavi Garcia

Rolling back to release 516

519. By Xavi Garcia

sync changelog with previous branch

520. By Xavi Garcia

re-added new stuff

521. By Xavi Garcia

remove changed in debian/changelog

522. By Xavi Garcia

[ Xavi Garcia ]
  * Added OSD notifications to show output source when the volume or
    source change (LP: #1382548, LP: #1415480, LP: #1484589)

  * debian/control:
    Added the following build dependencies:
    - cmake-extras (>= 0.4),
    - google-mock (>= 1.6.0+svn437),
    - libqtdbusmock1-dev (>= 0.3),
    - libqtdbustest1-dev,
    - libunity-api-dev,
    - pulseaudio,
    - qt5-default,
    - qtbase5-dev,
    - qtbase5-dev-tools,
    - qtdeclarative5-dev,
    - qtdeclarative5-dev-tools
  * Added gmenuharness library for integration tests support.
    New Files:
    - src/gmenuharness/CMakeLists.txt
    - src/gmenuharness/MatchResult.cpp
    - src/gmenuharness/MatchUtils.cpp
    - src/gmenuharness/MenuItemMatcher.cpp
    - src/gmenuharness/MenuMatcher.cpp
    - include/unity/gmenuharness/MatchResult.h
    - include/unity/gmenuharness/MatchUtils.h
    - include/unity/gmenuharness/MenuItemMatcher.h
    - include/unity/gmenuharness/MenuMatcher.h
  * Added integration tests using gmenuharness
    New Files:
    - tests/dbus-types/CMakeLists.txt
    - tests/dbus-types/com.ubuntu.AccountsService.Sound.xml
    - tests/dbus-types/dbus-types.h
    - tests/dbus-types/org.PulseAudio.Ext.StreamRestore1.xml
    - tests/dbus-types/org.freedesktop.Accounts.xml
    - tests/dbus-types/org.freedesktop.DBus.Properties.xml
    - tests/dbus-types/org.freedesktop.Notifications.xml
    - tests/dbus-types/org.gtk.Actions.xml
    - tests/dbus-types/pulseaudio-volume.cpp
    - tests/dbus-types/pulseaudio-volume.h
    - tests/integration/CMakeLists.txt
    - tests/integration/indicator-sound-test-base.cpp
    - tests/integration/indicator-sound-test-base.h
    - tests/integration/main.cpp
    - tests/integration/test-indicator.cpp
    - tests/integration/touch-stream-restore.table
    - tests/integration/utils/dbus-pulse-volume.cpp
    - tests/integration/utils/dbus-pulse-volume.h
    - tests/integration/utils/get-volume.cpp
    - tests/integration/utils/set-volume.cpp
    - tests/service-mocks/CMakeLists.txt
    - tests/service-mocks/DBusPropertiesNotifier.cpp
    - tests/service-mocks/DBusPropertiesNotifier.h
    - tests/service-mocks/accounts-mock/AccountsDefs.h
    - tests/service-mocks/accounts-mock/AccountsMock.cpp
    - tests/service-mocks/accounts-mock/AccountsMock.h
    - tests/service-mocks/accounts-mock/AccountsServiceSoundMock.cpp
    - tests/service-mocks/accounts-mock/AccountsServiceSoundMock.h
    - tests/service-mocks/accounts-mock/CMakeLists.txt
    - tests/service-mocks/accounts-mock/com.ubuntu.AccountsService.Sound.Mock.xml
    - tests/service-mocks/accounts-mock/main.cpp
    - tests/service-mocks/accounts-mock/org.freedesktop.Accounts.Mock.xml
    - tests/service-mocks/media-player-mpris-mock/CMakeLists.txt
    - tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h
    - tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisMock.cpp
    - tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisMock.h
    - tests/service-mocks/media-player-mpris-mock/applications/testplayer1.desktop
    - tests/service-mocks/media-player-mpris-mock/main.cpp
    - tests/service-mocks/media-player-mpris-mock/org.mpris.MediaPlayer2.Player.xml
    - tests/service-mocks/media-player-mpris-mock/org.mpris.MediaPlayer2.xml
    - tests/service-mocks/media-player-mpris-mock/player-update.cpp

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2015-11-03 17:47:10 +0000
+++ debian/changelog 2015-11-23 11:30:56 +0000
@@ -9,6 +9,83 @@
99
10 -- Xavi Garcia <xavi.garcia.mena@canonical.com> Tue, 03 Nov 2015 17:47:10 +000010 -- Xavi Garcia <xavi.garcia.mena@canonical.com> Tue, 03 Nov 2015 17:47:10 +0000
1111
12indicator-sound (12.10.2+15.10.20151019-0ubuntu3) UNRELEASED; urgency=medium
13
14 [ Xavi Garcia ]
15 * Added OSD notifications to show output source when the volume or
16 source change (LP: #1382548, LP: #1415480, LP: #1484589)
17
18 * debian/control:
19 Added the following build dependencies:
20 - cmake-extras (>= 0.4),
21 - google-mock (>= 1.6.0+svn437),
22 - libqtdbusmock1-dev (>= 0.3),
23 - libqtdbustest1-dev,
24 - libunity-api-dev,
25 - pulseaudio,
26 - qt5-default,
27 - qtbase5-dev,
28 - qtbase5-dev-tools,
29 - qtdeclarative5-dev,
30 - qtdeclarative5-dev-tools
31 * Added gmenuharness library for integration tests support.
32 New Files:
33 - src/gmenuharness/CMakeLists.txt
34 - src/gmenuharness/MatchResult.cpp
35 - src/gmenuharness/MatchUtils.cpp
36 - src/gmenuharness/MenuItemMatcher.cpp
37 - src/gmenuharness/MenuMatcher.cpp
38 - include/unity/gmenuharness/MatchResult.h
39 - include/unity/gmenuharness/MatchUtils.h
40 - include/unity/gmenuharness/MenuItemMatcher.h
41 - include/unity/gmenuharness/MenuMatcher.h
42 * Added integration tests using gmenuharness
43 New Files:
44 - tests/dbus-types/CMakeLists.txt
45 - tests/dbus-types/com.ubuntu.AccountsService.Sound.xml
46 - tests/dbus-types/dbus-types.h
47 - tests/dbus-types/org.PulseAudio.Ext.StreamRestore1.xml
48 - tests/dbus-types/org.freedesktop.Accounts.xml
49 - tests/dbus-types/org.freedesktop.DBus.Properties.xml
50 - tests/dbus-types/org.freedesktop.Notifications.xml
51 - tests/dbus-types/org.gtk.Actions.xml
52 - tests/dbus-types/pulseaudio-volume.cpp
53 - tests/dbus-types/pulseaudio-volume.h
54 - tests/integration/CMakeLists.txt
55 - tests/integration/indicator-sound-test-base.cpp
56 - tests/integration/indicator-sound-test-base.h
57 - tests/integration/main.cpp
58 - tests/integration/test-indicator.cpp
59 - tests/integration/touch-stream-restore.table
60 - tests/integration/utils/dbus-pulse-volume.cpp
61 - tests/integration/utils/dbus-pulse-volume.h
62 - tests/integration/utils/get-volume.cpp
63 - tests/integration/utils/set-volume.cpp
64 - tests/service-mocks/CMakeLists.txt
65 - tests/service-mocks/DBusPropertiesNotifier.cpp
66 - tests/service-mocks/DBusPropertiesNotifier.h
67 - tests/service-mocks/accounts-mock/AccountsDefs.h
68 - tests/service-mocks/accounts-mock/AccountsMock.cpp
69 - tests/service-mocks/accounts-mock/AccountsMock.h
70 - tests/service-mocks/accounts-mock/AccountsServiceSoundMock.cpp
71 - tests/service-mocks/accounts-mock/AccountsServiceSoundMock.h
72 - tests/service-mocks/accounts-mock/CMakeLists.txt
73 - tests/service-mocks/accounts-mock/com.ubuntu.AccountsService.Sound.Mock.xml
74 - tests/service-mocks/accounts-mock/main.cpp
75 - tests/service-mocks/accounts-mock/org.freedesktop.Accounts.Mock.xml
76 - tests/service-mocks/media-player-mpris-mock/CMakeLists.txt
77 - tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisDefs.h
78 - tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisMock.cpp
79 - tests/service-mocks/media-player-mpris-mock/MediaPlayerMprisMock.h
80 - tests/service-mocks/media-player-mpris-mock/applications/testplayer1.desktop
81 - tests/service-mocks/media-player-mpris-mock/main.cpp
82 - tests/service-mocks/media-player-mpris-mock/org.mpris.MediaPlayer2.Player.xml
83 - tests/service-mocks/media-player-mpris-mock/org.mpris.MediaPlayer2.xml
84 - tests/service-mocks/media-player-mpris-mock/player-update.cpp
85
86
87 -- Xavi Garcia <xavi.garcia.mena@canonical.com> Wed, 11 Nov 2015 12:40:10 +0100
88
12indicator-sound (12.10.2+15.10.20151019-0ubuntu1) wily; urgency=medium89indicator-sound (12.10.2+15.10.20151019-0ubuntu1) wily; urgency=medium
1390
14 [ Xavi Garcia Mena ]91 [ Xavi Garcia Mena ]
1592
=== modified file 'debian/control'
--- debian/control 2015-11-03 16:21:43 +0000
+++ debian/control 2015-11-23 11:30:56 +0000
@@ -5,11 +5,13 @@
5XSBC-Original-Maintainer: Conor Curran <conor.curran@canonical.com>5XSBC-Original-Maintainer: Conor Curran <conor.curran@canonical.com>
6Build-Depends: debhelper (>= 9.0),6Build-Depends: debhelper (>= 9.0),
7 cmake,7 cmake,
8 cmake-extras (>= 0.4),
8 dbus,9 dbus,
9 dbus-test-runner (>> 14.04.0+14.04.20150120.1),10 dbus-test-runner (>> 14.04.0+14.04.20150120.1),
10 dh-translations,11 dh-translations,
11 gir1.2-accountsservice-1.0,12 gir1.2-accountsservice-1.0,
12 gnome-common,13 gnome-common,
14 google-mock (>= 1.6.0+svn437),
13 gsettings-ubuntu-schemas,15 gsettings-ubuntu-schemas,
14 autotools-dev,16 autotools-dev,
15 valac (>= 0.20),17 valac (>= 0.20),
@@ -18,13 +20,22 @@
18 libgirepository1.0-dev,20 libgirepository1.0-dev,
19 libglib2.0-dev (>= 2.22.3),21 libglib2.0-dev (>= 2.22.3),
20 libgtest-dev,22 libgtest-dev,
23 libqtdbusmock1-dev (>= 0.3),
24 libqtdbustest1-dev,
25 libunity-api-dev,
21 liburl-dispatcher1-dev,26 liburl-dispatcher1-dev,
22 libpulse-dev (>= 1:4.0-0ubuntu21),27 libpulse-dev (>= 1:4.0-0ubuntu21),
23 libpulse-mainloop-glib0 (>= 0.9.18),28 libpulse-mainloop-glib0 (>= 0.9.18),
24 libnotify-dev,29 libnotify-dev,
25 libgee-dev,30 libgee-dev,
26 libxml2-dev,31 libxml2-dev,
32 pulseaudio,
27 python3-dbusmock,33 python3-dbusmock,
34 qt5-default,
35 qtbase5-dev,
36 qtbase5-dev-tools,
37 qtdeclarative5-dev,
38 qtdeclarative5-dev-tools,
28Standards-Version: 3.9.439Standards-Version: 3.9.4
29Homepage: https://launchpad.net/indicator-sound40Homepage: https://launchpad.net/indicator-sound
30# If you aren't a member of ~indicator-applet-developers but need to upload41# If you aren't a member of ~indicator-applet-developers but need to upload
3142
=== modified file 'src/CMakeLists.txt'
--- src/CMakeLists.txt 2015-11-03 16:21:43 +0000
+++ src/CMakeLists.txt 2015-11-23 11:30:56 +0000
@@ -207,5 +207,4 @@
207 RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/indicator-sound/207 RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/indicator-sound/
208)208)
209209
210# Disable integration tests210add_subdirectory(gmenuharness)
211# add_subdirectory(gmenuharness)
212211
=== modified file 'src/service.vala'
--- src/service.vala 2015-10-30 13:24:14 +0000
+++ src/service.vala 2015-11-23 11:30:56 +0000
@@ -40,7 +40,7 @@
40 warn_notification.set_hint ("x-canonical-non-shaped-icon", "true");40 warn_notification.set_hint ("x-canonical-non-shaped-icon", "true");
41 warn_notification.set_hint ("x-canonical-snap-decisions", "true");41 warn_notification.set_hint ("x-canonical-snap-decisions", "true");
42 warn_notification.set_hint ("x-canonical-private-affirmative-tint", "true");42 warn_notification.set_hint ("x-canonical-private-affirmative-tint", "true");
43 warn_notification.closed.connect((n) => { n.clear_actions(); });43 warn_notification.closed.connect((n) => { n.clear_actions(); waiting_user_approve_warn=false; });
44 BusWatcher.watch_namespace (GLib.BusType.SESSION,44 BusWatcher.watch_namespace (GLib.BusType.SESSION,
45 "org.freedesktop.Notifications",45 "org.freedesktop.Notifications",
46 () => { debug("Notifications name appeared"); },46 () => { debug("Notifications name appeared"); },
@@ -609,7 +609,10 @@
609 var warn = loud609 var warn = loud
610 && this.notify_server_supports_actions610 && this.notify_server_supports_actions
611 && !this.volume_control.high_volume_approved;611 && !this.volume_control.high_volume_approved;
612612 if (waiting_user_approve_warn && volume_control.below_warning_volume) {
613 volume_control.set_warning_volume();
614 close_notification(warn_notification);
615 }
613 if (warn) {616 if (warn) {
614 close_notification(info_notification);617 close_notification(info_notification);
615 if (_pre_warn_volume == null) {618 if (_pre_warn_volume == null) {
616619
=== modified file 'src/volume-control-pulse.vala'
--- src/volume-control-pulse.vala 2015-10-15 10:08:07 +0000
+++ src/volume-control-pulse.vala 2015-11-23 11:30:56 +0000
@@ -140,40 +140,45 @@
140 140
141 VolumeControl.ActiveOutput ret_output = VolumeControl.ActiveOutput.SPEAKERS;141 VolumeControl.ActiveOutput ret_output = VolumeControl.ActiveOutput.SPEAKERS;
142 /* Check if the current active port is headset/headphone */142 /* Check if the current active port is headset/headphone */
143 /* There is not easy way to check if the port is a headset/headphone besides143 /* There is not easy way to check if the port is a headset/headphone besides
144 * checking for the port name. On touch (with the pulseaudio droid element)144 * checking for the port name. On touch (with the pulseaudio droid element)
145 * the headset/headphone port is called 'output-headset' and 'output-headphone'.145 * the headset/headphone port is called 'output-headset' and 'output-headphone'.
146 * On the desktop this is usually called 'analog-output-headphones' */146 * On the desktop this is usually called 'analog-output-headphones' */
147
148 // first of all check if we are in call mode
149 if (sink.active_port != null && sink.active_port.name == "output-speaker+wired_headphone") {
150 return VolumeControl.ActiveOutput.CALL_MODE;
151 }
147 // look if it's a headset/headphones152 // look if it's a headset/headphones
148 if (sink.name == "indicator_sound_test_headphones" ||153 if (sink.name == "indicator_sound_test_headphones" ||
149 (sink.active_port != null && 154 (sink.active_port != null &&
150 (sink.active_port.name.contains("headset") ||155 (sink.active_port.name.contains("headset") ||
151 sink.active_port.name.contains("headphone")))) {156 sink.active_port.name.contains("headphone")))) {
152 _active_port_headphone = true;157 _active_port_headphone = true;
153 // check if it's a bluetooth device158 // check if it's a bluetooth device
154 var device_bus = sink.proplist.gets ("device.bus");159 var device_bus = sink.proplist.gets ("device.bus");
155 if (device_bus != null && device_bus == "bluetooth") {160 if (device_bus != null && device_bus == "bluetooth") {
156 ret_output = VolumeControl.ActiveOutput.BLUETOOTH_HEADPHONES;161 ret_output = VolumeControl.ActiveOutput.BLUETOOTH_HEADPHONES;
157 } else if (device_bus != null && device_bus == "usb") {162 } else if (device_bus != null && device_bus == "usb") {
158 ret_output = VolumeControl.ActiveOutput.USB_HEADPHONES;163 ret_output = VolumeControl.ActiveOutput.USB_HEADPHONES;
159 } else if (device_bus != null && device_bus == "hdmi") {164 } else if (device_bus != null && device_bus == "hdmi") {
160 ret_output = VolumeControl.ActiveOutput.HDMI_HEADPHONES;165 ret_output = VolumeControl.ActiveOutput.HDMI_HEADPHONES;
161 } else {166 } else {
162 ret_output = VolumeControl.ActiveOutput.HEADPHONES;167 ret_output = VolumeControl.ActiveOutput.HEADPHONES;
163 }168 }
164 } else {169 } else {
165 // speaker170 // speaker
166 _active_port_headphone = false;171 _active_port_headphone = false;
167 var device_bus = sink.proplist.gets ("device.bus");172 var device_bus = sink.proplist.gets ("device.bus");
168 if (device_bus != null && device_bus == "bluetooth") {173 if (device_bus != null && device_bus == "bluetooth") {
169 ret_output = VolumeControl.ActiveOutput.BLUETOOTH_SPEAKER;174 ret_output = VolumeControl.ActiveOutput.BLUETOOTH_SPEAKER;
170 } else if (device_bus != null && device_bus == "usb") {175 } else if (device_bus != null && device_bus == "usb") {
171 ret_output = VolumeControl.ActiveOutput.USB_SPEAKER;176 ret_output = VolumeControl.ActiveOutput.USB_SPEAKER;
172 } else if (device_bus != null && device_bus == "hdmi") {177 } else if (device_bus != null && device_bus == "hdmi") {
173 ret_output = VolumeControl.ActiveOutput.HDMI_SPEAKER;178 ret_output = VolumeControl.ActiveOutput.HDMI_SPEAKER;
174 } else {179 } else {
175 ret_output = VolumeControl.ActiveOutput.SPEAKERS;180 ret_output = VolumeControl.ActiveOutput.SPEAKERS;
176 }181 }
177 }182 }
178183
179 return ret_output;184 return ret_output;
@@ -253,7 +258,9 @@
253 258
254 // check if the output has changed, if so... emit a signal259 // check if the output has changed, if so... emit a signal
255 VolumeControl.ActiveOutput active_output_now = active_output;260 VolumeControl.ActiveOutput active_output_now = active_output;
256 if (active_output_now != active_output_before) {261 if (active_output_now != active_output_before &&
262 (active_output_now != VolumeControl.ActiveOutput.CALL_MODE &&
263 active_output_before != VolumeControl.ActiveOutput.CALL_MODE)) {
257 this.active_output_changed (active_output_now);264 this.active_output_changed (active_output_now);
258 if (active_output_now == VolumeControl.ActiveOutput.SPEAKERS) {265 if (active_output_now == VolumeControl.ActiveOutput.SPEAKERS) {
259 _high_volume_approved = false;266 _high_volume_approved = false;
@@ -738,6 +745,10 @@
738 get { return this._high_volume; }745 get { return this._high_volume; }
739 private set { this._high_volume = value; }746 private set { this._high_volume = value; }
740 }747 }
748 public override bool below_warning_volume {
749 get { return this._volume.volume < this._warning_volume_norms; }
750 private set { }
751 }
741 private void init_high_volume() {752 private void init_high_volume() {
742 _settings.changed["warning-volume-enabled"].connect(() => update_high_volume_cache());753 _settings.changed["warning-volume-enabled"].connect(() => update_high_volume_cache());
743 _settings.changed["warning-volume-decibels"].connect(() => update_high_volume_cache());754 _settings.changed["warning-volume-decibels"].connect(() => update_high_volume_cache());
@@ -779,6 +790,14 @@
779 }790 }
780 }791 }
781792
793 public override void set_warning_volume() {
794 var vol = new VolumeControl.Volume();
795 vol.volume = _warning_volume_norms;
796 vol.reason = _volume.reason;
797 debug("Setting warning level volume from %f down to %f", _volume.volume, vol.volume);
798 volume = vol;
799 }
800
782 /** HIGH VOLUME APPROVED PROPERTY **/801 /** HIGH VOLUME APPROVED PROPERTY **/
783802
784 private bool _high_volume_approved = false;803 private bool _high_volume_approved = false;
785804
=== modified file 'src/volume-control.vala'
--- src/volume-control.vala 2015-10-05 10:10:49 +0000
+++ src/volume-control.vala 2015-11-23 11:30:56 +0000
@@ -36,7 +36,8 @@
36 USB_SPEAKER,36 USB_SPEAKER,
37 USB_HEADPHONES,37 USB_HEADPHONES,
38 HDMI_SPEAKER,38 HDMI_SPEAKER,
39 HDMI_HEADPHONES39 HDMI_HEADPHONES,
40 CALL_MODE
40 }41 }
4142
42 public class Volume : Object {43 public class Volume : Object {
@@ -48,6 +49,7 @@
48 public virtual bool ready { get { return false; } set { } }49 public virtual bool ready { get { return false; } set { } }
49 public virtual bool active_mic { get { return false; } set { } }50 public virtual bool active_mic { get { return false; } set { } }
50 public virtual bool high_volume { get { return false; } protected set { } }51 public virtual bool high_volume { get { return false; } protected set { } }
52 public virtual bool below_warning_volume { get { return false; } protected set { } }
51 public virtual bool mute { get { return false; } }53 public virtual bool mute { get { return false; } }
52 public virtual bool is_playing { get { return false; } }54 public virtual bool is_playing { get { return false; } }
53 public virtual VolumeControl.ActiveOutput active_output { get { return VolumeControl.ActiveOutput.SPEAKERS; } }55 public virtual VolumeControl.ActiveOutput active_output { get { return VolumeControl.ActiveOutput.SPEAKERS; } }
@@ -59,6 +61,7 @@
59 public virtual bool high_volume_approved { get { return false; } protected set { } }61 public virtual bool high_volume_approved { get { return false; } protected set { } }
60 public virtual void approve_high_volume() { }62 public virtual void approve_high_volume() { }
61 public virtual void clamp_to_high_volume() { }63 public virtual void clamp_to_high_volume() { }
64 public virtual void set_warning_volume() { }
6265
63 public abstract void set_mute (bool mute);66 public abstract void set_mute (bool mute);
6467
6568
=== modified file 'tests/CMakeLists.txt'
--- tests/CMakeLists.txt 2015-11-03 16:21:43 +0000
+++ tests/CMakeLists.txt 2015-11-23 11:30:56 +0000
@@ -281,7 +281,6 @@
281 indicator-test281 indicator-test
282)282)
283283
284# Disable integration tests284add_subdirectory(integration)
285# add_subdirectory(integration)285add_subdirectory(dbus-types)
286# add_subdirectory(dbus-types)286add_subdirectory(service-mocks)
287# add_subdirectory(service-mocks)
288\ No newline at end of file287\ No newline at end of file

Subscribers

People subscribed via source and target branches