imgtools/imgcheck/imagechekunittest/testcode/misc.h
changeset 0 044383f39525
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     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 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 * MISCCHECKS class declaration.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MISCCHECKS_H
       
    21 #define MISCCHECKS_H
       
    22 
       
    23 #ifdef _MSC_VER 
       
    24 	#pragma warning(disable: 4786) 
       
    25 	#pragma warning(disable: 4503) 
       
    26 #endif
       
    27 
       
    28 #include <cppunit/extensions/HelperMacros.h>
       
    29 
       
    30 #include "TestCase.h"
       
    31 #include "TestSuite.h"
       
    32 #include "TestCaller.h"
       
    33 
       
    34 
       
    35 class CTestMisc : public CPPUNIT_NS::TestFixture
       
    36 {
       
    37 	CPPUNIT_TEST_SUITE( CTestMisc );
       
    38 	CPPUNIT_TEST( TestForValidE32Input );
       
    39 	CPPUNIT_TEST( TestForVidDep );
       
    40 	CPPUNIT_TEST( TestForValidELFInput );
       
    41 	CPPUNIT_TEST( TestForValidExtnRomimage );
       
    42 	CPPUNIT_TEST( TestForEnableandSuppress );
       
    43 	CPPUNIT_TEST( TestForValidSid );
       
    44 	CPPUNIT_TEST_SUITE_END();
       
    45 
       
    46 protected:
       
    47 
       
    48 	void TestForValidE32Input();
       
    49 	void TestForVidDep();
       
    50 	void TestForValidELFInput();
       
    51 	void TestForValidExtnRomimage();
       
    52 	void TestForEnableandSuppress();
       
    53 	void TestForValidSid();
       
    54 };
       
    55 
       
    56 #endif