os/persistentdata/traceservices/tracefw/ulogger/unit_test/scripts/te_server.script
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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-server-unit-test-suite.script
    18 //! @SYMScriptTestEnvironment       	TEF
    19 
    20 
    21 
    22 //
    23 PRINT Run all te_UloggerServerTest Suite Tests
    24 
    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
    28 
    29 
    30 //
    31 LOAD_SUITE te_UloggerServerTestSuite
    32 //
    33 
    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
    41 //! @SYMTestType         UT
    42 //! @SYMTestStatus   Implemented
    43 //! @SYMPREQ                 PREQ1635
    44 //! @SYMREQ 
    45 RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest0Step 
    46 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerStartStopWatching-0001
    47 
    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
    54 //! @SYMTestType         UT
    55 //! @SYMTestStatus   Implemented
    56 //! @SYMPREQ                 PREQ1635
    57 //! @SYMREQ 
    58 RUN_TEST_STEP 1000 te_UloggerServerTestSuite UloggerServerTest1Step 
    59 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerConfigureMethods-0001
    60 
    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
    67 //! @SYMTestType         UT
    68 //! @SYMTestStatus   Implemented
    69 //! @SYMPREQ                 PREQ1635
    70 //! @SYMREQ 
    71 RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest2Step 
    72 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerSessionNewLNewLC-0001
    73 
    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
    80 //! @SYMTestType         UT
    81 //! @SYMTestStatus   Implemented
    82 //! @SYMPREQ                 PREQ1635
    83 //! @SYMREQ
    84 RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest3Step 
    85 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerPluginAllocator-0001
    86 
    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
    93 //! @SYMTestType         UT
    94 //! @SYMTestStatus   Implemented
    95 //! @SYMPREQ                 PREQ1635
    96 //! @SYMREQ
    97 RUN_TEST_STEP 1000 te_UloggerServerTestSuite UloggerServerTest4Step 
    98 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerControlFramework-0001
    99 
   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
   106 //! @SYMTestType         UT
   107 //! @SYMTestStatus   Implemented
   108 //! @SYMPREQ                 PREQ1635
   109 //! @SYMREQ
   110 RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest5Step 
   111 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerChannelSettings-0001
   112 
   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
   119 //! @SYMTestType         UT
   120 //! @SYMTestStatus   Implemented
   121 //! @SYMPREQ                 PREQ1635
   122 //! @SYMREQ
   123 RUN_TEST_STEP 100 te_UloggerServerTestSuite UloggerServerTest6Step 
   124 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-UloggerServerData-0001
   125 
   126 
   127 PRINT Complate_te_UloggerServerTest_Tests