os/persistentdata/traceservices/tracefw/ulogger/unit_test/scripts/te_sysconfig.script
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
17 //! @SYMTestSuiteName uloggerv1-sysconfig-unit-test-suite.script
18 //! @SYMScriptTestEnvironment TEF
22 PRINT Legendary RUN_TEST_STEP steps for confirming backward compatibility
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
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
41 //! @SYMTestStatus Implemented
44 RUN_TEST_STEP 100 Te_SysCfg SysCfgTeststep1
45 END_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerSysCfgSetGetChannelsPlugins-0001
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
54 //! @SYMTestStatus Implemented
57 RUN_TEST_STEP 100 Te_SysCfg SysCfgTeststep2
58 END_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerSysCfgGetSectionsRemovePlugins-0001
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
67 //! @SYMTestStatus Implemented
70 RUN_TEST_STEP 100 Te_SysCfg SysCfgTeststep3
71 END_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerSysCfgFiltersBuffer-0001
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
80 //! @SYMTestStatus Implemented
83 RUN_TEST_STEP 100 Te_SysCfg SysCfgTeststep4
84 START_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerSysCfgErrorCases-0001