commonappservices/alarmserver/Test/unit/scripts/silentuntil.ini
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 10:12:00 +0200
changeset 0 2e3d3ce01487
permissions -rw-r--r--
Revision: 201002 Kit: 201005

////////////////////////////////////////////////////////////////
// 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