traceservices/tracefw/integ_test/ulogger/TEF/te_ulogger/scripts/te_uloggermclsuite_noserial.script
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
child 25 047f208ea78f
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
     1 // Copyright (c) 2010 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: This script doesn't have serial test for platform that doesn't support serial port
       
    14 //
       
    15 
       
    16 
       
    17 //! @file
       
    18 //! @SYMTestSuiteName               	utfv1-api-uloggerv1-integration-test-suite.script
       
    19 //! @SYMScriptTestEnvironment       	TEF
       
    20 
       
    21 
       
    22 
       
    23 LOAD_SUITE te_uloggermclsuite
       
    24 
       
    25 
       
    26 PRINT API_Functionality_Tests
       
    27 
       
    28 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIPrim-0001
       
    29 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerAPIPrim-0001
       
    30 //! @SYMTestCaseDesc     Run test for classification filter settings in ULoggerv1 server
       
    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
       
    33 //! @SYMTestExpectedResults     Verify that the returned gettings match those expected from settings (test step returns a test pass if so)
       
    34 //! @SYMTestType         CT
       
    35 //! @SYMTestStatus   Implemented
       
    36 //! @SYMPREQ                 PREQ1635
       
    37 //! @SYMREQ                    
       
    38 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIPrimTestStep 
       
    39 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIPrim-0001
       
    40 
       
    41 
       
    42 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPISecond-0001
       
    43 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerAPISecond-0001
       
    44 //! @SYMTestCaseDesc     Run test for ModuleUid filter settings in ULoggerv1 server
       
    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
       
    47 //! @SYMTestExpectedResults     Verify that the returned gettings match those expected from settings (test step returns a test pass if so)
       
    48 //! @SYMTestType         CT
       
    49 //! @SYMTestStatus   Implemented
       
    50 //! @SYMPREQ                 PREQ1635
       
    51 //! @SYMREQ                   
       
    52 RUN_TEST_STEP 20000 te_uloggermclsuite ULoggerAPISecondTestStep 
       
    53 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPISecond-0001
       
    54 
       
    55 
       
    56 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPILogging-0001
       
    57 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerAPILogging-0001
       
    58 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace compiled in on user side
       
    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
       
    61 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
       
    62 //! @SYMTestType         CT
       
    63 //! @SYMTestStatus   Implemented
       
    64 //! @SYMPREQ                 PREQ1635
       
    65 //! @SYMREQ 			
       
    66 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPILoggingTestStep 
       
    67 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPILogging-0001
       
    68 
       
    69 
       
    70 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerBufferSizing-0001
       
    71 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerBufferSizing-0001
       
    72 //! @SYMTestCaseDesc     Run test for buffersizing settings in ULoggerv1 server for trace compiled in
       
    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
       
    75 //! @SYMTestExpectedResults     Verify that output file contains #traces as expected
       
    76 //! @SYMTestType         CT
       
    77 //! @SYMTestStatus   Implemented
       
    78 //! @SYMPREQ                 PREQ1635
       
    79 //! @SYMREQ   
       
    80 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerBufferSizingStep
       
    81 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerBufferSizing-0001
       
    82 
       
    83 
       
    84 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerBufferMode-0001
       
    85 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerBufferMode-0001
       
    86 //! @SYMTestCaseDesc     Run test for buffer mode settings in ULoggerv1 server for trace compiled in
       
    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
       
    89 //! @SYMTestExpectedResults     Verify that output file contains a trace pattern as expected from buffer mode type
       
    90 //! @SYMTestType         CT
       
    91 //! @SYMTestStatus   Implemented
       
    92 //! @SYMPREQ                 PREQ1635
       
    93 //! @SYMREQ 
       
    94 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerBufferModeStep
       
    95 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerBufferMode-0001
       
    96 
       
    97 
       
    98 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIKernel-0001
       
    99 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerAPIKernel-0001
       
   100 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace points compiled in on kernel side
       
   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
       
   103 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
       
   104 //! @SYMTestType         CT
       
   105 //! @SYMTestStatus   Implemented
       
   106 //! @SYMPREQ                 PREQ1635
       
   107 //! @SYMREQ 
       
   108 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIKernelTestStep 
       
   109 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIKernel-0001
       
   110 
       
   111 
       
   112 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIPrintf-0001
       
   113 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerAPIPrintf-0001
       
   114 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace printf-style points compiled in on user side
       
   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
       
   117 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
       
   118 //! @SYMTestType         CT
       
   119 //! @SYMTestStatus   Implemented
       
   120 //! @SYMPREQ                 PREQ1635
       
   121 //! @SYMREQ 
       
   122 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIPrintfTestStep 
       
   123 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIPrintf-0001
       
   124 
       
   125 
       
   126 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIKernelPrintf-0001
       
   127 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerAPIKernelPrintf-0001
       
   128 //! @SYMTestCaseDesc     Run test for logging in ULoggerv1 server for trace printf-style points compiled in on kernel side
       
   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
       
   131 //! @SYMTestExpectedResults     Verify that the returned trace data and the output trace log files match the setttings in the ulogger accordingly
       
   132 //! @SYMTestType         CT
       
   133 //! @SYMTestStatus   Implemented
       
   134 //! @SYMPREQ                 PREQ1635
       
   135 //! @SYMREQ 
       
   136 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerAPIKernelPrintfTestStep 
       
   137 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerAPIKernelPrintf-0001
       
   138 
       
   139 PRINT Plugin_Tests
       
   140 
       
   141 
       
   142 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerFilePlugin-0001
       
   143 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerFilePlugin-0001
       
   144 //! @SYMTestCaseDesc     Run test for logging to the file plugin for trace compiled in
       
   145 //! @SYMTestPriority     Critical
       
   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
       
   148 //! @SYMTestType         CT
       
   149 //! @SYMTestStatus   Implemented
       
   150 //! @SYMPREQ                 PREQ1635
       
   151 //! @SYMREQ 
       
   152 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerFilePluginStep 
       
   153 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerFilePlugin-0001
       
   154 
       
   155 
       
   156 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerFilePluginStepErr-0001
       
   157 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerFilePluginStepErr-0001
       
   158 //! @SYMTestCaseDesc     Run test for error returns from plugin methods for trace compiled in
       
   159 //! @SYMTestPriority     Critical
       
   160 //! @SYMTestActions    Run a combination of plguin configuration methods for the file plugin and test on the return errors
       
   161 //! @SYMTestExpectedResults     Verify that the errors returned are as expected
       
   162 //! @SYMTestType         CT
       
   163 //! @SYMTestStatus   Implemented
       
   164 //! @SYMPREQ                 PREQ1635
       
   165 //! @SYMREQ 
       
   166 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerFilePluginStepErr 
       
   167 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerFilePluginStepErr-0001
       
   168 
       
   169 
       
   170 PRINT Complete_te_ULogger_Tests