genericopenlibs/openenvcore/libc/test/testoffsetof/inc/toffsetof.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 /*
       
     2 * Copyright (c) 2008-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 "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 * Name        : toffsetof.h
       
    16 * 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 #ifndef __TESTOFFSETOF_H__
       
    24 #define __TESTOFFSETOF_H__
       
    25 
       
    26 
       
    27 // INCLUDES
       
    28 #include <test/testexecutestepbase.h>
       
    29 #include <stdio.h>
       
    30 #include <stddef.h>
       
    31 
       
    32 
       
    33 _LIT(Koffsetof, "offsetof_test");
       
    34 
       
    35 
       
    36 class CTestOffsetof : public CTestStep
       
    37 	{
       
    38 public:
       
    39 	~CTestOffsetof(); 
       
    40 	CTestOffsetof(const TDesC& aStepName);
       
    41 	TVerdict doTestStepL();
       
    42 	TVerdict doTestStepPreambleL();
       
    43 	TVerdict doTestStepPostambleL();
       
    44 	
       
    45 protected:
       
    46 	TInt offsetof_test();
       
    47 	};
       
    48 	
       
    49 #endif //__TESTOFFSETOF_H__