kerneltest/e32test/device/t_new_classes.cpp
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 2008-2009 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 the License "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 //
       
    15 
       
    16 #include "t_new_classes.h"
       
    17 
       
    18 XCtorAndDtor::XCtorAndDtor()
       
    19 	{
       
    20 	iState = EConstructed;
       
    21 	}
       
    22 XCtorAndDtor::~XCtorAndDtor()
       
    23 	{
       
    24 	iState = EDeconstructed;
       
    25 	}
       
    26 
       
    27 
       
    28 XCtorOnly::XCtorOnly()
       
    29 	{
       
    30 	iState = EConstructed;
       
    31 	}
       
    32 
       
    33 
       
    34 XDtorOnly::~XDtorOnly()
       
    35 	{
       
    36 	iState = EDeconstructed;
       
    37 	}
       
    38 
       
    39 
       
    40 XVeryLargeClassCtorAndDtor::XVeryLargeClassCtorAndDtor()
       
    41 	{
       
    42 	iBust[0] = EConstructed;
       
    43 	}
       
    44 XVeryLargeClassCtorAndDtor::~XVeryLargeClassCtorAndDtor()
       
    45 	{
       
    46 	iBust[0] = EDeconstructed;
       
    47 	}
       
    48 
       
    49 
       
    50 XVeryLargeClassCtorOnly::XVeryLargeClassCtorOnly()
       
    51 	{
       
    52 	iBust[0] = EConstructed;
       
    53 	}
       
    54 
       
    55 
       
    56 XVeryLargeClassDtorOnly::~XVeryLargeClassDtorOnly()
       
    57 	{
       
    58 	iBust[0] = EDeconstructed;
       
    59 	}
       
    60