traceservices/tracefw/utf_trace_api/unit_test/te-utrace/scripts/te_utracesuite.script
changeset 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     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 //
       
    15 
       
    16 //! @File
       
    17 //! @SYMTestSuiteName               	utfv1-unit-test-suite.script
       
    18 //! @SYMScriptTestEnvironment       	TEF
       
    19 
       
    20 //
       
    21 PRINT Run all te_UTrace Suite Tests
       
    22 
       
    23 //
       
    24 LOAD_SUITE te_UTraceSuite
       
    25 //
       
    26 
       
    27 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-APICheckUserPerformance-0001
       
    28 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-APICheckUserPerformance-0001
       
    29 //! @SYMTestCaseDesc     Run test to test the user-side API performance 
       
    30 //! @SYMTestPriority     Medium
       
    31 //! @SYMTestActions    Measure the trace time of the implemented user-side API
       
    32 //! @SYMTestExpectedResults     Verify that performance of the trace APIs are not significantly more intrusive than previous implementations  
       
    33 //! @SYMTestType         UT
       
    34 //! @SYMTESTSTATUS   Implemented
       
    35 //! @SYMPREQ                 PREQ1635
       
    36 //! @SYMREQ   
       
    37 RUN_TEST_STEP 300 te_UTraceSuite CUTrace_User_Performance_Step c:\testdata\configs\te_utracesuite.ini Performance
       
    38 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-APICheckUserPerformance-0001
       
    39 
       
    40 
       
    41 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-APINonStatic-0001
       
    42 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-APINonStatic-0001
       
    43 //! @SYMTestCaseDesc     Run test to for nonstatic APIs
       
    44 //! @SYMTestPriority     Medium
       
    45 //! @SYMTestActions    Test the implementation of nonstatic APIs
       
    46 //! @SYMTestExpectedResults     Verify that traces generated as expected
       
    47 //! @SYMTestType         UT
       
    48 //! @SYMTESTSTATUS   Implemented
       
    49 //! @SYMPREQ                 PREQ1635
       
    50 //! @SYMREQ   
       
    51 RUN_TEST_STEP 100 te_UTraceSuite CUTrace_nonStatic_Step c:\testdata\configs\te_utracesuite.ini General
       
    52 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-APINonStatic-0001
       
    53 
       
    54 
       
    55 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-APIStatic-0001
       
    56 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-APIStatic-0001
       
    57 //! @SYMTestCaseDesc     Run test to for static APIs
       
    58 //! @SYMTestPriority     Medium
       
    59 //! @SYMTestActions    Test the implementation of static APIs
       
    60 //! @SYMTestExpectedResults     Verify that traces generated as expected
       
    61 //! @SYMTestType         UT
       
    62 //! @SYMTESTSTATUS   Implemented
       
    63 //! @SYMPREQ                 PREQ1635
       
    64 //! @SYMREQ 
       
    65 RUN_TEST_STEP 100 te_UTraceSuite CUTrace_Static_Step c:\testdata\configs\te_utracesuite.ini General
       
    66 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-APIStatic-0001
       
    67 
       
    68 
       
    69 //uncomment test case when kernel side API reimplemented/graceful kernel side bahviour tested
       
    70 //START_TESTCASE			DT-DEBUG-TRACE-UTFv1-APICheckKernelPerformance-0001
       
    71 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-APICheckKernelPerformance-0001
       
    72 //! @SYMTestCaseDesc     Run test to test the kernel-side API performance 
       
    73 //! @SYMTestPriority     Medium
       
    74 //! @SYMTestActions    Measure the trace time of the implemented kernel-side API
       
    75 //! @SYMTestExpectedResults     Verify that performance of the trace APIs are not significantly more intrusive than previous implementations  
       
    76 //! @SYMTestType         UT
       
    77 //! @SYMTESTSTATUS   Implemented
       
    78 //! @SYMPREQ                 PREQ1635
       
    79 //! @SYMREQ   
       
    80 //RUN_TEST_STEP 100 te_UTraceSuite CUTrace_KernPerf_Step c:\testdata\configs\te_utracesuite.ini General
       
    81 //END_TESTCASE			DT-DEBUG-TRACE-UTFv1-APICheckKernelPerformance-0001
       
    82 
       
    83 PRINT Complete_te_UTrace_Tests