|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 //---------------------------------------------------------------------------- |
|
17 // Sends one invalid message to the time zone server in each test step. The |
|
18 // server should panic the client (the test step thread) with a "!TzServer 10" |
|
19 // panic. If the server doesn't panic the client then time out after 15 seconds |
|
20 // and consider the test to have failed (ie- the server incorrectly accepted |
|
21 // the message). |
|
22 // |
|
23 // Note: The tests should be using !PanicString="!TzServer 10" to ensure the |
|
24 // panic is from the TZ server, but it doesn't work. |
|
25 //---------------------------------------------------------------------------- |
|
26 |
|
27 // Load the DST test server. |
|
28 LOAD_SUITE DstIntServer -SharedData |
|
29 |
|
30 START_TESTCASE PIM-SERVERMSGSENDER-0001 |
|
31 //! @SYMTestCaseID PIM-SERVERMSGSENDER-0001 |
|
32 RUN_TEST_STEP !PanicCode=10 15 DstIntServer ServerMsgSender \dstscripts\ServerMsgSender.ini Msg1 |
|
33 END_TESTCASE PIM-SERVERMSGSENDER-0001 |
|
34 START_TESTCASE PIM-SERVERMSGSENDER-0002 |
|
35 //! @SYMTestCaseID PIM-SERVERMSGSENDER-0002 |
|
36 RUN_TEST_STEP !PanicCode=10 15 DstIntServer ServerMsgSender \dstscripts\ServerMsgSender.ini Msg2 |
|
37 END_TESTCASE PIM-SERVERMSGSENDER-0002 |
|
38 START_TESTCASE PIM-SERVERMSGSENDER-0003 |
|
39 //! @SYMTestCaseID PIM-SERVERMSGSENDER-0003 |
|
40 RUN_TEST_STEP !PanicCode=10 15 DstIntServer ServerMsgSender \dstscripts\ServerMsgSender.ini Msg3 |
|
41 END_TESTCASE PIM-SERVERMSGSENDER-0003 |
|
42 START_TESTCASE PIM-SERVERMSGSENDER-0004 |
|
43 //! @SYMTestCaseID PIM-SERVERMSGSENDER-0004 |
|
44 RUN_TEST_STEP !PanicCode=10 15 DstIntServer ServerMsgSender \dstscripts\ServerMsgSender.ini Msg4 |
|
45 END_TESTCASE PIM-SERVERMSGSENDER-0004 |
|
46 START_TESTCASE PIM-SERVERMSGSENDER-0005 |
|
47 //! @SYMTestCaseID PIM-SERVERMSGSENDER-0005 |
|
48 RUN_TEST_STEP !PanicCode=10 15 DstIntServer ServerMsgSender \dstscripts\ServerMsgSender.ini Msg5 |
|
49 END_TESTCASE PIM-SERVERMSGSENDER-0005 |
|
50 START_TESTCASE PIM-SERVERMSGSENDER-0006 |
|
51 //! @SYMTestCaseID PIM-SERVERMSGSENDER-0006 |
|
52 RUN_TEST_STEP !PanicCode=10 15 DstIntServer ServerMsgSender \dstscripts\ServerMsgSender.ini Msg6 |
|
53 END_TESTCASE PIM-SERVERMSGSENDER-0006 |
|
54 START_TESTCASE PIM-SERVERMSGSENDER-0007 |
|
55 //! @SYMTestCaseID PIM-SERVERMSGSENDER-0007 |
|
56 RUN_TEST_STEP !PanicCode=10 15 DstIntServer ServerMsgSender \dstscripts\ServerMsgSender.ini Msg7 |
|
57 END_TESTCASE PIM-SERVERMSGSENDER-0007 |
|
58 START_TESTCASE PIM-SERVERMSGSENDER-0008 |
|
59 //! @SYMTestCaseID PIM-SERVERMSGSENDER-0008 |
|
60 RUN_TEST_STEP !PanicCode=10 15 DstIntServer ServerMsgSender \dstscripts\ServerMsgSender.ini Msg8 |
|
61 END_TESTCASE PIM-SERVERMSGSENDER-0008 |