os/persistentdata/traceservices/tracefw/ulogger/unit_test/scripts/te_server.script
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/persistentdata/traceservices/tracefw/ulogger/unit_test/scripts/te_server.script	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,127 @@
     1.4 +// Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +//! @file
    1.20 +//! @SYMTestSuiteName               	uloggerv1-server-unit-test-suite.script
    1.21 +//! @SYMScriptTestEnvironment       	TEF
    1.22 +
    1.23 +
    1.24 +
    1.25 +//
    1.26 +PRINT Run all te_UloggerServerTest Suite Tests
    1.27 +
    1.28 +// clears uloggerconfig.ini and then configures it before running the server tests 
    1.29 +LOAD_SUITE te_createconfigsuite
    1.30 +RUN_TEST_STEP 1000 te_createconfigsuite CreateConfigFullTestStep
    1.31 +
    1.32 +
    1.33 +//
    1.34 +LOAD_SUITE te_UloggerServerTestSuite
    1.35 +//
    1.36 +
    1.37 +//Please add or make change of you test steps, here is sample only:
    1.38 +START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerStartStopWatching-0001
    1.39 +//! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerServerStartStopWatching-0001
    1.40 +//! @SYMTestCaseDesc     Run test for starting/stopping watching in server
    1.41 +//! @SYMTestPriority     Critical
    1.42 +//! @SYMTestActions    STart and Stop watching in the server
    1.43 +//! @SYMTestExpectedResults      error returns as expected
    1.44 +//! @SYMTestType         UT
    1.45 +//! @SYMTestStatus   Implemented
    1.46 +//! @SYMPREQ                 PREQ1635
    1.47 +//! @SYMREQ 
    1.48 +RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest0Step 
    1.49 +END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerStartStopWatching-0001
    1.50 +
    1.51 +START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerConfigureMethods-0001
    1.52 +//! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerServerConfigureMethods-0001
    1.53 +//! @SYMTestCaseDesc     Run test for configuring commands the ulogger server
    1.54 +//! @SYMTestPriority     Critical
    1.55 +//! @SYMTestActions    Call all possibly get/set/configure ulogger command methods in the server
    1.56 +//! @SYMTestExpectedResults      error returns as expected
    1.57 +//! @SYMTestType         UT
    1.58 +//! @SYMTestStatus   Implemented
    1.59 +//! @SYMPREQ                 PREQ1635
    1.60 +//! @SYMREQ 
    1.61 +RUN_TEST_STEP 1000 te_UloggerServerTestSuite UloggerServerTest1Step 
    1.62 +END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerConfigureMethods-0001
    1.63 +
    1.64 +START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerSessionNewLNewLC-0001
    1.65 +//! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerServerSessionNewLNewLC-0001
    1.66 +//! @SYMTestCaseDesc     Create new server sessions
    1.67 +//! @SYMTestPriority     Critical
    1.68 +//! @SYMTestActions    Call NewL and NewLC to create new server sessions
    1.69 +//! @SYMTestExpectedResults      error returns as expected
    1.70 +//! @SYMTestType         UT
    1.71 +//! @SYMTestStatus   Implemented
    1.72 +//! @SYMPREQ                 PREQ1635
    1.73 +//! @SYMREQ 
    1.74 +RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest2Step 
    1.75 +END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerSessionNewLNewLC-0001
    1.76 +
    1.77 +START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerPluginAllocator-0001
    1.78 +//! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerServerPluginAllocator-0001
    1.79 +//! @SYMTestCaseDesc     Create new server sessions
    1.80 +//! @SYMTestPriority     Critical
    1.81 +//! @SYMTestActions    Call NewL and NewLC to create new plugin allocations under various conditions
    1.82 +//! @SYMTestExpectedResults      error returns as expected
    1.83 +//! @SYMTestType         UT
    1.84 +//! @SYMTestStatus   Implemented
    1.85 +//! @SYMPREQ                 PREQ1635
    1.86 +//! @SYMREQ
    1.87 +RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest3Step 
    1.88 +END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerPluginAllocator-0001
    1.89 +
    1.90 +START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerControlFramework-0001
    1.91 +//! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerServerControlFramework-0001
    1.92 +//! @SYMTestCaseDesc     Test server control framework
    1.93 +//! @SYMTestPriority     Critical
    1.94 +//! @SYMTestActions    Start/Stop reading and test functionality of passing and translating commands for server control framework
    1.95 +//! @SYMTestExpectedResults      error returns as expected
    1.96 +//! @SYMTestType         UT
    1.97 +//! @SYMTestStatus   Implemented
    1.98 +//! @SYMPREQ                 PREQ1635
    1.99 +//! @SYMREQ
   1.100 +RUN_TEST_STEP 1000 te_UloggerServerTestSuite UloggerServerTest4Step 
   1.101 +END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerControlFramework-0001
   1.102 +
   1.103 +START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerChannelSettings-0001
   1.104 +//! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerServerChannelSettings-0001
   1.105 +//! @SYMTestCaseDesc     Test server channel settings
   1.106 +//! @SYMTestPriority     Critical
   1.107 +//! @SYMTestActions    Call methods to change settings of server channels
   1.108 +//! @SYMTestExpectedResults      error returns as expected
   1.109 +//! @SYMTestType         UT
   1.110 +//! @SYMTestStatus   Implemented
   1.111 +//! @SYMPREQ                 PREQ1635
   1.112 +//! @SYMREQ
   1.113 +RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest5Step 
   1.114 +END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerChannelSettings-0001
   1.115 +
   1.116 +START_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerData-0001
   1.117 +//! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-UloggerServerData-0001
   1.118 +//! @SYMTestCaseDesc     Test data mathods of server 
   1.119 +//! @SYMTestPriority     Critical
   1.120 +//! @SYMTestActions    Call methods to pass data to/fro server 
   1.121 +//! @SYMTestExpectedResults      error returns as expected
   1.122 +//! @SYMTestType         UT
   1.123 +//! @SYMTestStatus   Implemented
   1.124 +//! @SYMPREQ                 PREQ1635
   1.125 +//! @SYMREQ
   1.126 +RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest6Step 
   1.127 +END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerData-0001
   1.128 +
   1.129 +
   1.130 +PRINT Complate_te_UloggerServerTest_Tests