traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_functional/testdata/scripts/te_integ_tracecollectorconfigfile_winscw.script
changeset 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2007-2009 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 
       
    17 //! @File
       
    18 //! @SYMTestSuiteName           te_integ_tracecollectorconfigfile_winscw.script
       
    19 //! @SYMScriptTestEnvironment   TEF
       
    20 
       
    21 
       
    22 LOAD_SUITE te_ostv2integsuite_enabled
       
    23 
       
    24 PRINT ConfigFile_Test
       
    25 
       
    26 PREFIX RUN_UTILS
       
    27 MkDir c:\ulogger\
       
    28 Copyfile z:\testdata\configs\configfiletracecontrolconfig.ini c:\ulogger\uloggerconfig.ini
       
    29 MakeReadWrite c:\ulogger\uloggerconfig.ini
       
    30 REMOVE_PREFIX
       
    31 
       
    32 START_TESTCASE                  DT-DEBUG-TRACE-OSTv2-TraceControlPublicConfigFileWINSCW01-0001
       
    33 //! @SYMTestCaseID              DT-DEBUG-TRACE-OSTv2-TraceControlPublicConfigFileWINSCW01-0001
       
    34 //! @SYMTestCaseDesc            Run test for publicconfig file path for TraceControl on winscw
       
    35 //! @SYMTestPriority            Critical
       
    36 //! @SYMTestActions             Compare the settings in the TraceControl server with that specified in the test config file in \testdata\configs\configfiletracecontrolconfig.ini
       
    37 //! @SYMTestExpectedResults     Verify that the returned settings match those expected (test step returns a test pass if so)
       
    38 //! @SYMTestType                CT
       
    39 //! @SYMTESTSTATUS              Implemented
       
    40 //! @SYMPREQ                    PREQ2390
       
    41 //! @SYMREQ                     12128 12129
       
    42     START_TEST_BLOCK    100     te_ostv2integsuite_enabled              \testdata\configs\te_integ_tracecollectorconfigfile_winscw.ini
       
    43         CREATE_OBJECT           PublicConfigFile                        PublicConfigFile
       
    44         COMMAND                 PublicConfigFile                        doTest
       
    45     END_TEST_BLOCK
       
    46 END_TESTCASE                    DT-DEBUG-TRACE-OSTv2-TraceControlPublicConfigFileWINSCW01-0001
       
    47 
       
    48 
       
    49 
       
    50 PREFIX RUN_UTILS
       
    51 Copyfile c:\logs\PublicConfigULogger.utf c:\logs\PublicConfigULogger1.utf
       
    52 DeleteFile c:\logs\PublicConfigULogger.utf 
       
    53 DeleteFile c:\ulogger\uloggerconfig.ini
       
    54 REMOVE_PREFIX
       
    55 
       
    56 START_TESTCASE                  DT-DEBUG-TRACE-OSTv2-TraceControlPrivateConfigFileWINSCW-0001
       
    57 //! @SYMTestCaseID              DT-DEBUG-TRACE-OSTv2-TraceControlPrivateConfigFileWINSCW-0001
       
    58 //! @SYMTestCaseDesc            Run test for privateconfig file path for TraceControl on winscw
       
    59 //! @SYMTestPriority            Critical
       
    60 //! @SYMTestActions             Having deleted c:\ulogger\uloggerconfig.ini in the public path, now compare the settings in the TraceControl server with that specified by default in the private path
       
    61 //! @SYMTestExpectedResults     Verify that the returned settings match those expected (test step returns a test pass if so)
       
    62 //! @SYMTestType                CT
       
    63 //! @SYMTESTSTATUS              Implemented
       
    64 //! @SYMPREQ                    PREQ2390
       
    65 //! @SYMREQ                     12128 12129
       
    66     START_TEST_BLOCK    100     te_ostv2integsuite_enabled              \testdata\configs\te_integ_tracecollectorconfigfile_winscw.ini
       
    67         CREATE_OBJECT           PrivateConfigFile                       PrivateConfigFile
       
    68         COMMAND                 PrivateConfigFile                       doTest
       
    69     END_TEST_BLOCK
       
    70 END_TESTCASE                    DT-DEBUG-TRACE-OSTv2-TraceControlPrivateConfigFileWINSCW-0001 
       
    71 
       
    72 PREFIX RUN_UTILS
       
    73 Copyfile c:\logs\utracedata.utf c:\logs\PrivateConfigULogger.utf
       
    74 DeleteFile c:\logs\utracedata.utf 
       
    75 Copyfile z:\testdata\configs\configfiletracecontrolconfig.ini c:\ulogger\uloggerconfig.ini
       
    76 MakeReadWrite c:\ulogger\uloggerconfig.ini
       
    77 REMOVE_PREFIX
       
    78 
       
    79 START_TESTCASE                  DT-DEBUG-TRACE-OSTv2-TraceControlPublicConfigFileWINSCW02-0001
       
    80 //! @SYMTestCaseID              DT-DEBUG-TRACE-OSTv2-TraceControlPublicConfigFileWINSCW02-0001
       
    81 //! @SYMTestCaseDesc            Run test for publicconfig file path for TraceControl on winscw
       
    82 //! @SYMTestPriority            Critical
       
    83 //! @SYMTestActions             Having reinstated a config file on the public path, now compare the settings in the TraceControl server with that specified in the public path
       
    84 //! @SYMTestExpectedResults     Verify that the returned settings match those expected (test step returns a test pass if so)
       
    85 //! @SYMTestType                CT
       
    86 //! @SYMTESTSTATUS              Implemented
       
    87 //! @SYMPREQ                    PREQ2390
       
    88 //! @SYMREQ                     12128 12129
       
    89     START_TEST_BLOCK    100     te_ostv2integsuite_enabled              \testdata\configs\te_integ_tracecollectorconfigfile_winscw.ini
       
    90         CREATE_OBJECT           PublicConfigFile                        PublicConfigFile
       
    91         COMMAND                 PublicConfigFile                        doTest
       
    92     END_TEST_BLOCK
       
    93 END_TESTCASE                    DT-DEBUG-TRACE-OSTv2-TraceControlPublicConfigFileWINSCW02-0001
       
    94 
       
    95 PREFIX RUN_UTILS
       
    96 Copyfile c:\logs\PublicConfigULogger.utf c:\logs\PublicConfigULogger2.utf
       
    97 DeleteFile c:\logs\PublicConfigULogger.utf 
       
    98 DeleteFile c:\ulogger\uloggerconfig.ini
       
    99 REMOVE_PREFIX
       
   100 
       
   101 START_TEST_BLOCK    20000       te_ostv2integsuite_enabled              \testdata\configs\te_integ_tracecollectorconfigfile_winscw.ini
       
   102     CREATE_OBJECT               DefaultTraceControlConfig               DefaultTraceControlConfig
       
   103     COMMAND                     DefaultTraceControlConfig               doTest
       
   104 END_TEST_BLOCK
       
   105 
       
   106 
       
   107 PRINT Complete_ConfigFile_Tests
       
   108