First public contribution.
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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
20 RUN_UTILS MkDir c:\tcaf\
21 RUN_UTILS MkDir c:\tcaf\testdata\
22 RUN_UTILS MkDir c:\tcaf\testdata\TestAgentPrivateDir\
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\*.*
29 //! @SYMTestCaseID SEC-CAFHELPER-0001
30 //! @SYMTestCaseDesc CafHelper API Test 1
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.
39 START_TESTCASE SEC-CAFHELPER-0001
40 RUN_TEST_STEP 100 tcaf CAFHelperStep c:\tcaf\tcafhelper.ini CafHelperFilename
41 END_TESTCASE SEC-CAFHELPER-0001
44 //! @SYMTestCaseID SEC-CAFHELPER-0002
45 //! @SYMTestCaseDesc CafHelper API Test 2
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.
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
59 //! @SYMTestCaseID SEC-CAFHELPER-0003
60 //! @SYMTestCaseDesc CafHelper API Test 3
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.
69 START_TESTCASE SEC-CAFHELPER-0003
70 RUN_TEST_STEP 100 tcaf CAFHelperStep c:\tcaf\tcafhelper.ini CafHelperFileHeader
71 END_TESTCASE SEC-CAFHELPER-0003