aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Use different code path for Lomiri notificationsRobert Tari2023-11-283-2/+16
|
* src, tests: fix -Wint-to-pointer-cast and a chance of test crashpersonal/peat-psuwit/protected-superclassRatchanan Srirattanamet2023-11-291-2/+2
| | | | | | | | | | | | | | | | | Turns the constructor of `VolumeControl` and `VolumeWarning` from `internal` to `protected`. This makes Vala emits C declaration of constructors, which is required by the test's mocks extending these classes, in the external header. Without them, the mocks' C code would then consider them "implicitly declared", and will assume they return `int` instead of a pointer. If the returned address happened to be higher than `INT_MAX`, the code will consider the returned address negative and sign-extend it when casting to a pointer, corrupting it. As for "unprivating" these constructors, this is an internal static library anyway. No libraries or headers are installed from this package. This change is invisible from outside.
* Drop custom notification hintsRobert Tari2023-09-093-20/+5
|
* src/, tests/: update references to renamed notification hintsRatchanan Srirattanamet2023-01-173-8/+8
| | | | | | | | | | More notification hints have been renamed. So update to follow it. - x-canonical-private-synchronous -> x-lomiri-private-synchronous - x-canonical-private-icon-only -> x-lomiri-private-icon-only - x-canonical-truncation -> x-lomiri-truncation (which Lomiri has compatibility with the former name, so keep in the mocked capabilities)
* tests/CMakeLists.txt Add TEST_INCLUDE_DIRS to include-directoriesSergey Chupligin2022-06-131-0/+1
| | | | Fixes: https://github.com/AyatanaIndicators/ayatana-indicator-sound/issues/80
* release 22.2.022.2.0Mike Gabriel2022-02-181-0/+0
|
* Fix build warningsRobert Tari2022-02-184-15/+18
|
* Whitespace fixRobert Tari2022-02-181-299/+299
|
* Clean up compilation flagsRobert Tari2022-02-171-2/+1
|
* Make Lomiri features configurable at build timeRobert Tari2022-02-175-9/+9
|
* Fix cppcheck warningsRobert Tari2021-12-0912-44/+71
|
* Whitespace fixRobert Tari2021-12-094-966/+966
|
* Fix qt5_use_modules warningRobert Tari2021-12-084-24/+24
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-sound/issues/72
* license headers: Stop using the '©' character.Mike Gabriel2021-11-2218-21/+21
|
* tests/*: Use one spelling for "Canonical Ltd." in copyright headers.Mike Gabriel2021-11-2225-25/+25
| | | | | | | | | Some license headers use "Canonical, Ltd." while others use "Canonical Ltd." as copyright holder. The correct form is the latter, so this change adjusts the spelling accordingly. This unification helps with generating debian/copyright files via scripts.
* tests/integration/Copy of test-sound.wav: Drop superfluous file.Mike Gabriel2021-11-191-0/+0
|
* release 0.9.00.9.0Mike Gabriel2021-11-171-0/+0
|
* Clean up schema detection and conditional codeRobert Tari2021-11-154-7/+9
|
* Drop org.ayatana.AccountsService.SoundRobert Tari2021-11-1211-55/+26
|
* Drop data/org.ayatana.sound.gschema.xmlRobert Tari2021-11-102-8/+7
|
* Rename Lomiri-specific properties to x-lomiriRobert Tari2021-11-092-9/+9
|
* Drop local gmenuharness, use it from the systemRobert Tari2021-11-081-5/+5
|
* tests/service-mocks/media-player-mpris-mock/CMakeLists.txt: Rename ↵Robert Tari2021-11-081-1/+1
| | | | com.ubuntu.AccountsService.SecurityPrivacy
* Use 'ayatana' namespace for unit tests.Robert Tari2021-11-0814-22/+22
|
* Rename HAS_UT_ACCTSERVICE_SOUND_SETTINGSRobert Tari2021-11-086-6/+6
|
* Rename com.ubuntu.AccountsService.SoundMike Gabriel2021-11-088-10/+10
|
* Rename HAS_UBUNTU_SOUND_SCHEMARobert Tari2021-11-082-2/+2
|
* Rename com.ubuntu.soundRobert Tari2021-11-082-3/+3
|
* Rename UNITY_API*Robert Tari2021-11-051-1/+1
|
* Rename x-canonical-value-bar-tintRobert Tari2021-11-052-6/+11
|
* Rename com.ubuntu.touch.AccountsService.Sound to ↵Robert Tari2021-11-011-1/+3
| | | | com.lomiri.touch.AccountsService.Sound
* Whitespace fixRobert Tari2021-11-011-84/+84
|
* Raname x-canonical properties to x-ayatanaRobert Tari2021-10-272-4/+4
|
* Fix undefined VALA_EXTERNRobert Tari2021-10-211-0/+1
|
* tests/CMakeLists.txt: Suppress -Wdiscarded-qualifiers on media-player-mock.cRobert Tari2021-10-181-1/+1
|
* Update Ayatana IDO namesRobert Tari2021-10-183-65/+65
|
* integration-test: provide a temporary HOME directory to the testRatchanan Srirattanamet2021-08-122-13/+17
| | | | | | | | | | A couple of things in the integration-test rely on having a HOME directory. Provide a temporary HOME for the test and its child, which both prevents polluting the building user's HOME and allow the test to run where HOME=/nonexistent (i.e. autobuilder). Also remove the exception not to run the integration test inside the (Canonical's) Jenkins, as it's not relevant anymore.
* Disable failing tests that cannot be fixed nowMike Gabriel2021-08-104-29/+29
| | | | | | | | | | | | | | | - tests/volume-control-test.cc:BasicObject - tests/indicator-test.cc:PhoneMenu - tests/indicator-test.cc:DesktopMenu - tests/indicator-test.cc:BaseActions - tests/notifications-test.cc:StreamChanges - tests/notifications-test.cc:IconTesting - tests/notifications-test.cc:ServerRestart - tests/notifications-test.cc:HighVolume - tests/notifications-test.cc:MenuHide - tests/notifications-test.cc:ExtendendVolumeNotification - tests/notifications-test.cc:TriggerWarning - tests/integration/test-indicator.cpp:All tests
* tests/CMakeLists.txt: Set '-no-pie' linker option for all unit tests linker ↵Mike Gabriel2021-08-052-0/+9
| | | | calls.
* Suppress Vala C warningsRobert Tari2021-08-051-1/+5
|
* Add us to the copyright headerRobert Tari2021-08-041-0/+2
|
* tests/dbus-types/org.freedesktop.DBus.Properties.xml: Fix annotationRobert Tari2021-08-041-1/+1
|
* tests/CMakeLists.txt: Add libdbustest-1 include pathRobert Tari2021-08-041-0/+1
|
* tests/CMakeLists.txt: Suppress discarded qualifiers warningRobert Tari2021-08-041-0/+2
|
* Drop --thread from vala_initRobert Tari2021-08-041-1/+0
|
* Whitespace fixRobert Tari2021-08-041-52/+52
|
* release 0.8.20.8.2Mike Gabriel2021-01-281-0/+0
|
* Port from Unity8 to Lomiri (URL Dispatcher and API).Mike Gabriel2021-01-123-12/+12
|
* Replace x-canonical attributesRobert Tari2020-08-115-421/+421
|
* tests/integration/indicator-sound-test-base.cpp: The desktop pulseaudio ↵Mike Gabriel2019-08-281-0/+1
| | | | daemon also needs the stream-restore module these days.