servicediscoveryandcontrol/pnp/test/upnp/unittests/upnpmessagetest/data/upnpmessagetest_codec_tests_oom.script
changeset 0 f5a58ecadc66
equal deleted inserted replaced
-1:000000000000 0:f5a58ecadc66
       
     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	CODEC_TEST_1
       
    26 //! @file			                            
       
    27 //! @SYMTestCaseID		            HTTP-POS-001
       
    28 //! @SYMTestCaseDesc 	            Encode the request headers.
       
    29 //! @SYMREQ						REQ10744
       
    30 //! @SYMTestStatus 		            Implemented
       
    31 //! @SYMTestPriority 		            Critical
       
    32 //! @SYMTestActions 		
       
    33 //!				                                •	Test the encode functionality for the following request headers:
       
    34 //!				                                    NTS, NT, USN, ST, Timeout, MX, SEQ, Callback, SoapAction, MAN
       
    35 //!				                                
       
    36 //! @SYMTestExpectedResults     It should be possible to set the values for these headers in the defined format.
       
    37 //! @SYMTestType 		                UT
       
    38 RUN_TEST_STEP 	!OOM !PanicCode=0 100 	upnpmessagetest CodecDecodeTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini  CODEC_TEST_1
       
    39 END_TESTCASE 	CODEC_TEST_1
       
    40 
       
    41 
       
    42 
       
    43 START_TESTCASE	CODEC_TEST_2
       
    44 //! @file			                            
       
    45 //! @SYMTestCaseID		            HTTP-POS-002
       
    46 //! @SYMTestCaseDesc 	            Encode the request headers.
       
    47 //! @SYMREQ						REQ10744
       
    48 //! @SYMTestStatus 		            Implemented
       
    49 //! @SYMTestPriority 		            Critical
       
    50 //! @SYMTestActions 		
       
    51 //!				                                
       
    52 //!				                                •	Test the encode functionality for the following request headers:
       
    53 //!				                                    NTS, NT, USN, ST, Timeout, MX, SEQ, Callback, SoapAction
       
    54 //!                                                •	Provide multiple values for the above headers.
       
    55 //!
       
    56 //! @SYMTestExpectedResults     It should not be possible to set multiple values for the mentioned headers.
       
    57 //! @SYMTestType 		                UT
       
    58 RUN_TEST_STEP 	!OOM 100 	upnpmessagetest CodecDecodeTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini  CODEC_TEST_2
       
    59 END_TESTCASE 	CODEC_TEST_2
       
    60 
       
    61 
       
    62 
       
    63 START_TESTCASE	CODEC_TEST_3
       
    64 //! @file			                            
       
    65 //! @SYMTestCaseID		            HTTP-POS-003
       
    66 //! @SYMTestCaseDesc 	            Decode the response headers.
       
    67 //! @SYMREQ						REQ10744
       
    68 //! @SYMTestStatus 		            Implemented
       
    69 //! @SYMTestPriority 		            Critical
       
    70 //! @SYMTestActions 		
       
    71 //!				                                •	Test the decode functionality for the following response headers:
       
    72 //!				                                    USN, ST, Timeout, EXT, SID
       
    73 //!				                                
       
    74 //! @SYMTestExpectedResults     It should be possible to get the values for these headers.
       
    75 //! @SYMTestType 		                UT
       
    76 RUN_TEST_STEP 	!OOM 100 	upnpmessagetest CodecDecodeTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini  CODEC_TEST_3
       
    77 END_TESTCASE 	CODEC_TEST_3
       
    78 
       
    79 
       
    80 
       
    81 START_TESTCASE	CODEC_TEST_4
       
    82 //! @file			                            
       
    83 //! @SYMTestCaseID		            HTTP-POS-004
       
    84 //! @SYMTestCaseDesc 	            Decode the response headers.
       
    85 //! @SYMREQ						REQ10744
       
    86 //! @SYMTestStatus 		            Implemented
       
    87 //! @SYMTestPriority 		            Critical
       
    88 //! @SYMTestActions 		
       
    89 //!				                                •	Test the decode functionality for the following response headers:
       
    90 //!				                                    USN, ST, Timeout, SID
       
    91 //!				                                •	The above headers have multiple values.
       
    92 //!    
       
    93 //! @SYMTestExpectedResults     Only the first value of the each of the above headers should be retrieved.
       
    94 //! @SYMTestType 		                UT
       
    95 RUN_TEST_STEP 	!OOM 100 	upnpmessagetest CodecDecodeTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini  CODEC_TEST_4
       
    96 END_TESTCASE 	CODEC_TEST_4
       
    97 
       
    98 
       
    99 
       
   100 START_TESTCASE	CODEC_TEST_5
       
   101 //! @file			                            
       
   102 //! @SYMTestCaseID		            HTTP-POS-007
       
   103 //! @SYMTestCaseDesc 	            Decode the request headers.
       
   104 //! @SYMREQ						REQ10744
       
   105 //! @SYMTestStatus 		            Implemented
       
   106 //! @SYMTestPriority 		            Critical
       
   107 //! @SYMTestActions 		
       
   108 //!				                                •	Test the decode functionality for the following request headers:
       
   109 //!				                                    NTS, NT, USN, ST, Timeout, MX, SEQ, Callback, SoapAction, MAN
       
   110 //!				                                
       
   111 //! @SYMTestExpectedResults     It should be possible to get the values for these headers.
       
   112 //! @SYMTestType 		                UT
       
   113 RUN_TEST_STEP 	!OOM 100 	upnpmessagetest CodecEncodeTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini  CODEC_TEST_5
       
   114 END_TESTCASE 	CODEC_TEST_5
       
   115 
       
   116 
       
   117 
       
   118 START_TESTCASE	CODEC_TEST_6
       
   119 //! @file			                            
       
   120 //! @SYMTestCaseID		            HTTP-POS-008
       
   121 //! @SYMTestCaseDesc 	            Decode the request headers.
       
   122 //! @SYMREQ						REQ10744
       
   123 //! @SYMTestStatus 		            Implemented
       
   124 //! @SYMTestPriority 		            Critical
       
   125 //! @SYMTestActions 		
       
   126 //!				                                •	Test the decode functionality for the following request headers:
       
   127 //!				                                    NTS, NT, USN, ST, Timeout, MX, SEQ, Callback, SoapAction
       
   128 //!				                                •	The above headers have multiple values.
       
   129 //!
       
   130 //! @SYMTestExpectedResults     Only the first value of the each of the above headers should be retrieved.
       
   131 //! @SYMTestType 		                UT
       
   132 RUN_TEST_STEP 	!OOM 100 	upnpmessagetest CodecEncodeTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini  CODEC_TEST_6
       
   133 END_TESTCASE 	CODEC_TEST_6
       
   134 
       
   135 
       
   136 
       
   137 START_TESTCASE	TEST_COVERAGE
       
   138 //! @file			                            
       
   139 //! @SYMTestCaseID		            HTTP-POS-009
       
   140 //! @SYMTestCaseDesc 	            Encode the request headers.
       
   141 //! @SYMREQ						REQ10744
       
   142 //! @SYMTestStatus 		            Implemented
       
   143 //! @SYMTestPriority 		            Critical
       
   144 //! @SYMTestActions 		
       
   145 //!				                                •	Test the encode functionality for the following request headers:
       
   146 //!				                                    MAN, ST, Timeout, MX, Callback, SoapAction
       
   147 //!
       
   148 //! @SYMTestExpectedResults     It should be possible to encode all of the above headers.
       
   149 //! @SYMTestType 		                UT
       
   150 RUN_TEST_STEP 	100 	upnpmessagetest CodecEncodeTest z:\upnp\upnpmessagetest\ini\upnpmessagetest.ini  TEST_COVERAGE
       
   151 END_TESTCASE 	TEST_COVERAGE