os/persistentdata/traceservices/tracefw/ulogger/unit_test/scripts/te_server.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-server-unit-test-suite.script
18 //! @SYMScriptTestEnvironment TEF
23 PRINT Run all te_UloggerServerTest Suite Tests
25 // clears uloggerconfig.ini and then configures it before running the server tests
26 LOAD_SUITE te_createconfigsuite
27 RUN_TEST_STEP 1000 te_createconfigsuite CreateConfigFullTestStep
31 LOAD_SUITE te_UloggerServerTestSuite
34 //Please add or make change of you test steps, here is sample only:
35 START_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerStartStopWatching-0001
36 //! @SYMTestCaseID DT-DEBUG-TRACE-UTFv1-UloggerServerStartStopWatching-0001
37 //! @SYMTestCaseDesc Run test for starting/stopping watching in server
38 //! @SYMTestPriority Critical
39 //! @SYMTestActions STart and Stop watching in the server
40 //! @SYMTestExpectedResults error returns as expected
42 //! @SYMTestStatus Implemented
45 RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest0Step
46 END_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerStartStopWatching-0001
48 START_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerConfigureMethods-0001
49 //! @SYMTestCaseID DT-DEBUG-TRACE-UTFv1-UloggerServerConfigureMethods-0001
50 //! @SYMTestCaseDesc Run test for configuring commands the ulogger server
51 //! @SYMTestPriority Critical
52 //! @SYMTestActions Call all possibly get/set/configure ulogger command methods in the server
53 //! @SYMTestExpectedResults error returns as expected
55 //! @SYMTestStatus Implemented
58 RUN_TEST_STEP 1000 te_UloggerServerTestSuite UloggerServerTest1Step
59 END_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerConfigureMethods-0001
61 START_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerSessionNewLNewLC-0001
62 //! @SYMTestCaseID DT-DEBUG-TRACE-UTFv1-UloggerServerSessionNewLNewLC-0001
63 //! @SYMTestCaseDesc Create new server sessions
64 //! @SYMTestPriority Critical
65 //! @SYMTestActions Call NewL and NewLC to create new server sessions
66 //! @SYMTestExpectedResults error returns as expected
68 //! @SYMTestStatus Implemented
71 RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest2Step
72 END_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerSessionNewLNewLC-0001
74 START_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerPluginAllocator-0001
75 //! @SYMTestCaseID DT-DEBUG-TRACE-UTFv1-UloggerServerPluginAllocator-0001
76 //! @SYMTestCaseDesc Create new server sessions
77 //! @SYMTestPriority Critical
78 //! @SYMTestActions Call NewL and NewLC to create new plugin allocations under various conditions
79 //! @SYMTestExpectedResults error returns as expected
81 //! @SYMTestStatus Implemented
84 RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest3Step
85 END_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerPluginAllocator-0001
87 START_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerControlFramework-0001
88 //! @SYMTestCaseID DT-DEBUG-TRACE-UTFv1-UloggerServerControlFramework-0001
89 //! @SYMTestCaseDesc Test server control framework
90 //! @SYMTestPriority Critical
91 //! @SYMTestActions Start/Stop reading and test functionality of passing and translating commands for server control framework
92 //! @SYMTestExpectedResults error returns as expected
94 //! @SYMTestStatus Implemented
97 RUN_TEST_STEP 1000 te_UloggerServerTestSuite UloggerServerTest4Step
98 END_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerControlFramework-0001
100 START_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerChannelSettings-0001
101 //! @SYMTestCaseID DT-DEBUG-TRACE-UTFv1-UloggerServerChannelSettings-0001
102 //! @SYMTestCaseDesc Test server channel settings
103 //! @SYMTestPriority Critical
104 //! @SYMTestActions Call methods to change settings of server channels
105 //! @SYMTestExpectedResults error returns as expected
107 //! @SYMTestStatus Implemented
108 //! @SYMPREQ PREQ1635
110 RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest5Step
111 END_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerChannelSettings-0001
113 START_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerData-0001
114 //! @SYMTestCaseID DT-DEBUG-TRACE-UTFv1-UloggerServerData-0001
115 //! @SYMTestCaseDesc Test data mathods of server
116 //! @SYMTestPriority Critical
117 //! @SYMTestActions Call methods to pass data to/fro server
118 //! @SYMTestExpectedResults error returns as expected
120 //! @SYMTestStatus Implemented
121 //! @SYMPREQ PREQ1635
123 RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest6Step
124 END_TESTCASE DT-DEBUG-TRACE-UTFv1-UloggerServerData-0001
127 PRINT Complate_te_UloggerServerTest_Tests