commonappservices/alarmserver/Test/unit/scripts/silentuntil.ini
changeset 0 2e3d3ce01487
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commonappservices/alarmserver/Test/unit/scripts/silentuntil.ini	Tue Feb 02 10:12:00 2010 +0200
@@ -0,0 +1,137 @@
+////////////////////////////////////////////////////////////////
+// Tests for UTC
+/////////////////////////////////////////////////////////////////
+
+// Tests normal alarm silent function
+[UTC0.60.0] 
+InitialTime=12:00
+SilentUntil=13:00
+InitialUTC=0
+MoveToUTC=0
+Invalidates=False
+
+[UTC0.0.0]
+InitialTime=12:00
+SilentUntil=12:00
+InitialUTC=0
+MoveToUTC=0
+Invalidates=True
+
+// Move UTC offset +60 min
+
+[UTC0.120.60] 
+InitialTime=12:00
+SilentUntil=14:00
+InitialUTC=0
+MoveToUTC=60
+Invalidates=False
+
+[UTC0.60.60]
+InitialTime=12:00
+SilentUntil=13:00
+InitialUTC=0
+MoveToUTC=60
+Invalidates=True
+
+// Move UTC offset -60 min
+// Unfortunately SilentUntil 11 or 12 is not testable, since SetAlarmsSilentUntil refuses
+// to accept time in the past.
+
+[UTC0.60.-60] 
+InitialTime=12:00
+SilentUntil=13:00
+InitialUTC=0
+MoveToUTC=-60
+Invalidates=False
+
+/////////////////////////////////////////////////////////////////
+// Test for UTC+1
+/////////////////////////////////////////////////////////////////
+
+// Tests normal alarm silent function
+[UTC60.60.60] 
+InitialTime=12:00
+SilentUntil=13:00
+InitialUTC=60
+MoveToUTC=60
+Invalidates=True
+
+[UTC60.120.60]
+InitialTime=12:00
+SilentUntil=14:00
+InitialUTC=60
+MoveToUTC=60
+Invalidates=False
+
+// Move UTC offset +60 min
+
+[UTC60.120.120] 
+InitialTime=12:00
+SilentUntil=14:00
+InitialUTC=60
+MoveToUTC=120
+Invalidates=True
+
+[UTC60.60.120]
+InitialTime=12:00
+SilentUntil=13:00
+InitialUTC=60
+MoveToUTC=120
+Invalidates=True
+
+// Move UTC offset -60 min
+// Unfortunately SilentUntil 11 or 12 is not testable, since SetAlarmsSilentUntil refuses
+// to accept time in the past.
+
+[UTC60.60.0] 
+InitialTime=12:00
+SilentUntil=13:00
+InitialUTC=60
+MoveToUTC=0
+Invalidates=True
+
+/////////////////////////////////////////////////////////////////
+// Test for UTC-1
+/////////////////////////////////////////////////////////////////
+
+// Tests normal alarm silent function
+[UTC-60.60.-60] 
+InitialTime=12:00
+SilentUntil=13:00
+InitialUTC=-60
+MoveToUTC=-60
+Invalidates=False
+
+[UTC-60.0.-60]
+InitialTime=12:00
+SilentUntil=12:00
+InitialUTC=-60
+MoveToUTC=-60
+Invalidates=True
+
+// Move UTC offset +60 min
+
+[UTC-60.120.0] 
+InitialTime=12:00
+SilentUntil=14:00
+InitialUTC=-60
+MoveToUTC=0
+Invalidates=False
+
+[UTC-60.60.0]
+InitialTime=12:00
+SilentUntil=13:00
+InitialUTC=-60
+MoveToUTC=0
+Invalidates=True
+
+// Move UTC offset -60 min
+// Unfortunately SilentUntil 11 or 12 is not testable, since SetAlarmsSilentUntil refuses
+// to accept time in the past.
+
+[UTC-60.60.-120] 
+InitialTime=12:00
+SilentUntil=13:00
+InitialUTC=-60
+MoveToUTC=-120
+Invalidates=False