diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/engine-eds.cpp | 8 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/manual | 30 | ||||
-rw-r--r-- | tests/manual-test-snap.cpp | 2 | ||||
-rw-r--r-- | tests/test-snap.cpp | 2 |
6 files changed, 24 insertions, 24 deletions
@@ -121,8 +121,8 @@ LiveActions for production and MockActions for testing). Exporter exports the Actions and Menus onto the DBus, and also emits a - signal if/when the busname is lost so indicator-datetime-service knows - when to exit. + signal if/when the busname is lost so + ayatana-indicator-datetime-service knows when to exit. include/datetime/menu.h<br /> include/datetime/actions.h<br /> diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp index 30aad1a..f1db6aa 100644 --- a/src/engine-eds.cpp +++ b/src/engine-eds.cpp @@ -215,7 +215,7 @@ private: if (error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) - g_warning("indicator-datetime cannot show EDS appointments: %s", error->message); + g_warning("ayatana-indicator-datetime cannot show EDS appointments: %s", error->message); g_error_free(error); } @@ -294,7 +294,7 @@ private: if (error) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) - g_warning("indicator-datetime cannot connect to EDS source: %s", error->message); + g_warning("ayatana-indicator-datetime cannot connect to EDS source: %s", error->message); g_error_free(error); } @@ -344,7 +344,7 @@ private: else if(error != nullptr) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) - g_warning("indicator-datetime cannot get View to EDS client: %s", error->message); + g_warning("ayatana-indicator-datetime cannot get View to EDS client: %s", error->message); g_error_free(error); } @@ -1017,7 +1017,7 @@ private: if (!e_cal_client_modify_object_finish (E_CAL_CLIENT(gclient), res, &error)) { if (!g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) - g_warning("indicator-datetime cannot mark one-time alarm as disabled: %s", error->message); + g_warning("ayatana-indicator-datetime cannot mark one-time alarm as disabled: %s", error->message); g_error_free(error); } diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8c58b06..717784e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -18,7 +18,7 @@ set_directory_properties (PROPERTIES set_source_files_properties (gschemas.compiled GENERATED) # GSettings: -# compile the indicator-datetime schema into a gschemas.compiled file in this directory, +# compile the ayatana-indicator-datetime schema into a gschemas.compiled file in this directory, # and help the tests to find that file by setting -DSCHEMA_DIR set (SCHEMA_DIR ${CMAKE_CURRENT_BINARY_DIR}) add_definitions(-DSCHEMA_DIR="${SCHEMA_DIR}") diff --git a/tests/manual b/tests/manual index 95e5401..56906fb 100644 --- a/tests/manual +++ b/tests/manual @@ -1,19 +1,19 @@ -Test-case indicator-datetime/unity7-items-check +Test-case ayatana-indicator-datetime/unity7-items-check <dl> <dt>Log in to a Unity 7 user session</dt> <dt>Go to the panel and click on the DateTime indicator</dt> <dd>Ensure there are items in the menu</dd> </dl> -Test-case indicator-datetime/unity7-greeter-items-check +Test-case ayatana-indicator-datetime/unity7-greeter-items-check <dl> <dt>Start a system and wait for the greeter or logout of the current user session</dt> <dt>Go to the panel and click on the DateTime indicator</dt> <dd>Ensure there are items in the menu</dd> </dl> -Test-case indicator-datetime/unity8-items-check +Test-case ayatana-indicator-datetime/unity8-items-check <dl> <dt>Login to a user session running Unity 8</dt> <dt>Pull down the top panel until it sticks open</dt> @@ -22,14 +22,14 @@ Test-case indicator-datetime/unity8-items-check <dd>The menu is populated with items</dd> </dl> -Test-case indicator-datetime/timestamp-wakeup +Test-case ayatana-indicator-datetime/timestamp-wakeup <dl> <dt>Unplug the phone from any USB connection and put it to sleep</dt> <dt>Reawaken the device.</dt> <dd>The indicator should be showing the correct time.</dd> </dl> -Test-case indicator-datetime/new-alarm-wakeup +Test-case ayatana-indicator-datetime/new-alarm-wakeup <dl> <dt>Create and save an upcoming alarm in ubuntu-clock-app</dt> <dt>Unplug the phone from any USB connection and put it to sleep</dt> @@ -38,7 +38,7 @@ Test-case indicator-datetime/new-alarm-wakeup <dd>If the device supports haptic feedback, confirm the alarm vibrates.</dd> </dl> -Test-case indicator-datetime/disabled-alarms +Test-case ayatana-indicator-datetime/disabled-alarms <dl> <dt>Create and save an upcoming alarm in ubuntu-clock-app</dt> <dd>Confirm that the alarm icon appears next to the current time in unity's indicator display</dd> @@ -48,7 +48,7 @@ Test-case indicator-datetime/disabled-alarms <dd>When the alarm is enabled, the alarm icon should reappear.</dd> </dl> -Test-case indicator-datetime/disable-one-time-alarms-after-notification +Test-case ayatana-indicator-datetime/disable-one-time-alarms-after-notification <dl> <dt>Create and save an upcoming nonrepeating alarm in ubuntu-clock-app</dt> <dd>Confirm that the alarm icon appears next to the current time in unity's indicator display</dd> @@ -64,7 +64,7 @@ Test-case indicator-datetime/disable-one-time-alarms-after-notification <dd>Confirm that the repeating alarm is not disabled after the notification is shown. NOTE: due to a refresh bug in clock-app you may need to refresh its alarms page (by swapping back to the main page, then the alarm page again, this is tracked in #1362341) in order to see the alarm change from enabled to disabled.</dd> </dl> -Test-case indicator-datetime/calendar-event-notification +Test-case ayatana-indicator-datetime/calendar-event-notification <dl> <dt>In the calendar app, create and save a new upcoming calendar event that will occur in the next few minutes.</dt> <dd>The datetime indicator's event list should update itself to show this new event.</dd> @@ -74,7 +74,7 @@ Test-case indicator-datetime/calendar-event-notification <dd>The notification should disappear after a moment without requiring user intervention.</dd> </dl> -Test-case indicator-datetime/alarm-timezone +Test-case ayatana-indicator-datetime/alarm-timezone <dl> <dt>In ubuntu-system-settings, change your timezone to a zone you're not in</dt> <dt>In ubuntu-clock-app, create and save an upcoming alarm</dt> @@ -83,7 +83,7 @@ Test-case indicator-datetime/alarm-timezone <dd>The indicator's menu should still show the alarm to click at the specified time</dd> </dl> -Test-case indicator-datetime/snooze +Test-case ayatana-indicator-datetime/snooze <dl> <dt>Create and save an upcoming alarm in ubuntu-clock-app</dt> <dt>When the alarm goes off, press the 'Snooze' button</dt> @@ -92,7 +92,7 @@ Test-case indicator-datetime/snooze <dd>This time when the alarm is dismissed, it should not reappear.</dd> </dl> -Test-case indicator-datetime/edited-alarm-wakeup +Test-case ayatana-indicator-datetime/edited-alarm-wakeup <dl> <dt>Edit an alarm that's already passed. (see previous test)</dt> <dt>Unplug the phone from any USB connection and put it to sleep</dt> @@ -101,7 +101,7 @@ Test-case indicator-datetime/edited-alarm-wakeup <dd>If the device supports haptic feedback, confirm the alarm vibrates.</dd> </dl> -Test-case indicator-datetime/tell-snap-decision-to-dismiss +Test-case ayatana-indicator-datetime/tell-snap-decision-to-dismiss <dl> <dt>Set an alarm and wait for it to arrive.</dt> <dd>Alarm should go off at the specified time</dd> @@ -110,7 +110,7 @@ Test-case indicator-datetime/tell-snap-decision-to-dismiss <dd>Sound should stop at the same time, rather than playing til the end of the file.</dd> </dl> -Test-case indicator-datetime/change-alarm-sound +Test-case ayatana-indicator-datetime/change-alarm-sound <dl> <dt>Open the clock app</dt> <dt>Swipe up from the bottom</dt> @@ -124,7 +124,7 @@ Test-case indicator-datetime/change-alarm-sound <dd>The newly-selected sound should play, rather than the previous sound.</dd> </dl> -Test-case indicator-datetime/silent-mode +Test-case ayatana-indicator-datetime/silent-mode <dl> <dt>Set an alarm and wait for it to arrive.</dt> <dt>From the sound indicator, turn on silent mode.</dt> @@ -137,7 +137,7 @@ Test-case indicator-datetime/silent-mode <dd>The calendar event notification should play a sound.</dd> </dl> -Test-case indicator-datetime/manual-time +Test-case ayatana-indicator-datetime/manual-time <dl> <dt>In System Settings > Time & Date, manually change the time to an arbitrary time.</dt> <dd>The indicator's timestamp should change right after the time manual time is set.</dd> diff --git a/tests/manual-test-snap.cpp b/tests/manual-test-snap.cpp index 12d34f3..04ba2c3 100644 --- a/tests/manual-test-snap.cpp +++ b/tests/manual-test-snap.cpp @@ -93,7 +93,7 @@ int main(int argc, const char* argv[]) auto settings = std::make_shared<LiveSettings>(); settings->alarm_volume.set(volume); - auto notification_engine = std::make_shared<ain::Engine>("indicator-datetime-service"); + auto notification_engine = std::make_shared<ain::Engine>("ayatana-indicator-datetime-service"); Snap snap (notification_engine, settings); snap(a, a.alarms.front(), on_snooze, on_ok); g_main_loop_run(loop); diff --git a/tests/test-snap.cpp b/tests/test-snap.cpp index ae4c4e1..ef42583 100644 --- a/tests/test-snap.cpp +++ b/tests/test-snap.cpp @@ -42,7 +42,7 @@ using namespace ayatana::indicator::datetime; namespace { - static constexpr char const * APP_NAME {"indicator-datetime-service"}; + static constexpr char const * APP_NAME {"ayatana-indicator-datetime-service"}; } using namespace ayatana::indicator::datetime; |