aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-05-19 19:02:09 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-05-19 19:02:09 -0500
commitc0a9ccc02ef49a79f64cda1bad67521de3d6feb2 (patch)
tree31cad42261b635de72da08c5e00f0626d586e58c /tests
parent991d36f01d0b341a9c8735a09de1eb488ca3db66 (diff)
downloadayatana-indicator-datetime-c0a9ccc02ef49a79f64cda1bad67521de3d6feb2.tar.gz
ayatana-indicator-datetime-c0a9ccc02ef49a79f64cda1bad67521de3d6feb2.tar.bz2
ayatana-indicator-datetime-c0a9ccc02ef49a79f64cda1bad67521de3d6feb2.zip
add tracers.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt34
-rwxr-xr-xtests/run-eds-test.sh3
-rw-r--r--tests/test-eds-tasks-config-files/.local/share/evolution/tasks/system/tasks.ics18
3 files changed, 29 insertions, 26 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index cd68dbf..ecbda42 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -45,21 +45,21 @@ function(add_test_by_name name)
add_test (${TEST_NAME} ${TEST_NAME})
target_link_libraries (${TEST_NAME} indicatordatetimeservice gtest ${DBUSTEST_LIBRARIES} ${SERVICE_DEPS_LIBRARIES} ${GTEST_LIBS})
endfunction()
-add_test_by_name(test-datetime)
-add_test_by_name(test-snap)
-add_test_by_name(test-actions)
-add_test_by_name(test-alarm-queue)
-add_test(NAME dear-reader-the-next-test-takes-60-seconds COMMAND true)
-add_test_by_name(test-clock)
-add_test_by_name(test-exporter)
-add_test_by_name(test-formatter)
-add_test_by_name(test-live-actions)
-add_test_by_name(test-locations)
-add_test_by_name(test-menus)
-add_test_by_name(test-planner)
-add_test_by_name(test-settings)
-add_test_by_name(test-timezone-file)
-add_test_by_name(test-utils)
+#add_test_by_name(test-datetime)
+#add_test_by_name(test-snap)
+#add_test_by_name(test-actions)
+#add_test_by_name(test-alarm-queue)
+#add_test(NAME dear-reader-the-next-test-takes-60-seconds COMMAND true)
+#add_test_by_name(test-clock)
+#add_test_by_name(test-exporter)
+#add_test_by_name(test-formatter)
+#add_test_by_name(test-live-actions)
+#add_test_by_name(test-locations)
+#add_test_by_name(test-menus)
+#add_test_by_name(test-planner)
+#add_test_by_name(test-settings)
+#add_test_by_name(test-timezone-file)
+#add_test_by_name(test-utils)
set (TEST_NAME manual-test-snap)
add_executable (${TEST_NAME} ${TEST_NAME}.cpp)
@@ -93,8 +93,8 @@ function(add_eds_test_by_name name)
${GVFSD} # arg7: gvfsd exec
${CMAKE_CURRENT_SOURCE_DIR}/${TEST_NAME}-config-files) # arg8: canned config files
endfunction()
-#add_eds_test_by_name(test-eds-tasks)
-add_eds_test_by_name(test-eds-valarms)
+add_eds_test_by_name(test-eds-tasks)
+#add_eds_test_by_name(test-eds-valarms)
diff --git a/tests/run-eds-test.sh b/tests/run-eds-test.sh
index 0183350..a9eceed 100755
--- a/tests/run-eds-test.sh
+++ b/tests/run-eds-test.sh
@@ -32,6 +32,9 @@ export XDG_VIDEOS_DIR=${TEST_TMP_DIR}
export QORGANIZER_EDS_DEBUG=On
export GIO_USE_VFS=local # needed to ensure GVFS shuts down cleanly after the test is over
+export G_MESSAGES_DEBUG=all
+export G_DBUS_DEBUG=messages
+
echo HOMEDIR=${HOME}
rm -rf ${XDG_DATA_HOME}
diff --git a/tests/test-eds-tasks-config-files/.local/share/evolution/tasks/system/tasks.ics b/tests/test-eds-tasks-config-files/.local/share/evolution/tasks/system/tasks.ics
index efde5f7..1d6dc7a 100644
--- a/tests/test-eds-tasks-config-files/.local/share/evolution/tasks/system/tasks.ics
+++ b/tests/test-eds-tasks-config-files/.local/share/evolution/tasks/system/tasks.ics
@@ -2,24 +2,24 @@ BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
-X-EVOLUTION-DATA-REVISION:2015-05-07T21:14:49.315443Z(0)
+X-EVOLUTION-DATA-REVISION:2015-05-19T22:52:41.612439Z(53)
BEGIN:VTODO
-UID:20150507T211449Z-4262-32011-1418-1@ubuntu-phablet
-DTSTAMP:20150508T211449Z
-DTSTART:20150508T164000
-RRULE:FREQ=WEEKLY;BYDAY=FR
+UID:20150519T225233Z-3878-32011-1770-73@ubuntu-phablet
+DTSTAMP:20150519T225241Z
+DTSTART:20150520T120000
+RRULE:FREQ=DAILY
SUMMARY:Alarm
CATEGORIES:x-canonical-alarm
-CREATED:20150507T211449Z
-LAST-MODIFIED:20150507T211449Z
+SEQUENCE:1
+LAST-MODIFIED:20150519T225241Z
BEGIN:VALARM
-X-EVOLUTION-ALARM-UID:20150507T211449Z-4262-32011-1418-2@ubuntu-phablet
+X-EVOLUTION-ALARM-UID:20150519T225241Z-3878-32011-1770-78@ubuntu-phablet
ACTION:AUDIO
ATTACH:file:///usr/share/sounds/ubuntu/ringtones/Suru arpeggio.ogg
TRIGGER;VALUE=DURATION;RELATED=START:PT0S
END:VALARM
BEGIN:VALARM
-X-EVOLUTION-ALARM-UID:20150507T211449Z-4262-32011-1418-3@ubuntu-phablet
+X-EVOLUTION-ALARM-UID:20150519T225241Z-3878-32011-1770-79@ubuntu-phablet
ACTION:DISPLAY
DESCRIPTION:Alarm
TRIGGER;VALUE=DURATION;RELATED=START:PT0S