|
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Script file for HTTP Integration Test. |
|
15 // @internalAll |
|
16 // |
|
17 // |
|
18 |
|
19 PRINT UPNP_MESSAGE_TESTS |
|
20 |
|
21 // Load the test |
|
22 LOAD_SUITE upnpmessagetest |
|
23 |
|
24 |
|
25 START_TESTCASE RESPONSE_COMPOSER_TEST_1 |
|
26 //! @file |
|
27 //! @SYMTestCaseID UPnPMessage-POS-44 |
|
28 //! @SYMTestCaseDesc Composer a simple response. |
|
29 //! @SYMREQ REQ10742, REQ10744 |
|
30 //! @SYMTestStatus Implemented |
|
31 //! @SYMTestPriority Critical |
|
32 //! @SYMTestActions |
|
33 //! • Compose a simple response. |
|
34 //! • Response has only 2 headers. |
|
35 //! • Headers do not have multiple values. |
|
36 //! • Headers do not have parameters. |
|
37 //! • No response entity body. |
|
38 //! |
|
39 //! @SYMTestExpectedResults The composer successfully composes the response using the provided data. |
|
40 //! The test F/W writes the composed request to epoc32/winscw/c/logs/UpnpMessageTestLogs\composedresponses.dump |
|
41 //! @SYMTestType UT |
|
42 RUN_TEST_STEP !OOM 100 upnpmessagetest ResponseComposerTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini RESPONSE_COMPOSER_TEST_1 |
|
43 END_TESTCASE RESPONSE_COMPOSER_TEST_1 |
|
44 |
|
45 |
|
46 |
|
47 START_TESTCASE RESPONSE_COMPOSER_TEST_2 |
|
48 //! @file |
|
49 //! @SYMTestCaseID UPnPMessage-POS-45 |
|
50 //! @SYMTestCaseDesc Composer a simple response. |
|
51 //! @SYMREQ REQ10742, REQ10744 |
|
52 //! @SYMTestStatus Implemented |
|
53 //! @SYMTestPriority Critical |
|
54 //! @SYMTestActions |
|
55 //! • Compose a simple response. |
|
56 //! • Response has 6 headers. |
|
57 //! • Headers do not have multiple values. |
|
58 //! • Headers do not have parameters. |
|
59 //! • No response entity body. |
|
60 //! |
|
61 //! @SYMTestExpectedResults The composer successfully composes the response using the provided data. |
|
62 //! The test F/W writes the composed request to epoc32/winscw/c/logs/UpnpMessageTestLogs\composedresponses.dump |
|
63 //! @SYMTestType UT |
|
64 RUN_TEST_STEP !OOM 100 upnpmessagetest ResponseComposerTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini RESPONSE_COMPOSER_TEST_2 |
|
65 END_TESTCASE RESPONSE_COMPOSER_TEST_2 |
|
66 |
|
67 |
|
68 |
|
69 START_TESTCASE RESPONSE_COMPOSER_TEST_3 |
|
70 //! @file |
|
71 //! @SYMTestCaseID UPnPMessage-POS-46 |
|
72 //! @SYMTestCaseDesc Composer a simple response. |
|
73 //! @SYMREQ REQ10742, REQ10744 |
|
74 //! @SYMTestStatus Implemented |
|
75 //! @SYMTestPriority Critical |
|
76 //! @SYMTestActions |
|
77 //! • Compose a simple response. |
|
78 //! • Response has 5 headers. |
|
79 //! • Headers do not have multiple values. |
|
80 //! • Some have parameters. |
|
81 //! • No response entity body. |
|
82 //! |
|
83 //! @SYMTestExpectedResults The composer successfully composes the response using the provided data. |
|
84 //! The test F/W writes the composed request to epoc32/winscw/c/logs/UpnpMessageTestLogs\composedresponses.dump |
|
85 //! @SYMTestType UT |
|
86 RUN_TEST_STEP !OOM 100 upnpmessagetest ResponseComposerTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini RESPONSE_COMPOSER_TEST_3 |
|
87 END_TESTCASE RESPONSE_COMPOSER_TEST_3 |
|
88 |
|
89 |
|
90 |
|
91 START_TESTCASE RESPONSE_COMPOSER_TEST_4 |
|
92 //! @file |
|
93 //! @SYMTestCaseID UPnPMessage-POS-47 |
|
94 //! @SYMTestCaseDesc Composer a simple response. |
|
95 //! @SYMREQ REQ10742, REQ10744 |
|
96 //! @SYMTestStatus Implemented |
|
97 //! @SYMTestPriority Critical |
|
98 //! @SYMTestActions |
|
99 //! • Compose a simple response. |
|
100 //! • Response has 5 headers. |
|
101 //! • Headers do not have multiple values. |
|
102 //! • Some have parameters. |
|
103 //! • Response has a body. |
|
104 //! |
|
105 //! @SYMTestExpectedResults The composer successfully composes the response using the provided data. |
|
106 //! The test F/W writes the composed request to epoc32/winscw/c/logs/UpnpMessageTestLogs\composedresponses.dump |
|
107 //! @SYMTestType UT |
|
108 RUN_TEST_STEP !OOM 100 upnpmessagetest ResponseComposerTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini RESPONSE_COMPOSER_TEST_4 |
|
109 END_TESTCASE RESPONSE_COMPOSER_TEST_4 |