traceservices/tracefw/integ_test/ulogger/TEF/te_ulogger/scripts/te_uloggerconfigfile_winscw.script
changeset 0 08ec8eefde2f
child 23 26645d81f48d
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2008-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               	utfv1-api-uloggerv1-configfilewinscw-test-suite.script
       
    19 //! @SYMScriptTestEnvironment       	TEF
       
    20 
       
    21 
       
    22 LOAD_SUITE te_uloggermclsuite
       
    23 
       
    24 
       
    25 PRINT ConfigFile_Test
       
    26 PRINT Remember to include configfileuloggerconfig.ini on MMC card
       
    27 
       
    28 PREFIX RUN_UTILS
       
    29 Copyfile c:\ulogger\configfileuloggerconfig.ini c:\ulogger\uloggerconfig.ini
       
    30 REMOVE_PREFIX
       
    31 
       
    32 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFileWINSCW01-0001
       
    33 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFileWINSCW01-0001
       
    34 //! @SYMTestCaseDesc     Run test for publicconfig file path for ULoggerv1 on winscw
       
    35 //! @SYMTestPriority     Critical
       
    36 //! @SYMTestActions    Compare the settings in the ulogger 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                 PREQ1635
       
    41 //! @SYMREQ  
       
    42 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerPublicConfigFileTestStep 
       
    43 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFileWINSCW01-0001
       
    44 
       
    45 
       
    46 PREFIX RUN_UTILS
       
    47 Copyfile c:\logs\PublicConfigULogger.log c:\logs\PublicConfigULogger1.log
       
    48 DeleteFile c:\logs\PublicConfigULogger.log 
       
    49 DeleteFile c:\ulogger\uloggerconfig.ini
       
    50 REMOVE_PREFIX
       
    51 
       
    52 
       
    53 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerPrivateConfigFileWINSCW-0001
       
    54 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerPrivateConfigFileWINSCW-0001
       
    55 //! @SYMTestCaseDesc     Run test for privateconfig file path for ULoggerv1 on winscw
       
    56 //! @SYMTestPriority     Critical
       
    57 //! @SYMTestActions    Having deleted c:\ulogger\uloggerconfig.ini in the public path, now compare the settings in the ulogger server with that specified by default in the private path
       
    58 //! @SYMTestExpectedResults     Verify that the returned settings match those expected (test step returns a test pass if so)
       
    59 //! @SYMTestType         CT
       
    60 //! @SYMTESTSTATUS   Implemented
       
    61 //! @SYMPREQ                 PREQ1635
       
    62 //! @SYMREQ  
       
    63 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerPrivateConfigFileTestStep 
       
    64 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerPrivateConfigFileWINSCW-0001 
       
    65 
       
    66 
       
    67 PREFIX RUN_UTILS
       
    68 Copyfile c:\logs\ULogger.log c:\logs\PrivateConfigULogger.log
       
    69 DeleteFile c:\logs\ULogger.log 
       
    70 Copyfile c:\ulogger\configfileuloggerconfig.ini c:\ulogger\uloggerconfig.ini
       
    71 REMOVE_PREFIX
       
    72 
       
    73 START_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFileWINSCW02-0001
       
    74 //! @SYMTestCaseID		DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFileWINSCW02-0001
       
    75 //! @SYMTestCaseDesc     Run test for publicconfig file path for ULoggerv1 on winscw
       
    76 //! @SYMTestPriority     Critical
       
    77 //! @SYMTestActions    Having reinstated a config file on the public path, now compare the settings in the ulogger server with that specified in the public path
       
    78 //! @SYMTestExpectedResults     Verify that the returned settings match those expected (test step returns a test pass if so)
       
    79 //! @SYMTestType         CT
       
    80 //! @SYMTESTSTATUS   Implemented
       
    81 //! @SYMPREQ                 PREQ1635
       
    82 //! @SYMREQ                
       
    83 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerPublicConfigFileTestStep 
       
    84 END_TESTCASE			DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFileWINSCW02-0001
       
    85 
       
    86 
       
    87 PREFIX RUN_UTILS
       
    88 Copyfile c:\logs\PublicConfigULogger.log c:\logs\PublicConfigULogger2.log
       
    89 DeleteFile c:\logs\PublicConfigULogger.log 
       
    90 REMOVE_PREFIX
       
    91 
       
    92 PRINT Complete_ConfigFile_Tests