|
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 //! @File |
|
17 //! @SYMTestSuiteName utfv1-api-uloggerv1-configfile-test-suite.script |
|
18 //! @SYMScriptTestEnvironment TEF |
|
19 |
|
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 e:\ulogger\configfileuloggerconfig.ini e:\ulogger\uloggerconfig.ini |
|
30 //MakeReadWrite e:\uloggerconfig.ini |
|
31 REMOVE_PREFIX |
|
32 |
|
33 |
|
34 START_TESTCASE DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFile01-0001 |
|
35 //! @SYMTestCaseID DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFile01-0001 |
|
36 //! @SYMTestCaseDesc Run test for publicconfig file path for ULoggerv1 on armv5 |
|
37 //! @SYMTestPriority Critical |
|
38 //! @SYMTestActions Compare the settings in the ulogger server with that specified in the test config file in \testdata\configs\configfiletracecontrolconfig.ini |
|
39 //! @SYMTestExpectedResults Verify that the returned settings match those expected (test step returns a test pass if so) |
|
40 //! @SYMTestType CT |
|
41 //! @SYMTESTSTATUS Implemented |
|
42 //! @SYMPREQ PREQ1635 |
|
43 //! @SYMREQ |
|
44 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerPublicConfigFileTestStep |
|
45 END_TESTCASE DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFile01-0001 |
|
46 |
|
47 |
|
48 PREFIX RUN_UTILS |
|
49 Copyfile c:\logs\PublicConfigULogger.log c:\logs\PublicConfigULogger1.log |
|
50 DeleteFile c:\logs\PublicConfigULogger.log |
|
51 DeleteFile e:\ulogger\uloggerconfig.ini |
|
52 REMOVE_PREFIX |
|
53 |
|
54 |
|
55 |
|
56 START_TESTCASE DT-DEBUG-TRACE-UTFv1-ULoggerPrivateConfigFile-0001 |
|
57 //! @SYMTestCaseID DT-DEBUG-TRACE-UTFv1-ULoggerPrivateConfigFile-0001 |
|
58 //! @SYMTestCaseDesc Run test for privateconfig file path for ULoggerv1 on armv5 |
|
59 //! @SYMTestPriority Critical |
|
60 //! @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 |
|
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 PREQ1635 |
|
65 //! @SYMREQ |
|
66 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerPrivateConfigFileTestStep |
|
67 END_TESTCASE DT-DEBUG-TRACE-UTFv1-ULoggerPrivateConfigFile-0001 |
|
68 |
|
69 |
|
70 PREFIX RUN_UTILS |
|
71 Copyfile c:\logs\ULogger.log c:\logs\PrivateConfigULogger.log |
|
72 DeleteFile c:\logs\ULogger.log |
|
73 Copyfile e:\ulogger\configfileuloggerconfig.ini e:\ulogger\uloggerconfig.ini |
|
74 //MakeReadWrite e:\uloggerconfig.ini |
|
75 REMOVE_PREFIX |
|
76 |
|
77 |
|
78 START_TESTCASE DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFile02-0001 |
|
79 //! @SYMTestCaseID DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFile02-0001 |
|
80 //! @SYMTestCaseDesc Run test for publicconfig file path for ULoggerv1 on armv5 |
|
81 //! @SYMTestPriority Critical |
|
82 //! @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 |
|
83 //! @SYMTestExpectedResults Verify that the returned settings match those expected (test step returns a test pass if so) |
|
84 //! @SYMTestType CT |
|
85 //! @SYMTESTSTATUS Implemented |
|
86 //! @SYMPREQ PREQ1635 |
|
87 //! @SYMREQ |
|
88 RUN_TEST_STEP 1000 te_uloggermclsuite ULoggerPublicConfigFileTestStep |
|
89 END_TESTCASE DT-DEBUG-TRACE-UTFv1-ULoggerPublicConfigFile02-0001 |
|
90 |
|
91 PREFIX RUN_UTILS |
|
92 Copyfile c:\logs\PublicConfigULogger.log c:\logs\PublicConfigULogger2.log |
|
93 DeleteFile c:\logs\PublicConfigULogger.log |
|
94 REMOVE_PREFIX |
|
95 |
|
96 PRINT Complete_ConfigFile_Tests |