tzservices/tzserver/test/Integration/dstscripts/ServerMsgSender.ini
author Peter Fordham <peter.fordham@gmail.com>
Fri, 19 Mar 2010 13:27:33 -0700
branchCompilerCompatibility
changeset 11 425e2276aed4
parent 0 2e3d3ce01487
permissions -rw-r--r--
Bug 1699 - Fix redefinition of uInt by replacing 2nd def with inclusion of 1st. Also fixed numerous other over qualification of method name and token pasting issues which cause GCCE errors.

//---------------------------------------------------------------------------
// Defines the data used in messages sent to the TZ server. 
// 
// Meaning of the ini file keys are:
// Function: The function number that defines what request is sent.
//
// Val1, Val2, Val3, Val4: Up to 4 4-byte values that are combined into a 
//     16 byte buffer that is sent as one argument in the message.
//
// NumArgs: Specifies how many arguments are used. Some messages expect more
//     than 1 argument and the server will leave if it doesn't get them. The 
//     same data specified in the Val's is used for each argument.
//---------------------------------------------------------------------------

[Msg1]
Function = 1000    // ESetTimeZone
Val1 = 1           // Reference id
Val2 = -1          // Size invalid.

[Msg2]
Function = 15      // EIsDaylightSavingOn
Val1 = 1           // Reference id
Val2 = 1100000000  // Size invalid. Max is KMaxInt /2. 
Val3 = 0
NumArgs = 3

[Msg3]
Function = 6       // EGetLocalEncodedTimeZoneRules
Val1 = -50000      // Size is invalid.

[Msg4]
Function = 8       // EGetForeignEncodedTimeZoneRules
Val1 = -50000      // Size is invalid.

[Msg5]
Function = 5       // EGetForeignEncodedTimeZoneRulesSize
Val1 = 1           // Reference id.
Val2 = -1          // Size invalid.
NumArgs = 3        // This message wants 3 arguments.

[Msg6]
Function = 2       // EConvertForeignZoneTime
Val1 = 1           // Reference id
Val2 = -1          // Size invalid.
NumArgs = 3        // This message wants 3 arguments.

// Note: Val2-4 and NumArgs is ignored by test step for this message. 
[Msg7]
Function = 14      // EGetOffsetsForTimeZoneIds
Val1 = 0           // Size invalid. 

[Msg8]
Function = 14      // EGetOffsetsForTimeZoneIds
Val1 = 540000000   // Size invalid. Max size is KMaxTInt / 4.