1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the License "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 |
|
17 |
|
18 LOAD_SUITE tcaf |
|
19 |
|
20 RUN_UTILS MkDir c:\tcaf\ |
|
21 RUN_UTILS MkDir c:\tcaf\testdata\ |
|
22 RUN_UTILS MkDir c:\tcaf\testdata\TestAgentPrivateDir\ |
|
23 |
|
24 RUN_UTILS CopyFile z:\rta\testdata\*.* c:\rta\testdata\*.* |
|
25 RUN_UTILS CopyFile z:\tcaf\testdata\*.* c:\tcaf\testdata\*.* |
|
26 RUN_UTILS CopyFile z:\tcaf\testdata\TestAgentPrivateDir\*.* c:\tcaf\testdata\TestAgentPrivateDir\*.* |
|
27 |
|
28 //! @file |
|
29 //! @SYMTestCaseID SEC-CAFHELPER-0001 |
|
30 //! @SYMTestCaseDesc CafHelper API Test 1 |
|
31 //! @SYMPREQ PREQ2086 |
|
32 //! @SYMTestStatus Implemented |
|
33 //! @SYMTestPriority Medium |
|
34 //! @SYMTestActions Constructs CCafHelper and tests if the reference cafhelper.dll gets loaded properly and |
|
35 //! calls the HandleCAFErrorL API overload which takes in the filename as input parameter. |
|
36 //! @SYMTestExpectedResults Reference cafhelper.dll must be loaded successfully and the result of the HandleCAFErrorL |
|
37 //! API must match the expected. |
|
38 //! @SYMTestType CIT |
|
39 START_TESTCASE SEC-CAFHELPER-0001 |
|
40 RUN_TEST_STEP 100 tcaf CAFHelperStep c:\tcaf\tcafhelper.ini CafHelperFilename |
|
41 END_TESTCASE SEC-CAFHELPER-0001 |
|
42 |
|
43 //! @file |
|
44 //! @SYMTestCaseID SEC-CAFHELPER-0002 |
|
45 //! @SYMTestCaseDesc CafHelper API Test 2 |
|
46 //! @SYMPREQ PREQ2086 |
|
47 //! @SYMTestStatus Implemented |
|
48 //! @SYMTestPriority Medium |
|
49 //! @SYMTestActions Constructs CCafHelper and tests if the reference cafhelper.dll gets loaded properly and |
|
50 //! calls the HandleCAFErrorL API overload which takes in the filehandle as input parameter. |
|
51 //! @SYMTestExpectedResults Reference cafhelper.dll must be loaded successfully and the result of the HandleCAFErrorL |
|
52 //! API must match the expected. |
|
53 //! @SYMTestType CIT |
|
54 START_TESTCASE SEC-CAF-UTILS-0002 |
|
55 RUN_TEST_STEP 100 tcaf CAFHelperStep c:\tcaf\tcafhelper.ini CafHelperFileHandle |
|
56 END_TESTCASE SEC-CAF-UTILS-0002 |
|
57 |
|
58 //! @file |
|
59 //! @SYMTestCaseID SEC-CAFHELPER-0003 |
|
60 //! @SYMTestCaseDesc CafHelper API Test 3 |
|
61 //! @SYMPREQ PREQ2086 |
|
62 //! @SYMTestStatus Implemented |
|
63 //! @SYMTestPriority Medium |
|
64 //! @SYMTestActions Constructs CCafHelper and tests if the reference cafhelper.dll gets loaded properly and |
|
65 //! calls the HandleCAFErrorL API overload which takes in the fileheader as input parameter. |
|
66 //! @SYMTestExpectedResults Reference cafhelper.dll must be loaded successfully and the result of the HandleCAFErrorL |
|
67 //! API must match the expected. |
|
68 //! @SYMTestType CIT |
|
69 START_TESTCASE SEC-CAFHELPER-0003 |
|
70 RUN_TEST_STEP 100 tcaf CAFHelperStep c:\tcaf\tcafhelper.ini CafHelperFileHeader |
|
71 END_TESTCASE SEC-CAFHELPER-0003 |
|
72 |
|
73 |
|