equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2001-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 * Test object outputting to \System\TASN1_test_output on system drive. |
|
16 * Output has sample encoding of each data type, wrapped up |
|
17 * in a sequence. Should be readable with DumpASN1 |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef __TESTOUTPUT_H__ |
|
23 #define __TESTOUTPUT_H__ |
|
24 |
|
25 #include "testbase.h" |
|
26 |
|
27 class CASN1EncBase; |
|
28 |
|
29 class CTestOutput : public CTestBase |
|
30 { |
|
31 public: |
|
32 static CTestOutput* NewL(CASN1NormalTest &aASN1Action); |
|
33 |
|
34 // Overridden from CTestBase |
|
35 void GetName(TDes& aBuf); |
|
36 |
|
37 private: |
|
38 CTestOutput(CASN1NormalTest &aASN1Action); |
|
39 TBool PerformTestsL(CConsoleBase& aConsole); |
|
40 void FillParameterArray(void){} |
|
41 |
|
42 private: |
|
43 CASN1EncBase* MakeEncoderLC(const TBool aNest = ETrue) const; |
|
44 CASN1EncBase* MakeEncObjLC(const TUint aIndex) const; |
|
45 }; |
|
46 |
|
47 #endif |