Update contrib.
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "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.
25 #include <StifLogger.h>
26 #include <TestScripterInternal.h>
27 #include <StifTestModule.h>
31 //const ?type ?constant_var = ?constant;
34 //#define ?macro ?macro_def
36 _LIT( KtwiostreamsLogPath, "\\logs\\testframework\\twiostreams\\" );
38 _LIT( KtwiostreamsLogFile, "twiostreams.txt" );
40 // FUNCTION PROTOTYPES
41 //?type ?function_name(?arg_list);
43 // FORWARD DECLARATIONS
44 //class ?FORWARD_CLASSNAME;
49 //typedef ?declaration
55 * Ctwiostreams test class for STIF Test Framework TestScripter.
56 * ?other_description_lines
59 * @since ?Series60_version
61 NONSHARABLE_CLASS(Ctwiostreams) : public CScriptBase
63 public: // Constructors and destructor
66 * Two-phased constructor.
68 static Ctwiostreams* NewL( CTestModuleIf& aTestModuleIf );
73 virtual ~Ctwiostreams();
75 public: // New functions
78 * ?member_description.
79 * @since ?Series60_version
80 * @param ?arg1 ?description
81 * @return ?description
83 //?type ?member_function( ?type ?arg1 );
85 public: // Functions from base classes
88 * From CScriptBase Runs a script line.
89 * @since ?Series60_version
90 * @param aItem Script line containing method name and parameters
91 * @return Symbian OS error code
93 virtual TInt RunMethodL( CStifItemParser& aItem );
95 protected: // New functions
98 * ?member_description.
99 * @since ?Series60_version
100 * @param ?arg1 ?description
101 * @return ?description
103 //?type ?member_function( ?type ?arg1 );
105 protected: // Functions from base classes
108 * From ?base_class ?member_description
110 //?type ?member_function();
115 * C++ default constructor.
117 Ctwiostreams( CTestModuleIf& aTestModuleIf );
120 * By default Symbian 2nd phase constructor is private.
124 // Prohibit copy constructor if not deriving from CBase.
125 // ?classname( const ?classname& );
126 // Prohibit assigment operator if not deriving from CBase.
127 // ?classname& operator=( const ?classname& );
130 * Frees all resources allocated from test methods.
131 * @since ?Series60_version
136 * Test methods are listed below.
140 * Example test method.
141 * @since ?Series60_version
142 * @param aItem Script line containing parameters.
143 * @return Symbian OS error code.
145 virtual TInt basicstring( CStifItemParser& aItem );
146 virtual TInt basicfilebufL( CStifItemParser& aItem );
147 virtual TInt basicistreamL( CStifItemParser& aItem );
148 virtual TInt wfstreamL( CStifItemParser& aItem );
149 virtual TInt wifstreamL( CStifItemParser& aItem );
150 virtual TInt wistreamL( CStifItemParser& aItem );
151 virtual TInt wofstreamL( CStifItemParser& aItem );
152 virtual TInt wistringstreamL( CStifItemParser& aItem );
153 virtual TInt wostringstreamL( CStifItemParser& aItem );
154 virtual TInt wstreambufL( CStifItemParser& aItem );
155 virtual TInt wostreamL( CStifItemParser& aItem );
156 virtual TInt wstringbufL( CStifItemParser& aItem );
159 // ?one_line_short_description_of_data
163 // ?one_line_short_description_of_data
168 // ?one_line_short_description_of_data
171 // Reserved pointer for future extension
174 public: // Friend classes
175 //?friend_class_declaration;
176 protected: // Friend classes
177 //?friend_class_declaration;
178 private: // Friend classes
179 //?friend_class_declaration;
183 #endif // TWIOSTREAMS_H