traceservices/tracefw/integ_test/ulogger/TEF/te_ulogger/scripts/te_uloggermclsuite.script
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 //
    14 //
    15 
    15 
    16 
    16 
    17 //! @file
    17 //! @File
    18 //! @SYMTestSuiteName               	utfv1-api-uloggerv1-integration-test-suite.script
    18 //! @SYMTestSuiteName               	utfv1-api-uloggerv1-integration-test-suite.script
    19 //! @SYMScriptTestEnvironment       	TEF
    19 //! @SYMScriptTestEnvironment       	TEF
    20 
    20 
    21 
    21 
    22 
    22 
    30 //! @SYMTestCaseDesc     Run test for classification filter settings in ULoggerv1 server
    30 //! @SYMTestCaseDesc     Run test for classification filter settings in ULoggerv1 server
    31 //! @SYMTestPriority     Critical
    31 //! @SYMTestPriority     Critical
    32 //! @SYMTestActions    Run a combination of single and multiple Primary filter set() methods and check the contents of the get() methods on server return the filters as expected
    32 //! @SYMTestActions    Run a combination of single and multiple Primary filter set() methods and check the contents of the get() methods on server return the filters as expected
    33 //! @SYMTestExpectedResults     Verify that the returned gettings match those expected from settings (test step returns a test pass if so)
    33 //! @SYMTestExpectedResults     Verify that the returned gettings match those expected from settings (test step returns a test pass if so)
    34 //! @SYMTestType         CT
    34 //! @SYMTestType         CT
    35 //! @SYMTestStatus   Implemented
    35 //! @SYMTESTSTATUS   Implemented
    36 //! @SYMPREQ                 PREQ1635
    36 //! @SYMPREQ                 PREQ1635
    37 //! @SYMREQ                    
    37 //! @SYMREQ                    
    38 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIPrimTestStep 
    38 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIPrimTestStep 
    39 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIPrim-0001
    39 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIPrim-0001
    40 
    40 
    44 //! @SYMTestCaseDesc     Run test for ModuleUid filter settings in ULoggerv1 server
    44 //! @SYMTestCaseDesc     Run test for ModuleUid filter settings in ULoggerv1 server
    45 //! @SYMTestPriority     Critical
    45 //! @SYMTestPriority     Critical
    46 //! @SYMTestActions    Run a combination of single and multiple Secondary filter set() methods and check the contents of the get() methods on server return the filters as expected
    46 //! @SYMTestActions    Run a combination of single and multiple Secondary filter set() methods and check the contents of the get() methods on server return the filters as expected
    47 //! @SYMTestExpectedResults     Verify that the returned gettings match those expected from settings (test step returns a test pass if so)
    47 //! @SYMTestExpectedResults     Verify that the returned gettings match those expected from settings (test step returns a test pass if so)
    48 //! @SYMTestType         CT
    48 //! @SYMTestType         CT
    49 //! @SYMTestStatus   Implemented
    49 //! @SYMTESTSTATUS   Implemented
    50 //! @SYMPREQ                 PREQ1635
    50 //! @SYMPREQ                 PREQ1635
    51 //! @SYMREQ                   
    51 //! @SYMREQ                   
    52 RUN_TEST_STEP 20000 te_uloggermclsuite ULoggerAPISecondTestStep 
    52 RUN_TEST_STEP 20000 te_uloggermclsuite ULoggerAPISecondTestStep 
    53 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPISecond-0001
    53 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPISecond-0001
    54 
    54 
    58 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace compiled in on user side
    58 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace compiled in on user side
    59 //! @SYMTestPriority     Critical
    59 //! @SYMTestPriority     Critical
    60 //! @SYMTestActions    Run a combination of single and multiple filter and filtering set() methods instrument user-side trace points accordingly for positive, begative and multiple setting tests
    60 //! @SYMTestActions    Run a combination of single and multiple filter and filtering set() methods instrument user-side trace points accordingly for positive, begative and multiple setting tests
    61 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
    61 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
    62 //! @SYMTestType         CT
    62 //! @SYMTestType         CT
    63 //! @SYMTestStatus   Implemented
    63 //! @SYMTESTSTATUS   Implemented
    64 //! @SYMPREQ                 PREQ1635
    64 //! @SYMPREQ                 PREQ1635
    65 //! @SYMREQ 			
    65 //! @SYMREQ 			
    66 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPILoggingTestStep 
    66 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPILoggingTestStep 
    67 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPILogging-0001
    67 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPILogging-0001
    68 
    68 
    72 //! @SYMTestCaseDesc     Run test for buffersizing settings in ULoggerv1 server for trace compiled in
    72 //! @SYMTestCaseDesc     Run test for buffersizing settings in ULoggerv1 server for trace compiled in
    73 //! @SYMTestPriority     Critical
    73 //! @SYMTestPriority     Critical
    74 //! @SYMTestActions    Run a combination of buffer resizing methods and run over various stress testing trace instrumentations. check the contents of the output file is as expected
    74 //! @SYMTestActions    Run a combination of buffer resizing methods and run over various stress testing trace instrumentations. check the contents of the output file is as expected
    75 //! @SYMTestExpectedResults     Verify that output file contains #traces as expected
    75 //! @SYMTestExpectedResults     Verify that output file contains #traces as expected
    76 //! @SYMTestType         CT
    76 //! @SYMTestType         CT
    77 //! @SYMTestStatus   Implemented
    77 //! @SYMTESTSTATUS   Implemented
    78 //! @SYMPREQ                 PREQ1635
    78 //! @SYMPREQ                 PREQ1635
    79 //! @SYMREQ   
    79 //! @SYMREQ   
    80 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerBufferSizingStep
    80 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerBufferSizingStep
    81 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerBufferSizing-0001
    81 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerBufferSizing-0001
    82 
    82 
    86 //! @SYMTestCaseDesc     Run test for buffer mode settings in ULoggerv1 server for trace compiled in
    86 //! @SYMTestCaseDesc     Run test for buffer mode settings in ULoggerv1 server for trace compiled in
    87 //! @SYMTestPriority     Critical
    87 //! @SYMTestPriority     Critical
    88 //! @SYMTestActions    Run a combination of buffer mode change methods and run over various stress testing trace instrumentations. check the contents of the output file is as expected
    88 //! @SYMTestActions    Run a combination of buffer mode change methods and run over various stress testing trace instrumentations. check the contents of the output file is as expected
    89 //! @SYMTestExpectedResults     Verify that output file contains a trace pattern as expected from buffer mode type
    89 //! @SYMTestExpectedResults     Verify that output file contains a trace pattern as expected from buffer mode type
    90 //! @SYMTestType         CT
    90 //! @SYMTestType         CT
    91 //! @SYMTestStatus   Implemented
    91 //! @SYMTESTSTATUS   Implemented
    92 //! @SYMPREQ                 PREQ1635
    92 //! @SYMPREQ                 PREQ1635
    93 //! @SYMREQ 
    93 //! @SYMREQ 
    94 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerBufferModeStep
    94 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerBufferModeStep
    95 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerBufferMode-0001
    95 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerBufferMode-0001
    96 
    96 
   100 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace points compiled in on kernel side
   100 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace points compiled in on kernel side
   101 //! @SYMTestPriority     Critical
   101 //! @SYMTestPriority     Critical
   102 //! @SYMTestActions    Run a combination of single and multiple filter and filtering set() methods instrument kernel-side trace points accordingly for positive, begative and multiple setting tests
   102 //! @SYMTestActions    Run a combination of single and multiple filter and filtering set() methods instrument kernel-side trace points accordingly for positive, begative and multiple setting tests
   103 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
   103 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
   104 //! @SYMTestType         CT
   104 //! @SYMTestType         CT
   105 //! @SYMTestStatus   Implemented
   105 //! @SYMTESTSTATUS   Implemented
   106 //! @SYMPREQ                 PREQ1635
   106 //! @SYMPREQ                 PREQ1635
   107 //! @SYMREQ 
   107 //! @SYMREQ 
   108 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIKernelTestStep 
   108 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIKernelTestStep 
   109 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIKernel-0001
   109 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIKernel-0001
   110 
   110 
   114 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace printf-style points compiled in on user side
   114 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace printf-style points compiled in on user side
   115 //! @SYMTestPriority     Critical
   115 //! @SYMTestPriority     Critical
   116 //! @SYMTestActions    Run a combination of single and multiple filter and filtering set() methods instrument user-side trace printf-style points accordingly for positive, begative and multiple setting tests
   116 //! @SYMTestActions    Run a combination of single and multiple filter and filtering set() methods instrument user-side trace printf-style points accordingly for positive, begative and multiple setting tests
   117 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
   117 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
   118 //! @SYMTestType         CT
   118 //! @SYMTestType         CT
   119 //! @SYMTestStatus   Implemented
   119 //! @SYMTESTSTATUS   Implemented
   120 //! @SYMPREQ                 PREQ1635
   120 //! @SYMPREQ                 PREQ1635
   121 //! @SYMREQ 
   121 //! @SYMREQ 
   122 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIPrintfTestStep 
   122 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIPrintfTestStep 
   123 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIPrintf-0001
   123 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIPrintf-0001
   124 
   124 
   128 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace printf-style points compiled in on kernel side
   128 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace printf-style points compiled in on kernel side
   129 //! @SYMTestPriority     Critical
   129 //! @SYMTestPriority     Critical
   130 //! @SYMTestActions    Run a combination of single and multiple filter and filtering set() methods instrument kernel-side trace printf-style points accordingly for positive, begative and multiple setting tests
   130 //! @SYMTestActions    Run a combination of single and multiple filter and filtering set() methods instrument kernel-side trace printf-style points accordingly for positive, begative and multiple setting tests
   131 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
   131 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
   132 //! @SYMTestType         CT
   132 //! @SYMTestType         CT
   133 //! @SYMTestStatus   Implemented
   133 //! @SYMTESTSTATUS   Implemented
   134 //! @SYMPREQ                 PREQ1635
   134 //! @SYMPREQ                 PREQ1635
   135 //! @SYMREQ 
   135 //! @SYMREQ 
   136 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIKernelPrintfTestStep 
   136 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIKernelPrintfTestStep 
   137 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIKernelPrintf-0001
   137 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIKernelPrintf-0001
   138 
   138 
   144 //! @SYMTestCaseDesc     Run test for logging to the file plugin for trace compiled in
   144 //! @SYMTestCaseDesc     Run test for logging to the file plugin for trace compiled in
   145 //! @SYMTestPriority     Critical
   145 //! @SYMTestPriority     Critical
   146 //! @SYMTestActions    Run a combination of plguin configuration methods for the file plugin and log over trace instrumentaion
   146 //! @SYMTestActions    Run a combination of plguin configuration methods for the file plugin and log over trace instrumentaion
   147 //! @SYMTestExpectedResults     Verify that the trace data is output as expected to the file plugin
   147 //! @SYMTestExpectedResults     Verify that the trace data is output as expected to the file plugin
   148 //! @SYMTestType         CT
   148 //! @SYMTestType         CT
   149 //! @SYMTestStatus   Implemented
   149 //! @SYMTESTSTATUS   Implemented
   150 //! @SYMPREQ                 PREQ1635
   150 //! @SYMPREQ                 PREQ1635
   151 //! @SYMREQ 
   151 //! @SYMREQ 
   152 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerFilePluginStep 
   152 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerFilePluginStep 
   153 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerFilePlugin-0001
   153 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerFilePlugin-0001
   154 
   154 
   158 //! @SYMTestCaseDesc     Run test for logging to the serial plugin for trace compiled in
   158 //! @SYMTestCaseDesc     Run test for logging to the serial plugin for trace compiled in
   159 //! @SYMTestPriority     Critical
   159 //! @SYMTestPriority     Critical
   160 //! @SYMTestActions    Run a combination of plguin configuration methods for the serial plugin and log over trace instrumentaion
   160 //! @SYMTestActions    Run a combination of plguin configuration methods for the serial plugin and log over trace instrumentaion
   161 //! @SYMTestExpectedResults     Verify that the trace data is output as expected to the serial plugin
   161 //! @SYMTestExpectedResults     Verify that the trace data is output as expected to the serial plugin
   162 //! @SYMTestType         CT
   162 //! @SYMTestType         CT
   163 //! @SYMTestStatus   Implemented
   163 //! @SYMTESTSTATUS   Implemented
   164 //! @SYMPREQ                 PREQ1635
   164 //! @SYMPREQ                 PREQ1635
   165 //! @SYMREQ 
   165 //! @SYMREQ 
   166 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerSerialPluginStep  
   166 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerSerialPluginStep  
   167 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerSerialPlugin-0001
   167 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerSerialPlugin-0001
   168 
   168 
   172 //! @SYMTestCaseDesc     Run test for error returns from plugin methods for trace compiled in
   172 //! @SYMTestCaseDesc     Run test for error returns from plugin methods for trace compiled in
   173 //! @SYMTestPriority     Critical
   173 //! @SYMTestPriority     Critical
   174 //! @SYMTestActions    Run a combination of plguin configuration methods for the file plugin and test on the return errors
   174 //! @SYMTestActions    Run a combination of plguin configuration methods for the file plugin and test on the return errors
   175 //! @SYMTestExpectedResults     Verify that the errors returned are as expected
   175 //! @SYMTestExpectedResults     Verify that the errors returned are as expected
   176 //! @SYMTestType         CT
   176 //! @SYMTestType         CT
   177 //! @SYMTestStatus   Implemented
   177 //! @SYMTESTSTATUS   Implemented
   178 //! @SYMPREQ                 PREQ1635
   178 //! @SYMPREQ                 PREQ1635
   179 //! @SYMREQ 
   179 //! @SYMREQ 
   180 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerFilePluginStepErr 
   180 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerFilePluginStepErr 
   181 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerFilePluginStepErr-0001
   181 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerFilePluginStepErr-0001
   182 
   182