traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_common/src/te_ctor_disabled.cpp
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-2010 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 // Test class generating trace data from contructor with/without initialiser list. |
|
15 // used in (logging) disabled mode. |
|
16 // |
|
17 |
|
18 #include "te_ctor.h" |
|
19 #include "te_ctor_disabledTraces.h" |
|
20 |
|
21 TTestCtor::TTestCtor( TUint32 aArg1, TUint32 aArg2 ) |
|
22 : |
|
23 iNum1( aArg1 ), |
|
24 iNum2( aArg2 ), |
|
25 iStr( KTestCtorString ) |
|
26 { |
|
27 OstTraceFunctionEntryExt( CTESTCTOR_INITLIST_TRACE, KData1 ); |
|
28 } |
|
29 |
|
30 TTestCtor::TTestCtor( TUint32 aArg1 ) |
|
31 { |
|
32 iNum1 = aArg1; |
|
33 iNum2 = 0; |
|
34 iStr = KTestCtorString; |
|
35 |
|
36 OstTraceFunctionEntryExt( CTESTCTOR_NO_INITLIST_TRACE, KData1 ); |
|
37 } |