os/persistentdata/traceservices/tracefw/ulogger/unit_test/scripts/te_sysconfig.script
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2008-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:
    14 //
    15 
    16 //! @file
    17 //! @SYMTestSuiteName               	uloggerv1-sysconfig-unit-test-suite.script
    18 //! @SYMScriptTestEnvironment       	TEF
    19 
    20 
    21 
    22 PRINT Legendary RUN_TEST_STEP steps for confirming backward compatibility
    23 //
    24 PRINT Run all Sample Tests
    25 // clears uloggerconfig.ini and then configures it before running the sys config tests 
    26 LOAD_SUITE te_createconfigsuite
    27 RUN_TEST_STEP 1000 te_createconfigsuite CreateConfigEmptyTestStep 
    28 //
    29 LOAD_SUITE Te_SysCfg
    30 //
    31 #
    32 
    33 
    34 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerSysCfgSetGetChannelsPlugins-0001
    35 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerSysCfgSetGetChannelsPlugins-0001
    36 //! @SYMTestCaseDesc     Test setting/getting configs for channels and plugins 
    37 //! @SYMTestPriority     Critical
    38 //! @SYMTestActions    Call Set/Get/Activate configuration methods for channels and plugins
    39 //! @SYMTestExpectedResults      error returns as expected
    40 //! @SYMTestType         UT
    41 //! @SYMTestStatus   Implemented
    42 //! @SYMPREQ                 PREQ1635
    43 //! @SYMREQ
    44 RUN_TEST_STEP 100 Te_SysCfg SysCfgTeststep1
    45 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerSysCfgSetGetChannelsPlugins-0001
    46 
    47 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerSysCfgGetSectionsRemovePlugins-0001
    48 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerSysCfgGetSectionsRemovePlugins-0001
    49 //! @SYMTestCaseDesc     Test setting/getting sections and removing plugins in sysconfig
    50 //! @SYMTestPriority     Critical
    51 //! @SYMTestActions    Call Set/Get/Remove configuration methods for sections and plugins
    52 //! @SYMTestExpectedResults      error returns as expected
    53 //! @SYMTestType         UT
    54 //! @SYMTestStatus   Implemented
    55 //! @SYMPREQ                 PREQ1635
    56 //! @SYMREQ
    57 RUN_TEST_STEP 100 Te_SysCfg SysCfgTeststep2
    58 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerSysCfgGetSectionsRemovePlugins-0001
    59 
    60 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerSysCfgFiltersBuffer-0001
    61 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerSysCfgFiltersBuffer-0001
    62 //! @SYMTestCaseDesc     Test setting/getting configs for primary and secondary filter and buffer settings
    63 //! @SYMTestPriority     Critical
    64 //! @SYMTestActions    Call Set/Get/Remove configuration methods for filters and buffer
    65 //! @SYMTestExpectedResults      error returns as expected
    66 //! @SYMTestType         UT
    67 //! @SYMTestStatus   Implemented
    68 //! @SYMPREQ                 PREQ1635
    69 //! @SYMREQ
    70 RUN_TEST_STEP 100 Te_SysCfg SysCfgTeststep3
    71 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerSysCfgFiltersBuffer-0001
    72 
    73 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerSysCfgErrorCases-0001
    74 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerSysCfgErrorCases-0001
    75 //! @SYMTestCaseDesc     Test various error cases
    76 //! @SYMTestPriority     Critical
    77 //! @SYMTestActions    Call AddPlugin, RemoveChannel with various error cases
    78 //! @SYMTestExpectedResults      error returns as expected
    79 //! @SYMTestType         UT
    80 //! @SYMTestStatus   Implemented
    81 //! @SYMPREQ                 PREQ1635
    82 //! @SYMREQ
    83 RUN_TEST_STEP 100 Te_SysCfg SysCfgTeststep4
    84 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerSysCfgErrorCases-0001
    85 
    86 
    87