summaryrefslogtreecommitdiffstats
path: root/libkcal/tests
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/tests')
-rw-r--r--libkcal/tests/CMakeLists.txt8
-rw-r--r--libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase06.ics.next.ref20
-rw-r--r--libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase06.ics.prev.ref20
-rw-r--r--libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase07.ics.next.ref6
-rw-r--r--libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase07.ics.prev.ref6
-rw-r--r--libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase15.ics.next.ref12
-rw-r--r--libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase15.ics.prev.ref12
-rw-r--r--libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase54.ics.next.ref12
-rw-r--r--libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase54.ics.prev.ref12
-rw-r--r--libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase55.ics.next.ref2
-rw-r--r--libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase55.ics.prev.ref2
11 files changed, 57 insertions, 55 deletions
diff --git a/libkcal/tests/CMakeLists.txt b/libkcal/tests/CMakeLists.txt
index 386982c4d..3f3603d45 100644
--- a/libkcal/tests/CMakeLists.txt
+++ b/libkcal/tests/CMakeLists.txt
@@ -59,13 +59,15 @@ add_custom_command(
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
+# Compat tests are broken and have been in a disabled state since before TDE exited
set ( _test1 testrecurrence "next" ${CMAKE_CURRENT_SOURCE_DIR}/data/RecurrenceRule/*.ics )
set ( _test2 testrecurprevious "prev" ${CMAKE_CURRENT_SOURCE_DIR}/data/RecurrenceRule/*.ics )
set ( _test3 testrecurson "recurson" ${CMAKE_CURRENT_SOURCE_DIR}/data/RecurrenceRule/*.ics )
-set ( _test4 readandwrite "ical" ${CMAKE_CURRENT_SOURCE_DIR}/data/Compat/*.ics )
+#set ( _test4 readandwrite "ical" ${CMAKE_CURRENT_SOURCE_DIR}/data/Compat/*.ics )
set ( _test5 testvcalexport "vcal" ${CMAKE_CURRENT_SOURCE_DIR}/data/vCalendar/*.ics )
set ( _test6 readandwrite "ical" ${CMAKE_CURRENT_SOURCE_DIR}/data/vCalendar/*.vcs )
-set ( _all_tests _test1 _test2 _test3 _test4 _test5 _test6 )
+#set ( _all_tests _test1 _test2 _test3 _test4 _test5 _test6 )
+set ( _all_tests _test1 _test2 _test3 _test5 _test6 )
foreach( _test_name ${_all_tests} )
list( GET ${_test_name} 0 _test_executable )
@@ -74,7 +76,7 @@ foreach( _test_name ${_all_tests} )
file( GLOB_RECURSE _test_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} ${_test_search_filter} )
foreach( _test_file ${_test_files} )
add_test(
- ${_test_executable}__${_test_file}__
+ ${_test_executable}__${_test_id}__${_test_file}__
${CMAKE_CURRENT_SOURCE_DIR}/runtestcase.pl ${_test_executable} ${_test_id} ${CMAKE_CURRENT_BINARY_DIR}/${_test_file}
)
endforeach( )
diff --git a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase06.ics.next.ref b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase06.ics.next.ref
index 0abed481e..c34698184 100644
--- a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase06.ics.next.ref
+++ b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase06.ics.next.ref
@@ -1,13 +1,13 @@
-2001-12-16T19:25:00
-2001-12-18T19:25:00
-2001-12-23T19:25:00
-2001-12-25T19:25:00
-2001-12-30T19:25:00
-2002-01-01T19:25:00
-2002-01-06T19:25:00
-2002-01-08T19:25:00
-2002-01-13T19:25:00
-2002-01-15T19:25:00
+2001-12-16T11:25:00
+2001-12-18T11:25:00
+2001-12-23T11:25:00
+2001-12-25T11:25:00
+2001-12-30T11:25:00
+2002-01-01T11:25:00
+2002-01-06T11:25:00
+2002-01-08T11:25:00
+2002-01-13T11:25:00
+2002-01-15T11:25:00
diff --git a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase06.ics.prev.ref b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase06.ics.prev.ref
index 5caf88d3a..9ec6cf161 100644
--- a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase06.ics.prev.ref
+++ b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase06.ics.prev.ref
@@ -1,13 +1,13 @@
-2002-01-15T19:25:00
-2002-01-13T19:25:00
-2002-01-08T19:25:00
-2002-01-06T19:25:00
-2002-01-01T19:25:00
-2001-12-30T19:25:00
-2001-12-25T19:25:00
-2001-12-23T19:25:00
-2001-12-18T19:25:00
-2001-12-16T19:25:00
+2002-01-15T11:25:00
+2002-01-13T11:25:00
+2002-01-08T11:25:00
+2002-01-06T11:25:00
+2002-01-01T11:25:00
+2001-12-30T11:25:00
+2001-12-25T11:25:00
+2001-12-23T11:25:00
+2001-12-18T11:25:00
+2001-12-16T11:25:00
diff --git a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase07.ics.next.ref b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase07.ics.next.ref
index 9a6556470..135348004 100644
--- a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase07.ics.next.ref
+++ b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase07.ics.next.ref
@@ -1,6 +1,6 @@
-2001-12-04T15:35:00
-2002-01-01T15:35:00
-2002-02-05T15:35:00
+2001-12-04T07:35:00
+2002-01-01T07:35:00
+2002-02-05T07:35:00
diff --git a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase07.ics.prev.ref b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase07.ics.prev.ref
index ba0f10788..4a782a5e8 100644
--- a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase07.ics.prev.ref
+++ b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase07.ics.prev.ref
@@ -1,6 +1,6 @@
-2002-02-05T15:35:00
-2002-01-01T15:35:00
-2001-12-04T15:35:00
+2002-02-05T07:35:00
+2002-01-01T07:35:00
+2001-12-04T07:35:00
diff --git a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase15.ics.next.ref b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase15.ics.next.ref
index 6ce39a7df..c447acf50 100644
--- a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase15.ics.next.ref
+++ b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase15.ics.next.ref
@@ -1,9 +1,9 @@
-2002-04-02T11:45:00
-2002-04-03T11:45:00
-2002-04-09T11:45:00
-2002-04-10T11:45:00
-2002-04-16T11:45:00
-2002-04-17T11:45:00
+2002-04-02T03:45:00
+2002-04-03T03:45:00
+2002-04-09T03:45:00
+2002-04-10T03:45:00
+2002-04-16T03:45:00
+2002-04-17T03:45:00
diff --git a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase15.ics.prev.ref b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase15.ics.prev.ref
index 1f5f03e85..3e7925f38 100644
--- a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase15.ics.prev.ref
+++ b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase15.ics.prev.ref
@@ -1,9 +1,9 @@
-2002-04-17T11:45:00
-2002-04-16T11:45:00
-2002-04-10T11:45:00
-2002-04-09T11:45:00
-2002-04-03T11:45:00
-2002-04-02T11:45:00
+2002-04-17T03:45:00
+2002-04-16T03:45:00
+2002-04-10T03:45:00
+2002-04-09T03:45:00
+2002-04-03T03:45:00
+2002-04-02T03:45:00
diff --git a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase54.ics.next.ref b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase54.ics.next.ref
index 6ce39a7df..c447acf50 100644
--- a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase54.ics.next.ref
+++ b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase54.ics.next.ref
@@ -1,9 +1,9 @@
-2002-04-02T11:45:00
-2002-04-03T11:45:00
-2002-04-09T11:45:00
-2002-04-10T11:45:00
-2002-04-16T11:45:00
-2002-04-17T11:45:00
+2002-04-02T03:45:00
+2002-04-03T03:45:00
+2002-04-09T03:45:00
+2002-04-10T03:45:00
+2002-04-16T03:45:00
+2002-04-17T03:45:00
diff --git a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase54.ics.prev.ref b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase54.ics.prev.ref
index 1f5f03e85..3e7925f38 100644
--- a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase54.ics.prev.ref
+++ b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase54.ics.prev.ref
@@ -1,9 +1,9 @@
-2002-04-17T11:45:00
-2002-04-16T11:45:00
-2002-04-10T11:45:00
-2002-04-09T11:45:00
-2002-04-03T11:45:00
-2002-04-02T11:45:00
+2002-04-17T03:45:00
+2002-04-16T03:45:00
+2002-04-10T03:45:00
+2002-04-09T03:45:00
+2002-04-03T03:45:00
+2002-04-02T03:45:00
diff --git a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase55.ics.next.ref b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase55.ics.next.ref
index 5be77173a..156bc69b6 100644
--- a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase55.ics.next.ref
+++ b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase55.ics.next.ref
@@ -1,4 +1,4 @@
-2002-04-02T11:45:00
+2002-04-02T03:45:00
diff --git a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase55.ics.prev.ref b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase55.ics.prev.ref
index 5be77173a..156bc69b6 100644
--- a/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase55.ics.prev.ref
+++ b/libkcal/tests/data/RecurrenceRule/LibICal/LibICal_TestCase55.ics.prev.ref
@@ -1,4 +1,4 @@
-2002-04-02T11:45:00
+2002-04-02T03:45:00